boxstarter icon indicating copy to clipboard operation
boxstarter copied to clipboard

BoxStarter fails to login after a reboot due to legal notice waiting for user input

Open RichHopkins opened this issue 10 years ago • 4 comments

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.

RichHopkins avatar Feb 05 '15 20:02 RichHopkins

I'm in the same boat.

JustinCoded avatar Jan 20 '16 19:01 JustinCoded

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.

mwrock avatar Jan 26 '16 08:01 mwrock

From my experimentation, the reboot happens, but there it doesn't automatically login again.

JustinCoded avatar Feb 01 '16 15:02 JustinCoded

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

fwinkelbauer avatar Nov 23 '18 07:11 fwinkelbauer