Page 1 of 1

No automatic login

PostPosted: 15.07.2013, 13:28
by lionking
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

Re: No automatic login

PostPosted: 15.07.2013, 17:21
by jimmy
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.

Re: No automatic login

PostPosted: 19.07.2013, 06:42
by jimmy
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.

Re: No automatic login

PostPosted: 19.07.2013, 13:07
by lionking
If this really works, maybe the reg add should be added to the scripts.

Re: No automatic login

PostPosted: 19.07.2013, 21:53
by WSUSUpdateAdmin
Hi!

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

Thanks & regards
Torsten Wittrock

Re: No automatic login

PostPosted: 22.07.2013, 06:47
by lionking
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. ;)