Windows File Permissions

Take ownership of the files. Start a Command Prompt (cmd) as an administrator, and enter:

takeown /f file
takeown /f directory /r

 

Give yourself full rights on the file:

cacls file /G username:F
cacls directory /T /G username:F
Advertisements