Hello @Himanshu Shukla,
Welcome to Microsoft Q&A forum.
Do other applications run correctly on your machine except Visual Studio?
If the deleted temp files can be recovered, please recover them.
Please try to manually remove VS firstly. Remove following folders and Registry keys:
C:\Program Files (x86)\Microsoft Visual Studio
C:\Program Files\Microsoft Visual Studio
%programdata%\Microsoft\visualstudio\packages
%Temp%
(you can just rename this folder, instead of removing it. A reboot may be needed)
C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\Setup
After that, reboot your machine and download a new VS bootstrapper file then run it as administrator.
If manually removing Visual Studio doesn’t work, please reproduce this issue, download and run this collect.exe tool. Wait for several seconds, then navigate to %Temp%, find a file called vslogs.zip, extract files and open subfolder called Temp, check the files start with dd_installer
and dd_setup
. You can search for key word "error" and share us the detailed error code/message for further check.
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.