question

ThomasBarber-1152 avatar image
0 Votes"
ThomasBarber-1152 asked DylanZhu-MSFT edited

Visual Studio 2019 - Disable Updates

I am not new to software packaging and deployment via SCCM. I have worked with previous versions of Visual Studio in our environment.

I am currently attempting to Install Visual Studio Team Explorer 2019 and would like to automate the disabling of Auto Updates, both the Extensions and Application updates via batch scripting and/or Powershell scripting. I am attempting to use the machinestae.json and state.json files and have apowershell script that will drop these files in place for every user on the computer, in the correct variablized folders. What I am seeing though is that the devenv.exe application is not recognizing that the auto update features are turned off for the new users that this file is placed under.

I am sure that this has to do with the privateregistry.bin file.

Is there any way to automate the disabling of Visual Studio without the user manually changing these settings? The users for this application will not all have Administrative rights to the application to update the application.

Thank you in advance

vs-setupvs-msbuildvs-extensionsvs-testing
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered DylanZhu-MSFT edited

Hi ThomasBarber,

You can try to modify ApplicationPrivateSettings.xml next to privateregistry.bin. And the privateregistry.bin will retrieve the configuration information from it before running visual studio.

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.