Share via


Visual Studio 2017 will not open. Running devenv.exe /resetsettings does not do anything

Question

Tuesday, January 29, 2019 9:48 PM

I was working with VS 2017 earlier today, then it closed.  When I tried to reopen I got the error:

"A problem occurred when loading the Microsoft Visual Studio menu.  To fix this problem, run 'devenv.exe /resetsettings' from the command prompt.  Note this command resets your environment settings.

I ran the command as the administrator and it does not work, any suggestions?

All replies (4)

Wednesday, January 30, 2019 5:58 AM âś…Answered | 1 vote

Hi Azryel242,

Thank you for posting in MSDN forum!

 

According to the error message, please check this similar issue and have a try with the following:

  1. Check the System Environment Variables and see if there have a string which was over 2048 characters or not, if it is exists, making sure this is below 2048 characters, it will solve the problem. Make sure you restart explorer.exe after changing the path variables and getting them under 2048 characters.
  2. Clean up all folders and files under the folder: %LocalAppData%\Microsoft\VisualStudio\15.0_xxx\ and restart the VS 2017 to check it again.
  3. Reboot the computer and open VS 2017
  4. Re-run the VS installer as administrator and More-Repair

Hope my answer would be helpful and looking forwards your reply.

Best Regards,

Sara

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Wednesday, January 30, 2019 3:28 AM

Hi Azryel242,

Have you re-installed Visual Studio 2017?

Regards,

Ashidacchi -- https://ssl01.rocketnet.jp/hokusosha.com/default.html


Thursday, January 31, 2019 3:59 PM

Thanks Sara, I re ran Installer and everything worked out.  Thanks again


Friday, February 1, 2019 1:59 AM

Hi Azryel,

Thank you for your confirmation and I'm so glad to hear that your issue is solved.

If you have any other issues in the future, please feel free to let us know :)

Best regards,

Sara

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]