Just checking with you, how are you proceeding with this problem.
help me please
"I accidentally added a 'Deny All' permissions rule to my C: drive on Windows. I need help resetting my drive permissions back to default."
Windows for home | Windows 10 | Files, folders, and storage
2 answers
Sort by: Most helpful
-
DaveM121 893.5K Reputation points Independent Advisor2026-06-23T06:44:29.3466667+00:00 -
DaveM121 893.5K Reputation points Independent Advisor2026-06-22T14:34:02.7333333+00:00 Please follow these steps carefully, this should restore all defaults permissions on the C drive.
Click your Start button, then just type cmd and on the resulting list, right click Command Prompt and select 'Run as Administrator'.
Run these commands one at a time and press Enter after each command.
icacls c:\ /grant *S-1-5-32-544:(OI)(CI)(F)icacls c:\ /grant *S-1-5-18:(OI)(CI)(F)icacls c:\ /grant *S-1-5-32-545:(OI)(CI)(RX)icacls c:\ /grant *S-1-5-11:(OI)(CI)(IO)(M)icacls c:\ /grant *S-1-5-11:(AD)icacls c:\ /setowner *S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464When that command completes, close Command Prompt and restart (not shut down) your PC to apply the changes.