This is a repost of a post from an old blog, made on November 22, 2012, that used to be on:
Friend of mine had problems with the permissions on the external hard drive, he was constantly getting the Consent UI asking him for Administrator access because of the file permissions on the drive.
Here is how you can reset the NTFS permissions on hard drive or a folder to a default Windows permissions.
- Click the Start button and in the Search bar type cmd
- Right click the cmd.exe you get as the result and click on Run as administrator
- In command prompt go to a drive or a folder you want to reset NTFS permissions using something like:
cd /d e:\foldername
- Reset NTFS with:
icacls * /T /Q /C /RESET
- You should be able to work with files now without the Consent UI popping out all the time.