I have successfully installed
Visual Studio Express 2012 for Windows Desktop.
Whenever I try to create new C++ project it says:
... projet creation failed.
Whenever I try to create Visual Basic project message box says:
Visual Studio does not have permissions to read the template information from the system registry. This is often caused by registry permissions problems..
I already tried to
Repair, force uninstall with
wdexpress_full.exe /uninstall /force and install
KB2781514 with no good. What should I do?
Just before installing
VS2012 I have uninstalled
VS2013. Could this problem be cause by previously installed
I am running Windows 7.
I have removed
VS2012 and installed
VC2010. Same problem.
After digging the Internet almost for 2 days I have finally found the solution here (seems like it took only a half of an hour for that guy)).
- Locate to
- Right click -> Permissions -> Advanced -> Owner
- Select “Administrators” and click “OK”
- Do the same to all subfolders which is under
VsWizard.VsWizardEngine.11.0, if any (you might need to restart regedit to see them)
- Right Click
VsWizard.VsWizardEngine.11.0and click “Delete”
- Set permissions for
VsWizard.WizCombo.11.0folder and subfolders, and delete that one too
- Now you shouldn’t have any folder called
cmd.exewith administrative rights
- Navigate to your Microsoft Visual Studio IDE folder, by using the
cd C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDEor
cd C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE)
regsvr32.exe vswizard.dll(you should get a window telling that you’ve registered that dll file)
regedit.exeagain (if you haven’t), and locate to
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.VsWizardEngine.11.0. This should have been added again
- Right Click -> Permissions, you should see “Administrators” and “SYSTEM” or something, click them both and enable
- Do the same for subfolders (should’ve been done automatically), and do it for
VsWizard.WizCombo.11.0and subfolders, which should’ve been added again.
- Start Visual Studio, create a new project, and watch how it works!
I guess this sould work for
vs2013 too, but it’s my guess.
Also you can reset permissions for whole registry using
reset registry permissions tool if other errors appear (e.g. unalbe to add lib files to project, broken icons etc.).
The above didnt work for me as I kept being denied in regedit even though i was admin.
I found this on another site:
psexec -i -d -s c:\windows\regedit.exe
psexec is available from Microsoft here
This gave me full registry access. I tried to give admin owner to specific keys like above but VS 2012 express was still throwing that registry permission error. So I finally just added Administrator to the permission list of the entire HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ directory in regedit. Then gave admins full control.
This worked. I can now create a project without that infernal error!