I am having been having a lot of issues with Minecraft lately. I decided that I am going to delete the .minecraft folder and start over. After I finished backing up everything, I selected the .minecraft folder and pressed delete. Everything went well, until I got a Permission Denied error on one of the sub folders.


So why can’t the admin of the system delete the folder? Well somehow this subfolder had it’s ownership changed. It probably happened when moving plugins and worlds from one computer to another. This could happen to anyone, so I want to share how to fix it.

Part 1: Open Advanced Security Settings

  1. Right-click on the folder you want to delete. In my case .minecraft.
  2. Click on Properties, near the bottom of the Context Menu.
  3. Select the Security tab, at the top of the Properties window.
  4. Click the Advanced button, near the bottom of the Properties window.

Part 2: Change Ownership

  1. Near the top you will see Owner followed by a username. This might be you, it might be someone else.
  2. Next to Owner, click Change, a Select User or Group window will appear.
  3. In the text box at the bottom of the window type Administrator.
  4. Click Check Names, next to the text box. The text should now be underlined
    • If it doesn’t underline or you get an error message, you may have misspelled it.
  5. Click OK
  6. Under Owner you should now see a new check box “Replace owner on subcontainers and objects”. Check this box and click OK. Then click OK on the Properties window.

Part 3: Delete the folder

  1. You should now be able to delete the folder. Find it and press the Delete key on your keyboard.

That’s it! You now know how to delete a stubborn folder as an administrator.