You need administrator permission to delete this folder [EASY GUIDE]

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Loading Comments
Download PDF
Affiliate Disclosure

solve You need administrator permission to delete this folder error on Windows 10

How do I get administrator permission to delete a file?

  1. Take ownership of the folder
  2. Disable User Account Control
  3. Activate the built-in Administrator account
  4. Use SFC
  5. Use Safe Mode
  6. Use third party software

The error ‘You’ll need to provide administrator permission to delete this folder’ in Windows 10 appears mostly due to the newest security and privacy features of the Windows operating system.

Some actions require users to provide administrator permission to delete, copy or even rename files or change settings. Such permission prevents unauthorised users but also external sources like scripts from accessing system data.

Many Windows users have reported that they have seen this error. So do not worry, in this article you will find some valuable solutions to solve your problem.

Steps to get administrator permission to delete folders

Solution 1: Take ownership of the folder

This is the easiest method and may suit most of the people in solving this error. In order to do this, you need to:

  1. Navigate to the folder you want to delete, right click it and select Properties
  2. Select the Security tab and click the Advanced buttonfolder properties
  3. Click on Change located at the front of the Owner file and click on the Advanced buttonfolder advanced security settings
  4. In the Select user or group page, click on Advanced in order to select which accounts are available
  5. Click on Find Now and then select the user to whom you wish to transfer the ownership to
  6. Right click on the folder and click on Properties
  7. Navigate to the Security tab and click on Advanced
  8. Under the Permission tab, click on Add and then click on Select a Principal in order to add your accountpermission entry
  9. Click on Advanced and then click on the Find Now button to list all the accounts to whom permission can be granted
  10. Locate your account from the list and click on Ok and save changes

Need additional info about how to take ownership of a file or a folder in Windows 10? Find out more in this article.

Solution 2: Disable User Account Control

If you took ownership of the folder but it still cannot be deleted, the next thing you can try is to turn off User Account Control as it sometimes might block permission.

Make sure to turn it back on once you have deleted the file:

  1. Search UAC in the Start search box and then press Enter to navigate to the Change User Account Control settings windowuser account settings
  2. At the bottom of the settings move the slider to Never notifyuser account settings never notify
  3. Restart your computer

Note: Once you complete your Task change the slider to Notify me only when programs try to make changes to my computer.

If you’re interested in how to manage your UAC in Windows 10, take a look at this useful guide.

Solution 3: Activate the built-in Administrator account

If the solutions described above did not help you solve the problem, the next thing you should try is to enable the built-in administrator account:

  1. Type in CMD in the search box and then right click to Run as administratorcmd-run as administrator
  2. In Command Prompt, copy and paste the following command: net user administrator /active: yesnet user administrator active
  3. Type the following command: net user administrator <Password>, and then press ENTER, where <Password> tag should be replaced with the password that you want to set to the administrator account
  4. Restart your computer

If you’re having trouble accessing Command Prompt as an admin, then you better take a closer look on this guide.

Solution 4: Use SFC

SFC (System File Checker) is a built-in Windows tool that you can use to scan and repair corrupted system files. If system files are missing or corrupted, then Windows may not behave as expected and this might also be the reason for which you cannot delete the file:

  1. Go to Start and type cmd
  2. Right click on Command Prompt and select Run as Administrator
  3. Type sfc /scannow and wait for the scanning process to completesfc
  4. Restart your computer

scannow command has stopped before the process finished? Don’t worry, we’ve got an easy fix for you.

Solution 5: Use Safe Mode

Another good suggestion is trying to delete the folder in Safe Mode:

  1. Open Settings and click on Update&Security
  2. Click on Recovery and then under Advanced Startup click the Restart now buttonadvanced startup
  3. Click on Troubleshoot and then go to Advanced options
  4. Press the Restart button and on Startup settings press F4 to enable Safe mode
  5. While in Safe Mode, locate the file that you want to delete and try to perform the operation
  6. Restart your computer to exit Safe mode

If you’re interested in how to add Safe Mode to the boot menu in windows 10, check out this article.

Safe mode is not working on Windows 10? Don’t panic, this guide will help you get past the booting problems.

Solution 6: Use third party software

You can always try to use a third party software to delete a file in order to delete corrupted files that Windows cannot delete.

We hope that this article helped you solve your problem. If you have other alternate solutions for this situation, please do not hesitate to use the comments section down below.

Also, leave there any other questions you may have.


Was this page helpful?
Thanks for letting us know!
Get the most from your tech with our daily tips
Tell us why!