BoxStarter fails to login after a reboot due to legal notice waiting for user input
In my AD structure there is a Legal Notice at each logon. When Boxstarter is set to reboot, would it be possible to have Test-Reboot clear out "legalnotiecaption" and "legalnoticetext" from the path HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Policies\System if a reboot is needed? Group Policy reapplies the keys at each subsequent reboot.
I'm in the same boat.
To help me better understand this problem, does this registry setting prevent box starter from understanding IF a reboot is pending or does it prevent the reboot from actually happening? I THINK you are indicating the later but want to make sure. Does it cause the reboot to hang for some kind of user input? As long as the GPO replenishes the settings I think removing them should be fine.
From my experimentation, the reboot happens, but there it doesn't automatically login again.
I'm seeing this "legal notice" as well. Here is what's happening when I start a boxstarter script which needs a reboot:
- Boxstarter installs a package and detects that a reboot is necessary
- The computer reboots as expected
- The legal notice screen appears
- I have to manually press the "OK" button
- The login screen appears and Boxstarter can login without any user interaction
- Everything continues as usual