Setting default logon Domain in a Task Sequence

When you deploy a Windows XP client with Configuration Manager OSD, and the user hits CTRL+ALT+DELETE, the user gets the usual logon screen, but with the target set to the machine name, and not the domain the computer is joined to. This is not the biggest problem on the planet, but why deal with it the problem could go away?

image

There are many workarounds to this issue, but I prefer using a “Post Configuration Task” in my Task Sequence. All you need to do is to configure two steps (Run Command Line) that will run the following commands:

reg add “HKLM\software\microsoft\windows nt\currentversion\winlogon” /v altdefaultdomainname /t REG_SZ  /d “DOMAINAME” /f

reg add “HKLM\software\microsoft\windows nt\currentversion\winlogon” /v defaultdomainname /t REG_SZ  /d “DOMAINAME” /f

“DOMAINNAME” in both lines must be replaced with actual domain name :-) . Both steps must be executed before the last restart in the Task Sequence.

Comments are closed.