Resetting Windows files and folder permissions
Open the command prompt with administrative rights, then run one of these:
# Reset permissions for a folder, its files and subfolders: > icacls "full path to the folder" /reset /t /c /l
# Reset permissions for a file or folder only (without subfolders) > icacls "full path to the folder" /reset