Home windows Replace isn’t strictly restricted to Home windows 11 cumulative or function updates. Along with OS updates, Home windows Replace gives updates for drivers and Microsoft merchandise, similar to Workplace apps. With the August 2024 safety patch for Home windows 11 (and Home windows 10), Microsoft can even begin bundling safety updates for Visible Studio.
For these unaware, you possibly can go to Home windows Replace settings, choose “Superior choices,” and activate “Obtain updates for different Microsoft merchandise.” When the toggle is turned on, you’ll robotically obtain updates for Workplace merchandise. Beginning in August 2024, you’ll additionally get updates for Visible Studio safety patches.
This expertise is known as “Microsoft updates”. Microsoft has promised the combination will stay “opt-in”. In different phrases, so long as the toggle is turned off, you’ll not obtain updates for Visible Studio, however it additionally means Home windows Replace will cease delivering Workplace updates. The 2 merchandise at the moment are clubbed collectively as “updates for Microsoft merchandise”.
It’s good to know a couple of issues about integration. There are some legitimate considerations, and Microsoft isn’t actually addressing the suggestions appropriately.
At the start, when you use Visible Studio to obtain the updates immediately, you gained’t see them by way of Home windows Replace. Microsoft won’t attempt to power you to replace, however that’s solely if you’ve already up to date Visible Studio manually.
You’ll be able to nonetheless rollback your most up-to-date replace, however this feature exhibits solely when you’ve got Visible Studio 2022. Additionally, if you rollback to an older model and a more recent model is on the market, Home windows Replace will ask you to replace. You’ll see the identical safety replace once more if you examine for updates, and you possibly can be pressured to obtain the patch.
When you click on the “Set up” button on Home windows replace, you’ll be requested to shut Visible Studio. Microsoft tells me the corporate gained’t power shut Visible Studio whether or not or not you put in the safety updates by way of Home windows Replace.
The Visible Studio safety updates obtain silently by way of Home windows Replace within the background, and set up begins solely if you shut the app.
“We imagine that most individuals who management their very own machine and who MANUALLY decide into receiving updates for Microsoft merchandise certainly need updates for all Microsoft merchandise,” Microsoft famous in a suggestions publish first noticed by Home windows Newest.
The best way to disable Visible Studio updates on Home windows replace with out turning off “Obtain updates for different Microsoft merchandise” toggle
Microsoft is offering a registry key that decouples Visible Studio from Home windows Replace. If you wish to obtain updates for Workplace and different Microsoft merchandise however flip off Visible Studio updates, you possibly can observe these steps:
Open Home windows Registry Editor.
Navigate to HKLMSoftwarePoliciesMicrosoftVisualStudioSetup
Underneath Setup, create a brand new registry key worth, “VSthroughMUUpdatesOptOut”, and set its DWORD worth to “1”.
HKLMSoftwarePoliciesMicrosoftVisualStudioSetupVSthroughMUUpdatesOptOut (REG_DWORD) = 1.
This registry secret’s for many who don’t wish to obtain Visible Studio updates by way of Home windows Replace however proceed receiving updates for different merchandise by way of the “Obtain updates for different Microsoft merchandise” toggle.
When you don’t wish to obtain Visible Studio updates by way of Home windows Replace, be sure you apply the above adjustments as quickly as potential. The “Obtain updates for different Microsoft merchandise” toggle will start putting in Visible Studio updates in August 2024.
Some individuals are sad with Microsoft’s determination to bundle Visible Studio updates with different merchandise with out including a toggle inside Home windows Replace or Visible Studio.
Beforehand, Visible Studio updates have brought about issues. For a few years, these updates have damaged automated builds because of adjustments in instruments like MSBuild, MSTest, .NET SDK, or code analyzers.
What if a Home windows replace robotically installs a buggy and necessary Visible Studio replace throughout all PCs? It may very well be a catastrophe.
Till now, devs have examined Visible Studio updates on a couple of machines earlier than putting in them on all computer systems. Now, the devs want to ensure each machine has a particular registry key set, which can’t be executed via a easy script with out admin rights.
Whereas Home windows and Workplace updates hardly ever trigger such points, Visible Studio updates are totally different. As a result of Visible Studio contains many parts like .NET SDKs and Home windows SDKs, updates can simply disrupt work.
Regardless of these considerations, Microsoft goes forward with its plans.