First, run the cmd as an administrator. Then run these two commands.
takeown /r /f C:DirectoryToReset*
icacls C:DirectoryToReset* /T /Q /C /RESET
First, run the cmd as an administrator. Then run these two commands.
takeown /r /f C:DirectoryToReset*
icacls C:DirectoryToReset* /T /Q /C /RESET