Requested Registry Access is not allowed Error<p align=left><font face=Arial size=2></font> </p> <p>When ever I try to create a new project, any project using VS2008 B2 running on Vista I get this error. &quot;Requested Registry Access is not allowed.&quot; Obvious registry thing bu t would rather not get into and mess with any hives - any suggestions would be great.</p> <div class=Header><span><font face=Verdana size=2><span class=DevDivLayout></span></font></span> </div> <div class=Header align=left><span><font face=Verdana size=2><span class=DevDivLayout>Steps to Reproduce</span></font></span></div> <div class=Body><span>Click File &gt; New Project then select any project type i.e. windows &gt; vb &gt; Windows Form Application<br>Choose any language or project type</span></div> <div class=data-item> <div class=Header><span><font face=Verdana size=2><span class=DevDivLayout></span></font></span> </div> <div class=Header align=left><span><font face=Verdana size=2><span class=DevDivLayout>Actual Results</span></font></span></div> <div class=Body><span>Get this error &quot;Requested Registry Access is not allowed&quot;</span></div></div> <div class=data-item> <div class=Header><span><font face=Verdana size=2><span class=DevDivLayout></span></font></span> </div> <div class=Header align=left><span><font face=Verdana size=2><span class=DevDivLayout>Expected Results</span></font></span></div> <div class=Body><span>I would expect VS2008 to create requested project type and let me start coding.</span></div></div> <p align=left> </p>© 2009 Microsoft Corporation. All rights reserved.Tue, 02 Dec 2008 16:55:30 Zac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5blund69http://social.msdn.microsoft.com/Profile/en-US/?user=blund69Requested Registry Access is not allowed Error<p align=left><font face=Arial size=2></font> </p> <p>When ever I try to create a new project, any project using VS2008 B2 running on Vista I get this error. &quot;Requested Registry Access is not allowed.&quot; Obvious registry thing bu t would rather not get into and mess with any hives - any suggestions would be great.</p> <div class=Header><span><font face=Verdana size=2><span class=DevDivLayout></span></font></span> </div> <div class=Header align=left><span><font face=Verdana size=2><span class=DevDivLayout>Steps to Reproduce</span></font></span></div> <div class=Body><span>Click File &gt; New Project then select any project type i.e. windows &gt; vb &gt; Windows Form Application<br>Choose any language or project type</span></div> <div class=data-item> <div class=Header><span><font face=Verdana size=2><span class=DevDivLayout></span></font></span> </div> <div class=Header align=left><span><font face=Verdana size=2><span class=DevDivLayout>Actual Results</span></font></span></div> <div class=Body><span>Get this error &quot;Requested Registry Access is not allowed&quot;</span></div></div> <div class=data-item> <div class=Header><span><font face=Verdana size=2><span class=DevDivLayout></span></font></span> </div> <div class=Header align=left><span><font face=Verdana size=2><span class=DevDivLayout>Expected Results</span></font></span></div> <div class=Body><span>I would expect VS2008 to create requested project type and let me start coding.</span></div></div> <p align=left> </p>Wed, 03 Oct 2007 21:36:10 Z2007-10-08T09:00:46Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#4910e702-7454-44b0-8c8f-69b85d2cc98bhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#4910e702-7454-44b0-8c8f-69b85d2cc98bNGPixelhttp://social.msdn.microsoft.com/Profile/en-US/?user=NGPixelRequested Registry Access is not allowed ErrorHad the same problem, it's a problem with the permissions in the registry. Basically, Administrator doesn't have access to the key required by VS. Solution:<br><br>!! CLOSE VISUAL STUDIO FIRST !!<br><br><b>Step 1:</b> Download subinacl.msi from the link<br><a class=contentlink href="http://go.microsoft.com/fwlink/?LinkId=23418">http://go.microsoft.com/fwlink/?LinkId=23418</a> and install it.<br><br><b>Step 2:</b> Browse to C:/Program Files/Windows Resource Kits/Tools/ and create a file called vs2008fix.txt<br><br><b>Step 3:</b> Open the file you created, and inside copy-paste:<br><br> <div></div> <div style="text-align:left"> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Block</span></div> <p>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f</p></div></div><br></div><b>Step 4:</b> Save the file and change the file extension to &quot;.cmd&quot;. Then Start &gt; Run. Type &quot;cmd&quot; (without the quotes) and type:<br><br>cd C:/Program Files/Windows Resource Kits/Tools<br><br><b>Step 5:</b> Press Enter. Then type:<br><br>vs2008fix.cmd<br><br><b>Step 6:</b> Wait until it completes, then start Visual Studio again. You should be able to create project/files of any type.<br><br>EnjoySun, 07 Oct 2007 01:58:56 Z2007-10-08T09:00:46Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#d4e0113b-1125-4640-81c7-5cf273a6ea28http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#d4e0113b-1125-4640-81c7-5cf273a6ea28vince2007http://social.msdn.microsoft.com/Profile/en-US/?user=vince2007Requested Registry Access is not allowed Errorwhen i got to do this CMD returns that<br><br><span><span id="_ctl0_MainContent__ctl0_PostForm_ReplyBody">subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f<br><br>none of these exist...   what do i do now?<br></span></span>Wed, 21 Nov 2007 09:38:00 Z2007-11-21T09:38:00Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#7e35fb2c-cc12-492f-9f30-8092a70343f9http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#7e35fb2c-cc12-492f-9f30-8092a70343f9vince2007http://social.msdn.microsoft.com/Profile/en-US/?user=vince2007Requested Registry Access is not allowed Errorwhen i got to do this CMD returns that<br><br><span><span id="_ctl0_MainContent__ctl0_PostForm_ReplyBody">subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f<br><br>none of these exist...   what do i do now?<br></span></span><font face=Arial size=2></font>Wed, 21 Nov 2007 09:39:19 Z2007-11-21T09:39:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#ab2ebb4f-14c2-40ce-a4a0-81c3e6f17b7bhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#ab2ebb4f-14c2-40ce-a4a0-81c3e6f17b7bAnonymous11338http://social.msdn.microsoft.com/Profile/en-US/?user=Anonymous11338Requested Registry Access is not allowed Errorsame issue for me of the files not existing..... <p align=left><font face=Arial size=2></font> </p>Sat, 24 Nov 2007 12:53:27 Z2007-11-24T12:53:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#4bc4f4b0-22dd-4b76-b384-e84525823fc5http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#4bc4f4b0-22dd-4b76-b384-e84525823fc5NGPixelhttp://social.msdn.microsoft.com/Profile/en-US/?user=NGPixelRequested Registry Access is not allowed ErrorThis code is for the BETA 2 ONLY and team/professional versions should work as well, it will not fix anything on Express editions.<br><br>Simply look in the HKEY_CLASSES_ROOT (in your registry) for a similar key depending on which program you are using. For example, Visual Basic Express 2008 would be:<br><br>HKEY_CLASSES_ROOT\VBExpress.vbproj.9.0<br><br>The issue is always on (SOFTWARE).vbproj.9.0 whatever the software is, so simply look for that key in your registry and replace in the code.<br>Sat, 24 Nov 2007 18:00:38 Z2007-11-24T18:00:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#0f23e74b-4cd2-4f7f-98c4-b58d099deb73http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#0f23e74b-4cd2-4f7f-98c4-b58d099deb73nntvhttp://social.msdn.microsoft.com/Profile/en-US/?user=nntvRequested Registry Access is not allowed ErrorThanks <span id="_ctl0_MainContent_PostFlatView"><b><span class=inlineLink>NGPixel </span></b><span class=inlineLink>for g</span>iving me the idea.THis code will probably solve all (or at least almost) the problems of windows (especially windows Vista) that relate to security issues.<br><br><br> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Block</span></div> <p><br></p><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f<br></span></span><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><span id="_ctl0_MainContent_PostFlatView">subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f</span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink><br style="font-weight:bold"></span></span></div></div></span> <div style="text-align:left"><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink><br></span></span></div><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink><br style="font-weight:bold"><span style="font-weight:bold">Create a text file in folder &quot;C:\Program Files\Windows Resource Kits\Tools&quot; and save as *.cmd extention (eg 'fixsecurity.cmd') and double click on the file to run. <br><br></span>Note: Make sure to close all the running program to ensure the result. It will take alot of time to finish runing the codes (about 2 hours or more) so take a nap while it runs. <br></span></span>Sun, 25 Nov 2007 10:17:05 Z2007-11-25T10:17:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#b0c66277-638d-44a2-9248-74cc1ad9457ahttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#b0c66277-638d-44a2-9248-74cc1ad9457aNGPixelhttp://social.msdn.microsoft.com/Profile/en-US/?user=NGPixelRequested Registry Access is not allowed ErrorI doubt this will fix any problem, it will create even more so <font style="color:rgb(128,0,0)" size=4><span style="font-weight:bold">USE WITH CAUTION</span></font>. I've already seen this solution on another website and the 10 next replies was that their Vista was completely messed up, from drivers not working anymore, programs crashing, many errors on startup, etc. Many of them had to reinstall Vista or restore a registry backup.<br><br>I suggest not using this code, even if that looks totally logical, its most likely to lead to many problems.<br>Sun, 25 Nov 2007 16:06:31 Z2007-11-25T16:06:31Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#d9ae73a8-02ae-4163-803f-c157e5ef51dahttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#d9ae73a8-02ae-4163-803f-c157e5ef51damegatron666http://social.msdn.microsoft.com/Profile/en-US/?user=megatron666Requested Registry Access is not allowed Error<p>I have the same problems as all above with the Visual Basic Express 2008. I used SpyMe Tools (<a title="http://www.lcibrossolutions.com/spymetools" href="http://www.lcibrossolutions.com/spymetools">http://www.lcibrossolutions.com/spymetools</a>) to monitor the registry. I truncated the list to a particular section when the &quot;Registry Error&quot; appears:</p> <p align=left> </p> <p align=left><br>1:03:35 AM vbexpress.exe: 1188 OpenKey HKCR\CLSID\{C964830F-91A0-11D0-B14C-0000F8041356}\InprocServer32 FAILED (2)<br>1:03:35 AM vbexpress.exe: 1188 OpenKey HKLM\Software\Microsoft\VBExpress\9.0\CLSID\{C964830F-91A0-11D0-B14C-0000F8041356} SUCCESS<br>1:03:35 AM vbexpress.exe: 1188 QueryValue HKLM\Software\Microsoft\VBExpress\9.0\CLSID\{C964830F-91A0-11D0-B14C-0000F8041356}\InprocServer32 SUCCESS<br>1:03:35 AM vbexpress.exe: 1188 CloseKey HKLM\Software\Microsoft\VBExpress\9.0\CLSID\{C964830F-91A0-11D0-B14C-0000F8041356}\ SUCCESS<br><strong>1:03:35 AM vbexpress.exe: 1188 OpenKey HKCR\.vbproj FAILED (5)</strong><br>1:03:35 AM vbexpress.exe: 1188 OpenKey HKLM\Software\Microsoft\VBExpress\9.0 SUCCESS<br>1:03:35 AM vbexpress.exe: 1188 OpenKey HKLM\Software\Microsoft\VBExpress\9.0\VsTemplate\Project SUCCESS<br>1:03:35 AM vbexpress.exe: 1188 QueryValue HKLM\Software\Microsoft\VBExpress\9.0\VsTemplate\Project\CacheFolder SUCCESS<br>1:03:35 AM vbexpress.exe: 1188 CloseKey HKLM\Software\Microsoft\VBExpress\9.0\VsTemplate\Project\ SUCCESS<br><br></p> <p>I highlighted in bold a open key querry that failed 5 times. This happens every time I try to open a new project. Two observations:</p> <p align=left> </p> <p align=left>1) Interesting enough, when I look for that entry in regedit, it does not exist.</p> <p align=left>2) When I proble within the registry near the values &quot;HKLM\Software\Microsoft\VBExpress&quot; I, as an administrator, do not have any access to view or modify the permissions</p>Thu, 07 Feb 2008 09:10:55 Z2008-02-07T09:10:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#56102449-3b2b-489e-9776-4c532d46db9ahttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#56102449-3b2b-489e-9776-4c532d46db9abiggestsonicfanhttp://social.msdn.microsoft.com/Profile/en-US/?user=biggestsonicfanRequested Registry Access is not allowed ErrorI've been having such major problems with trying to get VS 2005 working on vista, and I've used subinacl on all HKEY_CLASSES_ROOT\VisualStudio.* (where * is valid VisualStudio keys, as subinacl doesn't seem to work well with wildcards), but then I finally used subacl on all file extensions used by VisualStudio, including HKCR\.vbproj, and bravo! I now have a fully working Visual Studio! Thank you very much Megatron666!<br>I've been having such major problems with trying to get VS 2005 working on vista, and I've used subinacl on all HKEY_CLASSES_ROOT\VisualStudio.* (where * is valid VisualStudio keys, as subinacl doesn't seem to work well with wildcards), but then I finally used subacl on all file extensions used by VisualStudio, including HKCR\.vbproj, and bravo! I now have a fully working Visual Studio! Thank you very much Megatron666!<br><br>EDIT on 03/05/08: Well, I installed the C++ component to Visual Studio 2005, and all project creations fail. There is no &quot;Requested Registry Acess&quot; error. I kept fishing through the registry to find anything linked to VS2005, and I had no luck. I tried using SpyMe Tools, but Vista seems to crash hard when a program attempts to hook to specific parts of the system that are constantly reading and writing to the registry. Anyway, I decided to take my chances with the &quot;USE AT OWN RISK&quot; solution. I was shocked to my foundation when it worked! <span style="font-weight:bold">UNTIL I HAD TO REBOOT!</span> Sound was gone, network functions pretty much shot, Vista Sidebar Gadgets going haywire, services not having enough &quot;disk space&quot; on my 10+ gigs free hard drive, unable to run system restore, yadda yadda yadda.... Well, I did indeed figure that something drastic like this would happen, and it was a test only. Fortuinately, I used Resplendant Registrar to backup my entire registry, and restored the backup. Once I rebooted, everything was almost back to normal. I then used the system restore point I made just after creating the registry backup, and right before I did the insane registry permission changes. Everything seems to be 100% now. I still cannot use C++ now, but I will keep looking for a solution.<br><br>Visual Studio 2008 is not a solution, by the way. I recieved the &quot;Requested Registry Access is not allowed&quot; error along with project creation failed for Visual Basic projects, and just project creation failures with C++ projects. I just really don't want to use Borland's C++ compiler, because I was so used to the VS interface. Oh well. I'm sure I'll find some other nice IDE.<br><br>EDIT on 03/19/08: I found the culprit:<br><br> <div style="text-align:left"> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Snippet</span></div> <p>subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.VsWizardEngine.8.0 /grant=administrators=f /grant=users=f /grant=system=f</p></div></div><br></div>Doing that once fixed my C++ problem. Hope it helps other people out there!<br>Wed, 13 Feb 2008 02:44:38 Z2008-02-13T02:44:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#14f0ca0d-4265-4b47-acdc-b6c17b17071bhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#14f0ca0d-4265-4b47-acdc-b6c17b17071balsaidishttp://social.msdn.microsoft.com/Profile/en-US/?user=alsaidisRequested Registry Access is not allowed Error<p>Hello all. Itried the same approach biggestsonicfan did but it didn´t solve the problem. So I used &quot;Process Monitor&quot; to monitor registry access at the moment I got the error and the &quot;problem&quot; key was HKCR\VBExpress.vbproj.9.0</p> <p align=left> </p> <p align=left>Using this script solved my problem (after using it for all HKEY_CLASSES_ROOT\VisualStudio.* keys too, so it might be a combination of both)</p> <p align=left> </p> <p align=left>subinacl /subkeyreg HKEY_CLASSES_ROOT\VBExpress.vbproj.9.0 /grant=administrators=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VBExpress.vbproj.9.0 /grant=users=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VBExpress.vbproj.9.0 /grant=system=f</p> <p align=left> </p> <p align=left>Hope it helps. If it doesn't, you can use Process Monitor and look for &quot;ACCESS DENIED&quot; events from process &quot;vbexpress.exe&quot;</p>Thu, 20 Mar 2008 21:44:58 Z2008-03-20T21:44:58Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#73b5bb45-3f88-4e8c-a319-13845d8b5331http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#73b5bb45-3f88-4e8c-a319-13845d8b5331Sh4dhttp://social.msdn.microsoft.com/Profile/en-US/?user=Sh4dRequested Registry Access is not allowed ErrorThank you so much. That worked for me.<br><br>This probably works for visual studio:<br><br>ubinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=administrators=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=users=f<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=system=f<br>Tue, 22 Apr 2008 14:27:18 Z2008-04-22T14:27:18Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#e610aecb-0045-4b22-9f50-afc9b517d38fhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#e610aecb-0045-4b22-9f50-afc9b517d38fCalvin Tavarezhttp://social.msdn.microsoft.com/Profile/en-US/?user=Calvin%20TavarezRequested Registry Access is not allowed ErrorHelp! I use this code:<br><span id="_ctl0_MainContent_PostFlatView"><span><span id="_ctl0_MainContent_PostFlatView"><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f<br></span></span><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><span id="_ctl0_MainContent_PostFlatView">subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f<br>And my system is all messed up. I can't do a system recovery because I have many files that I need.<br><br>IS THERE ANY WAY TO RESTORE MY COMPUTER? I NEED HELP FAST AND QUICK. THAT CODE MESSED EVERYTHING UP &gt;<img height=19 alt=Sad src="http://forums.microsoft.com/MSDN/emoticons/emotion-6.gif" width=19><br></span></span></span></span>Sat, 24 May 2008 13:15:42 Z2008-05-24T13:15:42Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#94c9bd67-d252-4934-b20b-d242a3a2be1chttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#94c9bd67-d252-4934-b20b-d242a3a2be1cCalvin T_http://social.msdn.microsoft.com/Profile/en-US/?user=Calvin%20T_Requested Registry Access is not allowed ErrorHelp! I use this code:<br><span id="_ctl0_MainContent_PostFlatView"><span><span id="_ctl0_MainContent_PostFlatView"><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f</span></span><br><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink>subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f<br></span></span><span id="_ctl0_MainContent_PostFlatView"><span class=inlineLink></span></span><span id="_ctl0_MainContent_PostFlatView">subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f<br>And my system is all messed up. I can't do a system recovery because I have many files that I need.<br><br>IS THERE ANY WAY TO RESTORE MY COMPUTER? I NEED HELP FAST AND QUICK. THAT CODE MESSED EVERYTHING UP &gt;<img alt=Sad src="http://forums.microsoft.com/MSDN/emoticons/emotion-6.gif"><br><br>PLEASE CONTACT ME AT MEMOTTOLIVE@HOTMAIL.COM IF YOU CAN HELP FIX THIS WITHOUT DOING A SYSTEM RECOVERY!<br></span></span></span></span>Sat, 24 May 2008 13:17:44 Z2008-05-24T13:17:44Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#a2e9e9d9-e5ef-4b7c-a63d-59df20a38511http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#a2e9e9d9-e5ef-4b7c-a63d-59df20a38511IsraelPhttp://social.msdn.microsoft.com/Profile/en-US/?user=IsraelPRequested Registry Access is not allowed ErrorThere are alot of posts on this subject with many &quot;broad stroke&quot; fixes, but they all cause trouble because of their scope. I have narrowed it down to two registry keys(after several hours of trial and error). I used Acronis TrueImage Home 11's Try&amp;Decide Feature to quickly un-do changes to my system. I am using Visual C# Express Edition 2008, on Vista Business Edition x64. Full Visual Studio may be different.<br><br>Download and install &quot;<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&amp;displaylang=en">subinacl</a>&quot; from Microsoft.<br><br>Create a batch file with just the two lines below&quot;:<br>(You are granting full permissions to the &quot;administrators&quot;, and &quot;system&quot; groups and read-only permissions to the &quot;users&quot; group.)<br><br>Save the file as &quot;fix.bat&quot; in the install directory that &quot;subinacl&quot; software was installed in (C:\Program Files (x86)\Windows Resource Kits\Tools)**<br>**32-bit versions of windows will probably be located at (C:\Program Files\Windows Resource Kits\Tools).<br>------------------------------------------------------------------------------<br><br><br>subinacl /subkeyreg HKEY_CLASSES_ROOT\.csproj /grant=administrators=f /grant=system=f /grant=users=r<br>subinacl /subkeyreg HKEY_CLASSES_ROOT\VCSExpress.csproj.9.0 /grant=administrators=f /grant=system=f /grant=users=r <br><br><br>------------------------------------------------------------------------------<br>Both keys must have permissions set ... not just one.<br><br>Open a command prompt (with administrator rights), change the directory(cd) to where you saved the batch file (see above note).<br>Type in fix.bat<br>It will finish very quickly.<br>You should be able to create new VCS programs again.<br>I hope it helps you. I had been pulling my hair out with this one.<br><br>Israel<br> Wed, 08 Oct 2008 06:12:20 Z2008-10-08T06:12:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#d3ad9243-c3e3-4cc5-bab7-0bfa5f865ae1http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/ac9f8e26-88c2-48fa-bdb5-59e3b4c9b8a5#d3ad9243-c3e3-4cc5-bab7-0bfa5f865ae1Random Weirdohttp://social.msdn.microsoft.com/Profile/en-US/?user=Random%20WeirdoRequested Registry Access is not allowed Error<strong>YOU DO NOT HAVE TO DOWNLOAD ANYTHING</strong><br>I used regedit to and edited the owner and permissions on the reg key<br>It's probably something like:<br>HKEY_CLASSES_ROOT\VBExpress.vbproj.9.0    or<br>HKEY_CLASSES_ROOT\VCSExpress.csproj.9.0  or<br>HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0<br>or something similar depending on what program you've got.<br>Right click it and go to permissions. Go onto the security tab. Choose advanced and then go to the owner tab. Click edit then change the owner to yourself. Close the persmissions the reopen it. In the advanced dialog click edit then create full control permissions for system and the administrator as well as permissions for you as a user (read only or full it doesn't matter).<br>And that's it. It sorted the problem out for me and I've restarted my computer and everythings fine.<br>Hope it works for you.<br>This could vary with different operating systems (mine's vista home premium) and Reg editorsTue, 02 Dec 2008 16:55:28 Z2008-12-02T16:55:28Z