Wednesday, March 31, 2010

[Shell Unattend] AutoLogon: failed to enable local account 'Administrator'

Looking in the c:\windows\panther\UnattendedGC\setupact.log, I get the above error. "[Shell Unattend] AutoLogon: failed to enable local account 'Administrator' ".  It doesn't seem to like the autologon in the AuditSystem pass. It reboots with an error similar to Windows being unable to process Shell-Unattend-Setup and Windows must reboot to continue.  Then it is a loop of error messages and rebooting.

Which I don't understand.  Off a fresh install, just using sysprep /generalize /audit without an Administrator password, my souped up Declone works.  But after running it once, it breaks forever.

Here's what I think is happening.  The various shades of autologon are using a cached password, or the original administrator password has been corrupted.

The solution is to deliberately set the administrator password to something known and put that in the unattend.xml file.

Thursday, March 4, 2010

Windows 7 is ugly

I thought Vista was ugly.  Windows 7 you shouldn't look at.  At least from a sysadmin's perspective.

1) Figure out how to install image using a combination the following code:

format C: /fs:ntfs /q /y

set /p User=Enter the Username:
net use R: \\labsrv1\images\current\Win7 /user:domain\%User% *
E:\imagex /apply R:\win7img.wim 1 c:\
bcdboot c:\windows /l en-us
wpeutil reboot

2) Install the WAIK, but it is not supported on XP for the technician machine.  Download the ISO and you must burn  to a DVD before installing.  Don't forget to have the source DVD handy otherwise you won't be creating anything.
 
I want to use the Vista unattend.xml file.  I wonder if it will let me...