Take Ownership in Registry

This is a neat little trick, if you have a registry key you can't take ownership of or delete.


Downoload 'PsTools'
Unpack file *psexec.exe* and place it in *C:\Windows\System32*


next run *cmd.exe* with administrative previlliges (right click on it
as admin if you use UAC) and in *cmd.exe* type:


PSEXEC -S -I -D REGEDIT.EXE
-this command allow you run *regedit.exe* from a SYSTEM account (not
from your account) so remember if you want remove any key the owner of
this key should be SYSTEM now and full control for him for this key
also.
(see PsTools describe)

No comments:

Post a Comment