Suppress Company Policy on next boot /auto accept
Hi Guys,
During my Unnatended Scripted Deployment, I have a script that auto joins the domain, reboots and then continues the scripted deployment of certain applications that require the computer to be connected to the domain.
This is all working perfectly however it requires me to press Enter to accept the company network policy after it joins the domain and is rebooted, Auto Admin Login is Enabled.
I am aware computers can be manually dragged into a OU that is exclusive of the Company GPO that sets this policy However, for the sake of convenience how can I suppress this popup, or Auto Accept it upon reboot with a bat script?
Many thanks, and Kudos to everybody on itninja, without you my deployments would not be 100% automated (apart from this eula issue)
Answers (1)
Have a read of this:
http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm
You need to increase your count (:
"Each time the computer is restarted AutoAdminLogon kicks-in and the administrator is logged on automatically, furthermore, the AutoLogonCount value is decremented by one until the count reaches zero. Once its value reaches zero, the AutoLogonCount value in the Winlogon key is removed. "
Good luck!
Comments:
-
FYI AutoAdminLogon is set to 99, and I use a script to change this to 0 prior to a final reboot. - frasercarter 11 years ago