Visual Studio 2022, 2019 and 2017 and the previews receive security updates via Windows Update

Until now, you always had to make sure that the security updates that come monthly are installed in Visual Studio. From August 2024, these security updates for VS 2022, 2019 and 2017 in the stable version will come directly via Windows Update.

The prerequisite is that you have activated the “Updates for other Microsoft products” function in the advanced options. Anyone who is using the preview of Visual Studio 2022 will receive the update packages via Windows Update in June and July. As a test, before it goes into regular operation in August.

Anyone who has installed the preview will still have to make a change in the registry. This will be possible from August not no longer necessary.

HKLMSoftwarePoliciesMicrosoftVisualStudioSetupPreviewAutomaticUpdates

Here the value must be set to 1.

If you want to exclude automatic updates, then this value must be set under

HKLMSoftwarePoliciesMicrosoftVisualStudioSetupVSthroughMUUpdatesOptOut

be changed to 1.

All Visual Studio updates delivered through Microsoft Update during the preview period in June and July will be prefixed with “[Microsoft Update Preview]” in the title. See picture. “Visual Studio 2022 allows you to ‘roll back’ your last update, which should put you back into the updated state.”

“For Visual Studio updates delivered through the Microsoft Update channel, the same rules apply as for regular Visual Studio updates. First and foremost, Visual Studio must be closed for the update to be applied. Microsoft Update or Visual Studio will not allow Visual Studio to close never to apply the update.”