Click here to Skip to main content
Click here to Skip to main content
Alternatives (2)

Tagged as

Requested registry access is denied

, 12 Oct 2012 CPOL
Hello,The application is written in vb.net. When debugging the code, the section which causes an issue is as follows:Dim RegKey As RegistryKeyRegKey = Registry.LocalMachine.OpenSubKey(Path, True)When the above statement is executed the exception 'Requested registry access is...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

12 Oct 2012
CPallini
Since Vista OS an application needs elevated privileges to access 'Local Machine' subtree. See additional info at Stack Overflow[^].
9 Nov 2012
Member1978
This package was written a few years ago in order to implant a few details in registry. I appreciate that Microsoft promote individual to use ‘Settings’ or create some kind of XML file to save any details which your package need. As a result my approach is as such now days.However, in order...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Member1978
Software Developer
United Kingdom United Kingdom
No Biography provided

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.150301.1 | Last Updated 12 Oct 2012
Article Copyright 2012 by Member1978
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid