Skip to content

Nightly Reboot using bat file

Featured Replies

Hello All, I have been trying to get a nightly reboot working using SCCM 2012. I have created a reboot bat file .hta that I schedule for run for certain OU's. The I create a package and deploy the package to run every night at 10:50pm, this works perfect for a night or two but then it starts running all the time, like every 5 minutes all day long. I have been trying to figure out why SCCM is firing this package off every 5 minutes even though the schedule is set to run @ 10:50pm once a night. Any advice or any ideas of how to use SCCM for a night reboot would be awesome. Thank you.

I would always do something like that together with Maintenance Windows, that way you don't have "real" problems if the task missed once and/ or wants to retry. Besides that I think that the old-school task scheduler, together with GPP, has better predictable behavior for something like this...

  • Author

Thank you Peter for the advice, I am going to go with GPP over SCCM for this.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.