How to exclude SQL server updates from Windows Update

Jasim KP 111 Reputation points
2025-01-20T07:10:10.35+00:00

How can we stop Windows updates from automatically downloading and installing SQL Server updates? When I manually deployed a Windows update on my database server (EC2 instance, Windows Server 2019 Datacenter Edition), I discovered that several SQL server updates were also installed, which resulted in the restart of SQL services.

How can we prevent this from happening again?  I only want the OS patch to be installed when Windows is updated, not the SQL server updates.

SQL Server | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LiHongMSFT-4306 31,566 Reputation points
    2025-01-20T08:00:41.8566667+00:00

    Hi @Jasim KP

    I only want the OS patch to be installed when Windows is updated, not the SQL server updates.

    Go to Settings --> Windows Update --> Advanced options and turn off the option Receive updates for other Microsoft products.

    Best regards,

    Cosmog


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.