Disable Windows Update on Windows Server 2012

Hello,

I have multiple servers that are all running a management software that handles patch management. I would like to run a script that via powershell that will disable the windows update service so that it and my patch management software are not always arguing on who gets to install which patch.

Any assistance would be appreciated.

Christopher
LVL 1
Christopher GayIT Operations ManagerAsked:
Who is Participating?
 
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
There is a script to do this in the Microsoft Gallery: https://gallery.technet.microsoft.com/scriptcenter/Configure-Windows-Updates-cd6c674a

Did you already discount the option of configuring this with Group Policy?
0
 
Christopher GayIT Operations ManagerAuthor Commented:
Rich,

No, actually I hadn't. I'm ashamed to admit that it didn't even occur to me. Thank you so much for your quick response.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Setting the start type can be done in PowerShell with running just Set-Service wuauserv -StartType Disabled.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.