Reset the entire registry permissions to defaults


I had some problems with my registery permissions a while ago, I couldn’t delete any thing any more, so I was looking for something that could reset my registery permissions to defaults. Here is the solution that worked for me

If you want to reset the entire registry permissions to defaults follow these steps

Note:- Before Doing any changes to registry plesae take a backup and start your changes

First you need to download SubInACL from here

SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.

Create a file with the name reset.cmd under C:\Program Files\Windows Resource Kits\Tools folder

Now you need to Edit the reset.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 your file

Now you need to open command prompt run the following command

cdcd “C:\Program Files\Windows Resource Kits\Tools”

after this press enter and enter the following command

reset.cmd

after entering this please press enter

fter a few minutes by processing subinacl, the permission will be reset

Incoming search terms:

Share

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

have same problem. cant install new program, im even thingking to reinstall my windows. I’ll try this out. thx

I have been searching for weeks for an answer to this question, I have tried every thing, even tried to reset entries manually myself in the registry to no avail. When I tried to set file associations I kept getting “Rinndll32 has stopped working” error when I tried to go tho the file to set to open a peticular file type, PPS and PPT tp be precise. This till I follwed these directions, IT WORKED first time. The file associations where reset and I could reassociate the extentions to the file I wanted. GREAT JOB to the author… I saved the instructions to recommend it on other websites… Thanks a million…

Thanks for posting this,

it helped me out a lot :)

Ty Ty TY .. I could sometimes repair the keys by reseting the permissions manually and sometimes that didnt even work. This seems to have solved the problem.

TY TY TY
XCrossWindsX

Thanks for posting solution
I have been searching for problem more then 10 day’s
Thanks…

You are a life saver and my newest hero!

Ok. every thing is going good, untill i have to put cd “C:\Program Files\Windows Resource Kits\Tools” in the command prompt. it says “The filename, directory name, or volume label syntax is incorrect.” Please help! thank you

“cdcd is not recognized as an internal or external command, operable program or batch file…”

HELP!!

Nevermind. The author made a typo I guess… supposed to be the command “cd”
Got it working now! Thanks for this article!

Okay, you’re my newest hero too. I had gotten my Vista registry so screwed up by manually editing permissions b/c of trouble installing things (like MS Office, go figure!) This took a while to run but worked like a charm! Marry me?

I am running windows 7 and this is my problem…
First I don’t know where to begin the editing and th eprogram will not open.

It says invalid argument!

Use:
subinacl/help to get the usage information
or
SubInAcl/help syntax to understand SubInAcl syntax

Can anyone help?

it worked fine on windows 7 :) thnx a lot
a side-note if your pc doesnt let you install the program, install it on another pc and just copy subinacl.exe, off course cd the directory that the exe is at.

I was trying to set up our local workgroup on the network and i guess accidently changed the permissions to make half the programs on my computer stop working. This will fix all the permissions for things like Office right?

blah, I thought this was going to work but even this program can’t reset some permission, I get over 1000 failed attempts. I wonder what else I can do?

“I am running windows 7 and this is my problem…
First I don’t know where to begin the editing and th eprogram will not open.

It says invalid argument!

Use:
subinacl/help to get the usage information
or
SubInAcl/help syntax to understand SubInAcl syntax

Can anyone help?”

Yes, you need a different command for 64 bit, which is probably your problem.
The file is located in the x86 folder on Vista and 7 64.

Use this instead:
“cd C:/Program Files (x86)/Windows Resource Kits/Tools”
Don’t type the quotes.

Well, once again I’m screwed. My registry is screwed up so badly that I cannot open any exe files, so that download will do me no good :(

If your unable to open exe files, means that your system is most likely infected by a virus/malware. You should boot in safe mode and launch a file association .bat fix.

Hi there, I’ve recently got a new PC with Windows 7 Home 64 on there, and I noticed it had an “Administrator” User on it initially. I made my own account under “Darren” and managed to change it to administrator. However, I first checked out permissions errors because I play online games, and sometimes I take screenshots in games. If I’m in-game and I take a screenshot it’d usually automatically save to the game folder, but it never. So I used Search in the start menu, broadened my search to C:/ and I’ve found the recent screenshots, or some of them. I’ve noticed they’re in a different folder and inaccessible (I cannot open these as the icon isn’t a Windows Preview logo, it’s like a globe, as if I have to access the internet to see this) and I cannot delete the file as it comes up some error “Error 0×80004002: No such interface supported” and then I read that this might be a permissions problem. I’ve downloaded this file SubinACL and it’s installed fine, but I go to this tools folder.. How do I make a new File? I can only make a new folder when I go to “Create New”. Most drawn out explanation ever, I’m sorry. I hope someone can help.. Sorry for seeming like a newbie!

I followed all the steps that you show up there with the exception of

Now you need to open command prompt run the following command
cdcd “C:\Program Files\Windows Resource Kits\Tools”
after this press enter and enter the following command
reset.cmd
after entering this please press enter
fter a few minutes by processing subinacl, the permission will be reset

using the microsoft instructions below to try to install sp3

I went back to windows updates but it seemed to hang up so restarted my puter. Came back to no sound, frozen icons, no windows installer, no system restore, no copy and paste between applications, no RPC Server Unavailable, no Internet Explorer, no Windows Media Player, no way to restart and services because I have access denied.

So my question is if I enter at the command prompt
cd “C:\Program Files\Windows Resource Kits\Tools”

(a step not shown in the microsoft reference)

and then enter reset.cmd

will my services be restored?

Or do it all over but include the step?

cd “C:\Program Files\Windows Resource Kits\Tools”

http://support.microsoft.com/kb/949377
I followed these instructions:

Download and then install the Subinacl.exe file. To do this, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

Start Notepad.

Copy and then paste the following text into Notepad.
cd /d “%ProgramFiles%\Windows Resource Kits\Tools”
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

Save this Notepad file as Reset.cmd.

Double-click the Reset.cmd file to run the script.

Thanks,
Vicki

how do you edit the “reset.cmd” file? because i’m not good at this please help me!!

yeah … n reset cmd cant open -.-”

wait … i dragged the “reset.cmd” file into the command prompt 0_0 “C:\Program Files\Windows Resource Kits\Tools” then i jus clicked n dragged … 0_0

In windows7 when i try to open “Set File Associations . . .” an error says “Internet has stopped working . . .” and i cannot open it.

We were dealing with a hand-me-down computer that wouldn’t save any changes or download anything all week. After the previous owner had ravishly deleted everything in sight in attempt to make it “clean” we had nothing to lose. After doing some research and guessing that resetting the registry might fix it, we followed these directions. It was a total success! The computer is now usable and ready to be filled. Thanks so much for this resource!

Big Thank You was having issues with no sound from internet pages and installing audio programs that needed to write to drivers32 in the registry, tried all the usual then tried this now happily working:)

i screwed up pretty badly, was going to change the default installation folder because I was running out of space on my main harddrive. Everything is fucket up and i cant launch any programs anymore because it says that it cant find the file :S
cant even open the regedit or install any programs anymore
any1 know what to do?
should i reinstall windows?

Yup fixed my problem!

I had fussed for days trying to get the installation to work.

I tried multiple installs after changing security settings for the c: drive, installing as administrator, restricted user, etc, etc, … Tried changing permission in the applicable registry entry that was objecting. Cheez, I was almost ready to reload xp and start again thinking that everything was so corrupted that I couldn’t recover.

Thanks so much.

this didnot reset all the permissions within the hive. I was hopeful, but it did not work. many of the keys, thoudands, refuded to be reset. This all started when my computer installed adobe acrobat reader x over adobe acrobat x professional. Now nothing will install or uninstall.

Sorry, But i have to say that it didn’t worked for me …

i have changes permissions for USBSTOR subkey in regedit in Windows 7 to deny for all users (even for administrators and power users) and now i have tried number of times and ur metod also but still the result is same.

When i m accessing the key it says “Error preventing this key from being opened.”
Details :Acces is denied.

Can any one please help me …….

Lot of thanks in advance……..

I get many failed modifications. I’m on the third run, and each time a get more successes. Maybe in some occasions, this fix has to be run numerous times?

Am running Win XP, SP3. In Explorer, every time I try to open .inf, .txt, .hlp, .log, .inf files I get an “access Denied” error message. These files have important info in them. Does anyone have a fix for this problem. THANKS

Vista 64 SP2 did not recognize the ‘reset.cmd or “Reset.cmd’ command.

thanks…
it works…

HOW DO I CREATE RESET.CMD IN TOOLS. I DID THIS WITH NOTEPAD AND IT DID NOT WORK. THIS IS HOW I LEARNED HOW TO DO THIS.

PLEASE ADVISE ME ON HOW TO RESOLVE THIS. SOMEONE HACKED INTO MY COMPUTER AND I NEED TO SET THE SECURITY PERMISSIONS BACK TO THEIR DEFAULTS. VISTA 64 BIT HOME PREMUIM

THANKS. PIA

I am trying to reset my registry for a Vista 64 bit so I tried the 64 bit Program File command prompt, but I don’t know how to “edit” the reset.cmd into the file because it says I need administrator permission even though I am the administrator. Help?

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)