vinicastro Posted November 19, 2009 Share Posted November 19, 2009 Just finished my unnatended Server 2008 DVDs - 1 STD and 1 ENTEverything working fine, but I need to set Blank Administrator password in bove of DVDsHow to do this? Link to comment Share on other sites More sharing options...
MrJinje Posted November 19, 2009 Share Posted November 19, 2009 (edited) <AdministratorPassword><Value><Value/><PlainText>true</PlainText></AdministratorPassword>Drop this in your autounattend.xml during the OOBE system Shell Setup component. Inside the <UserAccounts> block. Edited November 20, 2009 by MrJinje Link to comment Share on other sites More sharing options...
Whtnxt Posted November 26, 2009 Share Posted November 26, 2009 If you are talking about Built in Administrator account then by default password is already blank. But if you are trying to set a blank password for a new account with administrator rights then leaving a blank field in autounattend.xml will show an error message and will cause the installation to fail.instead follow this worked for me....!---------------------------Step 1: Insert these Synchronous commands under Path 4 Specializenet user USERNAMETOINSTALL "" /addnet localgroup Administrators USERNAMETOINSTALL /addcmd /c net accounts /maxpwage:UNLIMITEDthese commands will create a new user with administrator rights with a blank password.do not leave double quotes they are used to enclose for password field in your case password is blank i.e. ""Step 2: Create Autologon for newly created account i'll tell you why xml from my system <AutoLogon> <Username>USERNAMETOINSTALL</Username> <LogonCount>1</LogonCount> <Enabled>true</Enabled> </AutoLogon>As you know to completely automate the OOBE one has supply a Username and Password in the Path 7 OOBE Systemso that window can make a new account depending upon the information provided.There is no way to bypass it AFAIK. and if you leave the field blank or simply remove it from pass 7 OOBe then Windows UI pops up during install and asks for a username and password.To avoid this a dummy user is created using XML with dummy password so that windows UI does'nt pop up. Windows will carry on the installation as instructed and create a dummy account. <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>dummy</Value> <PlainText>true</PlainText> </Password> <Name>Dummy</Name> </LocalAccount> </LocalAccounts> </UserAccounts>Off course You dont want a dummy account to show on your logon screen therefore autologon entries for your actual account are made and dummy account is deleted using First logon command lineStep 3: Insert this Synchronous command under Path 7 OOBE Systemcmd /c net user Dummy /deleteThis command will delete the account created by windows unattended setup leaving only your account with blank password----------------------------This is the actual process which i have tested without any error and is a success for me. If anyone know a better way to do it then please let me know Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now