Forum Discussion

Poyrmont's avatar
Poyrmont
Bronze Contributor
Nov 01, 2024

How to Grant Administrator Permission to Delete a Folder on Windows 11

Hello, I'm Dave and I'm here to assist you.

 

Could you please share more information about the issue you are facing?

 

1. Can you specify the name and precise location of the folder you wish to delete?

 

2. Are you using a user account with full administrator privileges on the computer?

5 Replies

  • Laraib's avatar
    Laraib
    Copper Contributor

    Hi Dave, thanks for your help on this.

    Here’s a clear and practical way to handle this issue on Windows 11 when a folder won’t delete due to permission restrictions:

    If you’re trying to delete a folder and getting an “administrator permission required” message, even while using an admin account, it usually means the folder is owned by another system account (like TrustedInstaller) or has restricted permissions.

    Steps to fix it:

    1. Take Ownership of the Folder
      • Right-click the folder → Properties
      • Go to the Security tab → click Advanced
      • Next to Owner, click Change
      • Type your username → click Check Names → OK
      • Tick “Replace owner on subcontainers and objects”
      • Click Apply and OK
    2. Grant Full Control Permissions
      • Go back to Properties → Security → Edit
      • Select your user account
      • Check Full Control
      • Click Apply → OK
    3. Try Deleting Again
      • After ownership and permissions are updated, delete the folder normally

    Alternative (Command Prompt Method)

    If the GUI method doesn’t work:

    1. Open Command Prompt as Administrator
    2. Run these commands:

    takeown /f "C:\Path\To\Folder" /r /d y icacls "C:\Path\To\Folder" /grant administrators:F /t rmdir /s /q "C:\Path\To\Folder"

    extra things to check:

    • Make sure the folder isn’t currently in use by another program
    • Restart your PC and try again
    • Boot into Safe Mode if the issue persists

    I ran into a similar situation recently while organizing some files linked to ahttps://sassastatuscheck.s3.eu-north-1.amazonaws.com/sassa+status.html, and the folder permissions were locked down in a similar way — taking ownership resolved it right away.

    Hope this helps! Let me know if you’re still stuck 👍

  • Cody-Hutson's avatar
    Cody-Hutson
    Iron Contributor

    That WindowsApps folder is a highly protected folder to ensure all the Microsoft Store apps and games are malware free. 

  • nsure You Have Administrator Privileges

    • First, confirm that you are logged in as an administrator on the system. You can do this by checking your account type:
      1. Open Settings (press Win + I).
      2. Go to Accounts > Your Info.
      3. If it says "Administrator" under your name, you're good to go. If not, you need to elevate your account to an administrator.

    2. Take Ownership of the Folder

    If you're unable to delete the folder due to permission issues, you may need to take ownership of it.

    1. Right-click the folder you want to delete and select Properties.
    2. Go to the Security tab.
    3. Click on the Advanced button.
    4. In the "Advanced Security Settings" window, you'll see the Owner listed at the top.
    5. To change the owner, click on the Change link next to the Owner field.
    6. In the "Select User or Group" window, type Administrators and click OK.
    7. Check the box that says Replace owner on subcontainers and objects to take ownership of everything inside the folder as well.
    8. Click OK to apply the changes.

    3. Grant Full Permissions to the Folder

    After taking ownership, you need to ensure your account has full control over the folder:

    1. Go back to the Security tab in the folder's Properties.
    2. Click Edit to change permissions.
    3. Select your user account from the list or click Add to add your account.
    4. Check the Allow box next to Full Control.
    5. Click OK to apply the changes.

    4. Delete the Folder

    Once you've taken ownership and granted full control, you should be able to delete the folder:

    1. Right-click the folder and select Delete or press Shift + Delete to permanently remove it.
    2. If prompted, confirm that you want to delete the folder.
    • lynndbecker3's avatar
      lynndbecker3
      Copper Contributor

      Why do the instructions for solving windows 11 questions never match my screen, nor do they work? 

      • PANCHOOOOO's avatar
        PANCHOOOOO
        Copper Contributor

        yeah.... I've been having this issue extremely frequently and windows 11 seems to be filled to the rim with such problems. Did you ever manage to solve this one?