VS Enterprise 2022: How can I change installation path of Shared components, tools and SDKs?

Sznopek Ádám 21 Reputation points
2022-02-23T20:48:56.203+00:00

I want to setup my student licensed VS Enterprise 2022 and the Shared components, tools, and SDKs install path default is in drive D:. I can't change it, there are no opportunity for it.
The problem is, I don't have drive D: in my pc. If I start setup with this path, I immediately get an error to free space in drive D:.
Can anybody help, how can I install it?

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.
1,043 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 30,566 Reputation points Microsoft Vendor
    2022-02-24T02:50:26.31+00:00

    Hi @Sznopek Ádám ,

    Welcome to Microsoft Q&A forum.

    This document: Select installation locations mentioned:

    If you've installed Visual Studio on your computer before, you won’t be able to change the Shared components, tools, and SDKs path and it will appear greyed out.

    I guess you’ve installed Visual Studio on your computer before, to change the installation path of the Shared components, tools, and SDKs, you need to change the Registry, but I don’t recommend modifying Registry.

    If you really want to modify it, please backup it(registry) before you change the registry, and then navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup, right-click SharedInstallationPath > click Modify and enter the value data.

    Best Regards,
    Tianyu

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

1 additional answer

Sort by: Most helpful
  1. Sznopek Ádám 21 Reputation points
    2022-02-24T09:32:07.66+00:00

    Thank you very much for the help. It's working now.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.