Microsoft KB Archive/158484

= INFO: How to Set the Administrator Password During Unattended Setup =

Article ID: 158484

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q158484





SUMMARY
When you run an unattended setup of Windows NT 4.0, you can specify the machine administrator password or leave it blank. The password is ordinarily set during GUI mode and is controlled by the following key:

with 0 meaning no and 1 meaning yes. This article describes how to set this password automatically for each computer you install.



MORE INFORMATION
To set the local administrator's password, complete the following steps in your I386 share point:  Create a $oem$ folder in you I386 folder.  Use Edit to create a Cmdlines.txt file with the following contents:

[commands] ".\net user administrator "  Place a copy of the Net.exe file in the $oem$ folder. In your Unattend.txt file, make sure the Oempreinstall value is set to Yes. Run an unattended setup for Windows NT 4.0.</ol>

Additional query words: 4.00 change password automate unattend.txt unattend

Keywords: kbfaq kbinfo kbsetup KB158484

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.