I cannot get Visual Studio 2022 to Update on most of my Workstations

MEII 41 Reputation points
2024-02-23T16:43:11.44+00:00

I have a number of VS installations split between Professional and just Team Explorer depending on workstation role. I've successfully kept them updated through the Visual Studio Installer for a little while and recently reconfigured our environment to allow users to update the application themselves following guidance here: https://learn.microsoft.com/en-us/visualstudio/install/configure-policies-for-enterprise-deployments?view=vs-2022

I was able to determine that setting this reg key via GPO was successful. This GPO set a single key, "AllowStandardUserControl" to 1, allowing regular users to kick off updates when they close out of VS.

Interestingly, it appears to have caused an issue on all but one specific machine. My very first test machine - an agile seat usually unoccupied - was able to have a regular user log in and successfully update the Team Explorer instance on it. However, every single other workstation in my environment was no longer able to update, indicating a failure of either "Sorry, something went wrong" or "Sorry something went wrong unable to download the channel manifest from https://aka.ms/vs/18/release/channel".  What's more, this also prevented my administrator account from updating as well.

At first we thought this might have been connectivity related there is no evidence to support that - indeed the next day the one working machine was able to get a new 7.9.1 patch while the others remained failing. Further, someone online suggested that the VS Installer was outdated, but updating it manually on a failed machine got us nowhere.

When I rolled back the GPO and deleted the key, I was able to update as an Administrator again (and naturally users were blocked from doing so). In this case it appears that setting "AllowStandardUserControl" is not having the desired effect. Does anyone have experience setting this up, and has anyone encountered issues such as these either way?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,649 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,767 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,622 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.
970 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
    2024-02-26T07:42:40.7233333+00:00

    Hi @MEII

    Welcome to Microsoft Q&A! 

    I suspect the registry key set via GPO is not fully applicable to all workstations. And check for any conflicting policies or settings that might override the “AllowStandardUserControl” key. 

    You can try to manually add the registry value to the client machine. Or try using Microsoft Intune settings catalog to configure group policies.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    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