snippetsqlMinor
How do I prevent my Windows Server from being automatically rebooted by SQL Server updates?
Viewed 0 times
preventrebootedsqlautomaticallybeingwindowshowserverfromupdates
Problem
Some SQL Server updates have happened outside the maintenance window, which have caused the server to be rebooted. How can I stop this from happening again in future?
Below is what I can see when looking at the Windows Update Settings:
Below is what I can see when looking at the Windows Update Settings:
Solution
To prevent SQL Server updates to be installed automatically, you need to:
Important: choose "Manual", NOT "DownloadOnly", because even with "DownloadOnly" setting, some Windows Updates that Microsoft considers very important, may be still installed and machine will be rebooted (I've experienced it myself)
This way you have total control over when and how to install Windows and SQL Server updates
- open up PowerShell window (Command prompt will also work)
- type "sconfig.cmd" and run it
- press 5 to select "Windows Update Settings"
- set it to "M" which is "Manual"
Important: choose "Manual", NOT "DownloadOnly", because even with "DownloadOnly" setting, some Windows Updates that Microsoft considers very important, may be still installed and machine will be rebooted (I've experienced it myself)
This way you have total control over when and how to install Windows and SQL Server updates
Context
StackExchange Database Administrators Q#273846, answer score: 6
Revisions (0)
No revisions yet.