I've found the registry method to work better if you don't have a default 
domain and you put the domain into the user name (either as below or using the 
UPN)

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"DefaultUserName"="mydomain\domain account"
-"DefaultDomainName"
"DefaultPassword"="MyPassword"


From: [email protected] [mailto:[email protected]] On 
Behalf Of Denzik, Josh
Sent: Thursday, September 18, 2014 9:02 PM
To: [email protected]
Subject: [MDT-OSD] AutoLogon With Domain Account in Task Sequence for Windows 7 
SP1 x64

All,

I am having some trouble getting my machines to autologon with Windows 7 SP1 
x64.


1st Method:

The AutoLogon 3.01 Utility(Sysinternals Tool) is copied to a folder and 
referenced via command line to set the parameters in the task sequence: cmd.exe 
/c c:\windows\autologon\autologon.exe user domain password

Result: It comes up to the logon screen and never tries to logon. The  
AutoAdminLogon is set to 0. (This method works on x86 flawlessly.)



2nd Method

I import this RegKey Via Command Line in the Task sequence: cmd.exe /c REG 
IMPORT AutoLogonx64.reg See Below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"DefaultUserName"="domain account"
"DefaultDomainName"="mydomain"
"DefaultPassword"="MyPassword"



Result: Again comes up to the logon screen and does not automatically login. 
Once again the AutoAdminLogon is set to 0.  If I log into windows and set 
AutoAdminLogon and then reboot the machine it automatically logs in. It appears 
that something is not getting set correctly in the registry. Is this because of 
it being x64 or is SCCM setting something and overriding my task?  Does anyone 
have any suggestions to accomplish this? It must be done with a domain account.

Thanks in Advance:

Josh Denzik
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.

Bain Capital, LLC
Boston, MA  USA
+1 (617) 516 2000

Reply via email to