We have a requirement where we need a script to reboot the machine and check the status after reboot and report the status back to sccm.
script/app/package that can be created to reboot the device and check back in? We want something that is a complete standalone package/app

We are having SCCM 2012 in the environment.

P.s: We tried to reboot thru sccm client but thinclients are not rebooting.

1 Comment   [ - ] Hide Comment


  • From SCCM you could deploy an application with a deployment type of script installer to perform some tasks and return a hard reboot return code (1641) to SCCM - if the detection method is not satisfied the script will be re-ran so you could add logic in there to pick up where it left off using a marker perhaps?

    But no-one likes to use hard reboots for obvious reasons and is an SCCM application the best option?

    We'd require more details to make an informed decision....
Please log in to comment

Answer this question or Comment on this question for clarity


What? Huh? Can you please explain in more detail.

The reboot I understand, the rest I dont. SCCM is not designed to report back to SCCM "live", it polls at intervals. The only way to get it to run as (I think) you would like is to write a script.

Ie, get the script to...
Create a Scheduled Task to run to report back to SCCM/whatever on reboot through SCCM or other means, remove task (itself) after run. FYI, you can call WMI commands to trigger SCCM actions.
Then trigger the reboot after the above.

Thincients, is your maintenance window stopping the reboot?
Answered 08/25/2016 by: rileyz
Red Belt

Please log in to comment