How can I send the command to force a Group Policy Update followed by a reboot (gpupdate /force /sync boot) to multiple computers? As a Script with the command in a batch file it is successfully sent but doesn't happen.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Try this:

http://www.specopssoft.com/web/specops-gpupdate.aspx
Answered 02/19/2010 by: bbrian
Yellow Belt

Please log in to comment
0
Use a KScript. You may want to break up the gpupdate and the reboot into two separate commands.
Answered 02/19/2010 by: airwolf
Tenth Degree Black Belt

Please log in to comment
0
This is the Kscript which gets sent but the computer never reboots:

Launch “SYS\gpupdate.exe” with params “/force /sync /boot”.

I would prefer to get it working in KBOX rather trying to convince others to install a third party software on our active directory server.
Answered 02/19/2010 by: RichB
Third Degree Green Belt

Please log in to comment
0
I suppose another command to Reboot would be a script like this, right?

Launch “SYS\shutdown.exe” with params “/r”.

I'm a Mac tech learning the PC side of things. On a Mac it is "shutdown -r now"
Answered 02/19/2010 by: RichB
Third Degree Green Belt

Please log in to comment
0
You'd probably want to use "SYS\shutdown.exe" with params "-r -f -t 00" which will force a reboot with a 0s timeout.
Answered 02/22/2010 by: airwolf
Tenth Degree Black Belt

Please log in to comment
0
We never recommend a 0 second timeout on the shutdown command. 90 seconds is what we recommend. This is because the kbox needs time to tell the server that it finished the task. otherwise the task will not register as complete and the kbox might tell the PC to do it again.
Answered 02/23/2010 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
Good to know!
Answered 02/23/2010 by: airwolf
Tenth Degree Black Belt

Please log in to comment
0
It seems the answer to my original problem was that when the gpupdate is sent by KBOX as System there's not an Active Directory User Profile to be updated. The gpupdate command assumes user and computer policies. The error message is about a file not found. The command can be tailored to updating computer policies only and now this Kscript works great:
%WINDIR%\System32\gpupdate.exe /force /target:computer /sync /boot
Answered 02/23/2010 by: RichB
Third Degree Green Belt

Please log in to comment
0
Somewhat related, in 5.1 you can run scripts in a "run as" type of way. You can register here:
[link]https://kace.webex.com/mw0305l/mywebex/default.do?siteurl=kace&service=7[/link]
Answered 02/23/2010 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity