Share via

help me please

Muhammad Khan Sial 0 Reputation points
2026-06-22T13:58:32.9466667+00:00

"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
  1. DaveM121 893.5K Reputation points Independent Advisor
    2026-06-23T06:44:29.3466667+00:00

    Just checking with you, how are you proceeding with this problem.

    Was this answer helpful?

    0 comments No comments

  2. DaveM121 893.5K Reputation points Independent Advisor
    2026-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-2271478464

    When that command completes, close Command Prompt and restart (not shut down) your PC to apply the changes.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.