Resetting Registry Permissions on Windows XP
by Brian on May.28, 2009, under Windows Info
First, you need to download SubInACL.
SubInACL is a command-line tool that allows administrators to obtain security information about files, registry keys, and services. It also allows you to transfer this information from user to user, from local or global group to group, and from domain to domain.
Next, create a file with the name regperms.cmd under C:Program FilesWindows Resource KitsTools folder
Now you need to Edit the regperms.cmd file and add the following lines
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
Save and exit the file
Now, you need to open a command prompt and run the following command:
cd “C:Program FilesWindows Resource KitsTools”
After this, press enter and then run this command:
regperms.cmd
After entering this, press enter. After a few minutes of processing by subinacl, the permissions will be reset. Reboot, and enjoy!