Skip to content

Instantly share code, notes, and snippets.

@jemekite
Created June 5, 2022 14:49
Show Gist options
  • Save jemekite/f7151be956d4db693739f977a84aae2b to your computer and use it in GitHub Desktop.
Save jemekite/f7151be956d4db693739f977a84aae2b to your computer and use it in GitHub Desktop.
Quickly Reset NTFS Permissions in Windows 10
To reset NTFS Permissions in Windows 10, do the following.
1. Open an elevated command prompt.
2. Run the following command to reset permissions for a file: icacls "full path to your file" /reset.
3. To reset permissions for a folder: icacls "full path to the folder" /reset.
4. To reset permissions for a folder, its files, and subfolders, run the command icacls "full path to the folder" /reset /t /c /l.
Substitute the example paths with the actual values matching your system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment