I am trying to get computers to autologon to an account set via a computer startup script in group policy.
The script sets the AutoAdminLogon registry entries set below:
The script runs correctly and sets the registry entries for autologon, however, windows must be reading the autologon info from the registry before the script runs as it only takes effect next reboot.
I have enabled "Always wait for the network at computer startup and logon" in the group policy as well as enabling "Run logon scripts synchronously" and disabling "Run startup scripts asynchronously" (which I think is disabled by default anyways)
The only thing I can think of is to check the registry entries before setting them and reboot if needed.
Was just hoping for a better way without rebooting.