chocolatey / boxstarter

Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages
https://boxstarter.org/
Apache License 2.0
1.31k stars 162 forks source link

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

Open RichHopkins opened 9 years ago

RichHopkins commented 9 years ago

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.

JustinCoded commented 8 years ago

I'm in the same boat.

mwrock commented 8 years ago

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.

JustinCoded commented 8 years ago

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

fwinkelbauer commented 5 years ago

I'm seeing this "legal notice" as well. Here is what's happening when I start a boxstarter script which needs a reboot: