Visual Studio 2019 - Disable Updates

Thomas Barber 1 Reputation point
2021-04-01T17:48:38.847+00:00

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

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
328 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
963 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2021-04-02T04:47:29.09+00:00

    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.**

    0 comments No comments