New
#1
Sysprep answerfile - creates account but I have to hack password reset
Hi
I have created a sysprep Windows 10 image after seeing the great Kari Finn sysprepping tutorial guide.
I have encountered a problem and have clearly made a mistake.
The part of the answer file covering the account creation is this:
The issues is, When I login after sysprepping, capturing and restoring the image, I am unable to login as there is a password I must give it which I have not set. So I am forced to reset the admin account password via hacks so as to be able to login.Code:<OOBE> <HideEULAPage>true</HideEULAPage> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <ProtectYourPC>1</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <DisplayName>co-admin</DisplayName> <Group>Administrators</Group> <Name>co-admin</Name> </LocalAccount> </LocalAccounts> </UserAccounts>
I am assuming that my handling of the answerfile password and login is incorrect. I can think of 2 solutions, the first one would be to have it autologon without a password on first boot, allowing me to set the admin account password afterwards. The second one would be to go through the OOBE. I think that the first idea might be better but I am not 100% certain.
Any help would be much appreciated!
Thanks
John