Share via


devenv.exe /InstallVSTemplates not install propertly

Question

Monday, November 5, 2012 9:52 AM

devenv.exe /InstallVSTemplates in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDElocation but is not install properly/..// error is"the opertaion could not be completed.The requested operations requires elevation"plz rectify the error..

All replies (2)

Thursday, November 8, 2012 8:54 AM âś…Answered

Hi,

This is the right steps if you want to use that command:

1) Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 11.0\Common7\IDE);
2) Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
3) Open Visual Studio Command Prompt (2010)/ VS2012 x64 Cross Tools Command Prompt under Start menu -> All Programs -> Microsoft Visual Studio 2012 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
4) Run the devenv /InstallVSTemplates switch;
5) Run the devenv /Setup switch

BTW, why did you use the command? What do you want to do to Visual Studio? Could you please use psr.exe http://technet.microsoft.com/en-us/magazine/dd464813.aspx to record your steps so that your purpose is aware to me.

Regards,

Barry Wang [MSFT]
MSDN Community Support | Feedback to us


Monday, November 16, 2015 1:28 PM | 1 vote

Got the same problem and did everything of the above. It did not produce the desired result.