visual studio trying to download something into an unexisting drive

Ayaz Aliyev 0 Reputation points
2023-09-26T16:11:19.23+00:00

Can't install VS because the installer keeps trying to install shared components, tools, and SDKs into a drive "D".I do not have such a drive and I can't change it as the button is grayed out.Screenshot (60)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,114 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zhengye Xu-MSFT 95 Reputation points Microsoft Vendor
    2023-09-27T02:13:41.7+00:00

    Hello Ayaz Aliyev,

    Welcome to Microsoft Q&A forum.

    Please follow the steps below to change this path:

    1. Use the win+R keys and type "regedit" to open the registry.
    2. Navigate to the following: Computer / HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Visual Studio / Setup
    3. Double click the file "SharedInstallationPath" and change the value in there.

    User's image

    User's image

    It is important to note that editing the registry is a matter of care, and I recommend that you make a backup before editing the registry in case you make some mistakes while editing.


    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 person found this answer helpful.

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.