Microsoft KB Archive/153197

{|
 * width="100%"|

Changing Default Administrator Password During Unattended Setup

 * }

Q153197

-

The information in this article applies to:


 * Microsoft Windows NT Advanced Server, version 3.1
 * Microsoft Windows NT Workstation versions 3.1, 3.5, 3.51
 * Microsoft Windows NT Server versions 3.1, 3.5, 3.51

-

The default password for the Administrator account created during Unattended Setup is "" (blank). Changing the default password requires modification of a Windows NT Setup file, Initial.inf.

 To make the necessary modifications, copy the I386 directory from the Windows NT compact disc to a hard disk drive.

WARNING: Modification of Setup files can cause serious, system-wide problems before and after Setup and may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the modification of Setup files can be solved. Make Setup file modifications at your own risk. Copy i386\System32\Initial.inf to Initial.bak.  Modify i386\System32\Initial.inf: ;;; Setting the below variable to YES forces NTFS Conversion ifstr(i) $(STF_GUI_UNATTENDED) == YES set !STF_ADMIN_PASSWORD = "" else shell "" DoAdminAccountSetup ifstr(i) $($R0) == STATUS_SUCCESSFUL set !STF_ADMIN_PASSWORD = $($R1) else set !STF_ADMIN_PASSWORD = "" endif endif

NOTE: Replace  with your desired password.  Save Initial.inf and close the file. Run Unattended Setup.

Additional query words: prodnt unattend admin user

Keywords : kbsetup

Issue type : kbhowto

Technology : kbWinNTsearch kbWinNTWsearch kbWinNT351xsearch kbWinNT350xsearch kbWinNTW350 kbWinNTW350xsearch kbWinNTW351xsearch kbWinNTW351 kbWinNTW310 kbWinNTSsearch kbWinNTS351 kbWinNTS350 kbWinNTS310 kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS351xsearch kbWinNTS350xsearch kbWinNTS310xsearch kbWinNT310xSearch kbWinNTW310Search