Icacls command to reset permissions
Reset permissions windows 11...
Subinacl
Set, View, Change, or Remove Special Permissions for Files and Folders in Windows XP
I found this in a few different places around the 'net - hopefully it's helpful:
Set, View, Change, or Remove Special Permissions for Files and Folders in Windows XP
In Windows XP, you can apply special access permissions to files or folders that are located on NTFS file system volumes.
Special access permissions are customizable sets of permissions. This article describes how to set, view, change, or remove special permissions for files and folders.
Permissions for Files and Folders
Folder permissions include Full Control, Modify, Read & Execute, List Folder Contents, Read, and Write.
Each of these permissions consist of a logical group of special permissions that are listed and defined in the following sections.
Note: This article assumes that you are using Windows XP on a domain. By default, simplified sharing is enabled in Windows XP if you are not connected to a domain, which means that the Security tab and advanced options for permissions are not available.
If you are not