[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Best way to install MS Updates

I want to schedule MS updates on a server for after hours and have it auto reboot.  What is the best way to accomplish this?  I would like to be notified if it doesn't come back online as well for obvious reasons.
2 Solutions
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
Well best way is it setup a GPO with WSUS.   To be notified if it does not you will need some type of montioring system like SCOM 2007 R2
Have the updates to download & install at 10PM. Then put the following code in a batch file & at the .bat file to a scheduled task at midnight.

@echo off
c:\windows\system32\shutdown /r /t 5 /c "Restart"

This code will reboot your server.

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now