visual studio community cannot be installed

destup09 0 Reputation points
2023-01-19T22:30:06.01+00:00

Hi i cannot install visual studio community. I downloaded installer clicked it and nothing happened. So i searched for visual studio and it's somehow installed. Now when i want to open it error pops out and tells me to run devenv.exe /resetsettings. So I did open cmd as administrator and wrote the command. This popped out:

'devenv.exe' is not recognized as an internal or external command,

operable program or batch file.

Im lost. Now that im looking again Visual studio community is again installed and when im trying to uninstall it error pops out stating: System Windows cannot find a file (file directory) - something along this line as it's in my native language. This thing is a fking Schrodinger cat, it both is and isnt istalled...

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-01-20T02:52:26.2866667+00:00

    Hi @destup09, 

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? 

    If you want to run devenv.exe /resetsettings command in CMD, you need to first cd to the devenv.exe path.

    If you are using VS2022, please open CMD and go to C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE, then, run the command: devenv.exe /resetsettings.

    Or you can directly open Developer Command Prompt for VS 2022 and run the command: devenv.exe /resetsettings

    Besides, can you tell me how you uninstall the VS? You can uninstall VS from the Visual Studio Installer. 

    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

  2. destup09 0 Reputation points
    2023-01-20T11:09:55.1133333+00:00

    Im having exact problems as person in link, it's .NET framework fault and not visual studio, but still after running repair tool it's not working.

    [https://developercommunity.visualstudio.com/t/vs-community-installer-not-running-working/326811

    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.