Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Visual Studio extension automatic updates in an unattended mode?

I can disable automatic extension update for a particular extension via the Extensions and Updates manager in Visual Studio. But what should I do when I want to disable automatic updates for extension FOO on all computers of my team in an unattended mode?

I want an option to use AD GPO or modify Windows Registry to make a specific Visual Studio extension stop receiving automatic updates. Is this even possible now?

like image 666
bahrep Avatar asked Oct 24 '18 12:10

bahrep


People also ask

Does Visual Studio automatically update?

Do you mean that Visual Studio automatically download updates in the background? We can control whether to download updates or not through the Tools > Options Environment > Product Updates by changing the settings 'Automatically download updates'.

How do you manage extensions in Visual Studio 2019?

To open the Manage Extensions dialog, choose Extensions > Manage Extensions. Or, type Extensions in the search box and choose Manage Extensions. The pane on the left categorizes extensions by those that are installed, those available on Visual Studio Marketplace (Online), and those that have updates available.


1 Answers

I stop VS from checking updates altogether.

For VS2019:

vsregedit.exe set "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" HKCU ExtensionManager AutomaticallyCheckForUpdates2Override dword 0

For VS2017:

vsregedit.exe set "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise" HKCU ExtensionManager AutomaticallyCheckForUpdates2Override dword 0
like image 109
NeoBeum Avatar answered Oct 23 '22 03:10

NeoBeum