Visual C# Express 2010 requested registry access is not allowed
-
Friday, September 03, 2010 7:22 PM
When I try to create a new project in VC# 2010, I get an error message that says " Requested registry access is not allowed". After searching through Google and MSDN, I found this link
http://www.texttoolkit.com/index.php?option=com_content&view=article&id=74:visual-studio-requested-registry-access-is-not-allowed&catid=35:technology&Itemid=55
explaining how to fix the problem. My issue is that I do not have the registry key described in this article. I am starting C# for a class in school, and I desperately need a working copy of the IDE. Any help is greatly appreciated. Thanks in advance.
-RB525
All Replies
-
Friday, September 10, 2010 10:52 AMModerator
Hi RB525,
Welcome to MSDN forums!
"explaining how to fix the problem. My issue is that I do not have the registry key described in this article"
-> In that Fix article, it's Visual Studio 2008 scenario, the corresponding registry key is HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0.

However, you are using Visual Studio 2010 in your scenario, the corresponding registry key you find should be HKEY_CLASSES_ROOT\VisualStudio.csproj.10.0. Then please follow detailed fix steps inside to add user permission to the registry key.
After the fix, you should be able to create new C# project in Visual Studio 2010.
Best regards,
Martin Xie
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Proposed As Answer by Martin_XieModerator Wednesday, September 15, 2010 1:19 AM
- Marked As Answer by Mike Dos ZhangMicrosoft Contingent Staff, Moderator Wednesday, September 15, 2010 2:01 AM
-
Friday, September 10, 2010 10:53 AMModerator
Additionally, the following are good tutorial, walkthrough, code samples about C# programming for you to check.
"How Do I?” Videos for Visual C#
http://msdn.microsoft.com/en-us/vcsharp/bb798022.aspx
How Do I in Visual C#
http://msdn.microsoft.com/en-us/library/ms186211(VS.90).aspx
.NET Framework (How Do I in C#)
Windows Applications (How Do I in C#)
Web Pages and Web Services (How Do I in C#)
Designing Classes (How Do I in C#)
Office Programming (How Do I in C#)
Smart Devices (How Do I in C#)
Many code samples for you to download.
101 Visual Basic and C# Code SamplesVisual C# General FAQ
Visual C# Express FAQ
Windows Forms General FAQ
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/28f84724-af3e-4fa1-bd86-b0d1499eaefa
http://www.syncfusion.com/FAQ/WindowsForms/Default.aspx
Download Visual C# 2010 Express Edition (It's free)
http://www.microsoft.com/express/download/
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. -
Wednesday, February 23, 2011 10:30 PM
Hi,
Using Sysinternal Process Monitor filtering on VBExpress.exe, VCExpress.exe and VCSExpress.exe (VB, C++, C#) and filtering for 'ACCESS DENIED' changing the permissions on the following keys resolved this for me.
Give ownership to Administrators then everyone full contol on permissions.
For VS2010 C++ Express
HKCR\VCExpress.Launcher.vcproj.10.0
HKCR\VsWizard.VsWizardEngine.10.0\
HKCR\VsWizard.VsWizardEngine.10.0\CLSID
For VS2010 VB Express
HKCR\VBExpress.Launcher.vbproj.10.0
For VS2010 C#
HKCR\VCSExpress.Launcher.csproj.10.0
Hope this helps someone. At the very least you can download Sysinternals process monitor and resolve yourselves!
Ray Watson
-
Saturday, June 25, 2011 8:43 PM
Yes Ray,
Great work, I too faced issue with Visual Web Dev 2010 and was not able to find any helpful, then tried *Express*!
It worked, but others shall try with *VWDExpress* to make sure they point only to required keys
Place below in a .cmd or .bat and run as Admin, And yes do get subinacl utility first.
<User_ID> =its ur user id
"C:\Program files\Windows Resource Kits\Tools\subinacl.exe" /keyreg HKEY_CLASSES_ROOT\*VWDExpress* /setowner=<UserID>
"C:\Program files\Windows Resource Kits\Tools\subinacl.exe" /keyreg HKEY_CLASSES_ROOT\*VWDExpress* /grant=<UserID>=F
Cheers from India
-
Saturday, August 27, 2011 11:44 PM
After a lot of trouble with this problem and having no success with any other solution I would like to explain a full-proof solution:
1.) Download Proccess Monitor
http://technet.microsoft.com/en-us/sysinternals/bb896645
2.) Open it and then try to create a Project in VS that generates the "Required Registry access is not allowed" message.
3.) Filter the messages where "Result" = "Access Denied"
4.) Find the one that is related to Visual Studio in my case : "HKCR\VCSExpress.Launcher.csproj.10.0"
5.) Navigate Regedit.exe to this Key and grant either permission to everyone or to your self.
I have seen this issue with various version of VS and this always allows me to to determine which Registry key is causing the problem.
- Proposed As Answer by MatijaZGB Tuesday, November 29, 2011 11:00 AM
-
Friday, February 17, 2012 4:28 AM
This was driving me nuts - tried so many other fixes - none worked
THIS IS THE FIX!!
THANKS
-
Saturday, April 28, 2012 8:25 PM
I have installed Visual Studio 10.0 Professional today using a ‘normal’users account (suspect this might be the root of the issues)
Okay, this info is great – it allows me to see the fact that it is HKCR\VisualStudio.Launcher.vbproj.10.0 is one of the MANY Visual Studio files which is causing problems with Access denied.
I am now trying to edit the registry keys associated with Visual Studio, however:
When I attempt to edit the permissions within regedit, I am presented with:
VisualStudio.Launcher.vbproj.10.0 cannot be opened. An error is preventing this key from being opened. Details:
Accessis Denied. It confounds me that as Administrator, I cannot grant permissions to (one of the ) registry keys that is causing the issue.I am inclined to do a full uninstall then reinstall as Administrator to see if it addresses the problem......
Lightswitch User - If you found this post helpful please 'Vote as helpful'
-
Tuesday, October 02, 2012 4:13 PMHi...http://www.youtube.com/watch?v=vi9bL_gFRmg. Take a look at this video. It solves the issue that you have with Visio Studio 2010 if u still havent have. The font is a bit small but still viewable. I guarantee it helps since it worked for me...:D.
- Edited by NeelisAwesome Tuesday, October 02, 2012 4:14 PM

