When create new project in VS2008 on Vista
A [Requested Registry Access Not Allowed] Error message was shown
This message was shown due to some ACL problem on the registry keys VS2008 requires
To fix the problem
- Download SubInAcl.exe from Microsoft Download site here
- Install SubInAcl, it will be placed in C:\program files\windows resource kit\tools by default.
- Create a batch file with the following commands
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=system=f - Save and execute the batch file.
沒有留言:
張貼留言