Windows Permissions Reset
To recursively reset permissions on a folder, use the following two commands:
icacls c:\foldername /reset /t /c
takeown /F c:\foldername
To recursively reset permissions on a folder, use the following two commands:
icacls c:\foldername /reset /t /c
takeown /F c:\foldername