Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey guys,

i am having trouble by becoming owner of a key in the registry. Maually it works fine but I have to change the owner by code. My tool I need it for is written in C# but if it is necessary I will use another language. The key I deal with is :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{5c4f28b5-f869-4e84-8e60-f11db97c5cc7}


If there are some solutions please let me know.
Thanks alot and exuse my English.
Posted
Updated 22-Jan-14 22:00pm
v2
Comments
Richard MacCutchan 23-Jan-14 5:16am    
What do you mean by "owner of the key"? These values are set by windows at installation time and you should not change them, unless you are happy to reinstall the whole operating system.
sörldrk1992 23-Jan-14 6:22am    
Here is how I become owner of the key manually.
http://www.askvg.com/guide-how-to-take-ownership-permission-of-a-registry-key-in-windows/
I need this to add a button to the Windows File Explorer to start my tool then.
Richard MacCutchan 23-Jan-14 6:28am    
Sorry but I do not know how you would do that programmatically. I suggest you ask at the website where you found the information.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900