How to bring back folder privileges, that I revoked in registry with regedit?

-1

I revoked read and write privileges for my user (but not for admin) in my registry for a folder. I tried to open the folder and it said, that I don't have these priveleges. Ерут I opened regedit.exe as admin user -- and to no avail. Now I cannot get access to this folder them back. What do I do?

soshial

Posted 2014-11-22T21:45:49.747

Reputation: 105

Welcome to SuperUser. Can you please edit your question to tell us what you've tried on your own to solve this problem? – I say Reinstate Monica – 2014-11-22T21:54:20.097

thank you, @Twisty, i tried to elaborate my question. is it better now? – soshial – 2014-11-22T21:59:16.520

When you say folder are you referring to a registry key or an actual file folder within the file system? Have you tried taking ownership of the registry key if that's what you are referring to? – I say Reinstate Monica – 2014-11-23T02:06:02.440

Answers

0

While running regedit as an administrator browse to the key you can not open. Right click it, Permissions. Click advanced. Click 'Change' next to owner. Search your username or administrators and click check name, or click advanced and find a correct user or group. Click ok. Then click apply in the advanced security settings screen. Now that you have taken over the ownership of the key you should be able to modify the permissions.

user254948

Posted 2014-11-22T21:45:49.747

Reputation: 171

this is exactly what i described i did: i opened regedit with admin rights (via right-click menu) and tried to edit folder preferences, but tells me that I still have no rights – soshial – 2014-11-23T15:58:14.067

Make sure you claim ownership first, here is a guide with images. if that still does not work, you could try repeating it while running regedit with under the SYSTEM account. You can either use this tool in order to do so or use psexec (command line (running as admin)= psexec-i -s regedit.exe)

– user254948 – 2014-11-23T16:13:58.333

I was finally able to do that only after I rebooted. Thank you. – soshial – 2014-12-08T21:09:10.863