Win 7x86 autologin
I have set a post install task to add auto login. The script works until the pc is turned off. Once the pc is turned off and turned back on the pc halts at the login screen.
here is my script;
@echo off
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d password /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /d login id /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /f
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v HideFastUserSwitching /t REG_DWORD /d 1 /f
after a complete a shutdown and manual login the script in the registry is no longer there.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
EdT
9 years ago
Always a good idea to use google....
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_27871955.html
Essentially you are not setting AutoLogonCount although as that thread will show, there are other unknown factors in the mix. I have not looked further as I suspect you will want to do this yourself.
Comments:
-
@Ed, the 'Comments' are only available to Premium EE users or those who have answered a number of questions on EE. - anonymous_9363 9 years ago
-
@Ian - I haven't the faintest clue what you are referring to.... - EdT 9 years ago