Trying to move or XP unattended install moved over to the K2000. Have just about everything ready except my auto login.

It will not run from RunOnce or RunOnceEx nor from a batch file called from RunOnce or RunOnceEx. It does look like the settings are there, but the computer does not auto login to the domain.

The following will work when I manually run it and reboot.

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d domain\installer /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d xxxxxxxx /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /t REG_SZ /d domain /f


What am I doing wrong??

Does my DefaultDomainName need to be domain.local?I think I have tried that and it did not make a difference.