No automatic login

No automatic login

Postby lionking » 15.07.2013, 13:28

Until now i alsways used the option for automatic reboot.
The user for WSUSOffline is not logged in automatically any more after the reboot.
The user itself is registered. I tested with different Windows 7 systems, always the same.
Anybody else with this problem?

Windows 7 x64
WSUSOffline 8.4
lionking
 

Re: No automatic login

Postby jimmy » 15.07.2013, 17:21

I have the same problem on Windows 7. I managed to work around it by editing the registry to set a couple of missing values. First I popped out my update DVD just after I run the update program which has the effect of stopping the first reboot because it can't find the CD. Then there is time to edit the registry.

Under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" the DefaultPassword key is missing so I added that value. Since I don't know the WOUTempAdmin password I also have to set the password for that account to the same value. I also had to set AutoAdminLogon to 1. Make sure DefaultUserName is set to WOUTempAdmin. Then go to the DeviceManager/Local Users and Groups/Users and right clicked on the WOUTempAdmin account and set the password to the same value. Then I put the CD back in and the process continued through several reboots successfully.

Hopefully there is an easier way to make this work, but I couldn't figure it out either.
jimmy
 

Re: No automatic login

Postby jimmy » 19.07.2013, 06:42

I found a somewhat simpler solution that also works. Since the UpdateInstaller.exe uses Autologon.exe from Sysinternals to perform the auto logon, I searched for problems with Autologon.exe. I found one reference where the poster set the AutoLogonChecked key default value under Winlogon to 1. Normally it's default value is not set. (HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLogonChecked). After setting this key Autologon.exe started to work by itself. Prior to setting this key Autologon.exe did not work at all.

Once the system reboots if you check the registry again you will see that AutoLogonChecked is back to being not set again, but that doesn't seem to matter. Autologon still works. It appears as if AutoLogonChecked must be set to 1 at least once to perform some sort of initialization ( just guessing here ).

So to make this work with the UpdateInstaller.exe I simply ran regedit before running the UpdateInstaller, and set AutoLogonChecked default value to 1, and then made sure that AutoAdminLogon under Winlogon was set to 1 and I deleted the AutoLogonCount key if it was present under Winlogon. This is a bit simpler and better because you don't have to mess around with the WOUTempAdmin password.

Just for reference I am installing Windows 7 x86 from the original DVD without SP1 on the DVD.

Hope this helps.
jimmy
 

Re: No automatic login

Postby lionking » 19.07.2013, 13:07

If this really works, maybe the reg add should be added to the scripts.
lionking
 

Re: No automatic login

Postby WSUSUpdateAdmin » 19.07.2013, 21:53

Hi!

Do you mean that WOU should set this (undocumented) "AutoLogonChecked" value?

Thanks & regards
Torsten Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: No automatic login

Postby lionking » 22.07.2013, 06:47

Hello!

Depends, how many user have this issue.
I dont know why the automatic login no longer works for me.
If there is a better way to solve the problem, its OK too. ;)
lionking
 


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 11 guests