Howto: Reapply default NTFS permissions
I recently installed some software on my PC (Windows XP sp 3) and part of the installation process required changes to NTFS disk permissions. The installer somehow got confused (it was actually a bug in the installer) and it managed to foul up all the permissions on my disk. I mean all of them, disk-wide. I couldn’t even open my control panels. After hours of research (using another computer) I finally found this article at MS Technet.
The final command line I issued was this:
secedit /configure /CFG "%windir%\Security\Templates\Setup security.inf" /areas FILESTORE /DB "%windir%\Security\Templates\sec-filestore.sdb" /verbose