Shop Mobile More Submit  Join Login


Submitted on
October 11, 2010
File Size
216 KB


26,373 (3 today)
35 (who?)
6,604 (1 today)
ACL repair utility for Vista,7 by asilaydyingdl ACL repair utility for Vista,7 by asilaydyingdl

Access Control List Repair Utility for Vista/7 by asilaydyingdl

The screenshot provided is not a screenshot of the utility, since the utility is just command scripts.

NOT TESTED ON WINDOWS 8! I will NOT be able to provide Win8 support, I am not the original creator of the script (see description for credits)!

If anyone out there wants to turn these scripts into an application with its own pretty UI, please do it! Just credit myself and those listed below for their work.

Commands were provided by Gary Bouchard and Giorgio Gamberini @
the Windows Developer Center. The original forum is available

What are Access Control Lists?

An access control list (ACL), with respect to a computer file system,
is a list of permissions attached to an object. An ACL specifies
which users or system processes are granted access to objects, as
well as what operations are allowed on given objects. Each entry in a
typical ACL specifies a subject and an operation. For instance, if a
file has an ACL that contains (Alice, delete), this would give Alice
permission to delete the file. (Definition from:…

Sometimes, your ACLs can become corrupted for one reason or another.
Since these are tied into your registry on Windows based systems,
system instability and crashes may result. Important services may
fail to launch as well at startup. One particular service is the
Windows Event Log, which is responsible for maintaining records of all
activity on your PC in the event of an error. These logs are
accessible through the Event Viewer, which can be opened through the
search dialog on your start menu. Not having access to these logs
may make it difficult and more time consuming to correct problems with
your PC.

To run this repair utility, please follow these instructions.

1. Create a system restore point.

To do this, open your start menu and search for "Create a Restore Point."
Open it up and select "Create..." Give your Restore Point a name and your
PC will do the rest.

2. Install the subinacl.msi.

Double click on the subinacl.msi file provided with the download. If
it does not work for some reason, you can find the download from the
Microsoft Website here:…

3. Run the "reset.cmd."

Right click on the "reset.cmd" file and Run it as Administrator. This
Operation can take anywhere from several minutes to half an hour or more,
depending on the speed of your system. Some operations may fail. This
normal. The majority will succeed.

**Note:  If you are using 64 bit windows, edit the file using notepad and change the line:

cd /d "%ProgramFiles%Windows Resource KitsTools"


cd /d "%ProgramFiles(x86)%Windows Resource KitsTools"

Save and run again.  If you are using a non-English version of windows, you also need to change "administrators" and "system" to your system locality's translation.  For example, if you are using a Portuguese version of windows, you need to change "administrators" and "system" to "Administradores" and "Sistema".  Once you changed these words to match your system's locality, save and run again.

Thanks to UrsoBR for the tip!**

4. Run the "command.cmd."

Run the "command.cmd" as the administrator (right click and run as
administrator). This operation will take a matter of seconds.

5. Restart your computer. If everything is working as normal, then
creat another restore point.

Done! Your ACLs are reset.

Add a Comment:
FFXLuc Featured By Owner Jul 20, 2014
So what if you can't even log into the computer to run this setup? My computer won't even get past the splash screen? Am I able to do this via USB?
Narufan90 Featured By Owner Nov 25, 2013  Hobbyist General Artist
That only works if the problem isn't with the downloads... I am unable to download ANYTHING.  Damn zeroaccess rootkit got me, got rid of that, but the system is now messed up -_-
UrsoBR Featured By Owner Sep 12, 2013
I found two problems with "reset.cmd"

At first, it did not run (it displayed the message that "subinacl was not a recognized command"), but I found that it was because my Windows 7 installation is 64-bit; so, on step 1, subinacl is installed under "C:\Program Files (x86)". I solved that problem editing "reset.cmd" with Notepad and replacing the line:

cd /d "%ProgramFiles%\Windows Resource Kits\Tools"


cd /d "%ProgramFiles(x86)%\Windows Resource Kits\Tools"

The problem was solved, but then I got another problem: all commands in "reset.cmd" sent the message "Security identification structure invalid." They also said there was a syntax error.

Analyzing the command file again, I found the reason: I am from Brazil, so I use a Brazilian Portuguese-language version of Windows. So, I had to replace the words "administrators" and "system" by their Portuguese translations: "Administradores" and "Sistema". Then the routine ran normally and successfully as intended through the end.

So, attention users of 64-bit Windows or non-English editions: you will have to edit the "reset.cmd" file as explained above. (The system variables %ProgramFiles% and %ProgramFiles(x86)% are language-independent and must not be changed, regardless of the system's interface language; only the user group names should be translated.)

Dustin, I suggest you add these tips to the README file.
asilaydyingdl Featured By Owner Oct 30, 2013
I added the information to the description above and credited you for it.  Thanks!
him-beere Featured By Owner May 13, 2012
i'm writing you the whole story, in case it has anything to do with the outcome. If not, just jump to "the problem..."

i changed access controls manually before, because i got annoyed from windows telling me that i dont have the access rights to access my own folders. i followed some web-helb-forum-site-thing. now i can access nearly all folders, only the various links dont work anymore. "access denied" is bothering me just as much as the situation before. plus, many of my icons are gone and have been replaced by the same windows standard link icon. this is even more annoying. after i tried all the tips I found on the web (delete icon database, set max icon cache etc.) and having found they dont work, i would like to restore the original access controls, hoping that this is the root of the problem.

The problem:
I followed the steps described above, but found (3) is not working.
The next moment after I run the reset.cmd it says: "the command "subinacl" is either spelled wrong or could not be found" several times, also for "system drive" and "windows directory". (roughly translated from german...)

Is there somehow a manual way to do, what reset.cmd does?!

system information:
win 7 home premium, SP1
i5, 4GB RAM, 64bit

*hoping for help*
thanks a lot... -himbeere
asilaydyingdl Featured By Owner May 13, 2012
Also, if you really want to restore your originals, you just reset the ones you've changed manually. That will at least get some. The only other way some may have been changed was through malicious software or malware infections.
asilaydyingdl Featured By Owner May 13, 2012
On some systems, this just does not work. I've experienced a similar problem myself on one PC I've worked on. I don't know why, I haven't really dug into it because the PC it failed on it was not critical, it was a "just in case" thing, so I didn't worry about it. Sorry.
him-beere Featured By Owner May 15, 2012
hey, thanx for your quick reply.
well, not knowing what I was doing [really stupid, I know] I just changed the whole C:drives access control, I took over ownership of the whole c: drive. I am guessing that thats the problem. Because I started afresh, whole new system and most definitely no malware got on it...

I replaced the most frequently used icons manually just as you suggested, e.g. Word. Only: all my doc-files (an all the other corresponding files) don't show the word-icon anymore as well... I guess I'll have to find out some other way - or just live with it.

thanks anyways for your help!
adp60 Featured By Owner Sep 26, 2011
I would have missed if not for a screenshot
Importantly - quickly and conveniently
Thank you for your instructions!
Add a Comment: