At times, the file or folder deletion process is not smooth. For example, you may receive an error saying you'll need to provide administrator permission to delete this folder. When you encounter this issue, do you know how to delete that folder as administrator? MiniTool Software will show you some useful solutions in this post.
When you want to delete a folder on your Windows computer, you may receive a pop-up interface saying Folder Access Denied. You’ll need to provide administrator permission to delete this folder. No matter you click the Continue button or the Skip button, you just can’t delete that folder.
This issue can also happen to an individual file. If so, the error is You’ll need to provide administrator permission to delete this file.
As the error message saying, you need to get the administrator permission to delete the file or folder. So, how to get permission to delete a file or how to delete as administrator? After reading this post, you can get the answer you want to know.
How to Fix You Need Administrator Permission to Delete a Folder/File?
- Take ownership of the file or the folder
- Disable User Account Control
- Activate the built-in Administrator account
- Use SFC
- Use Safe Mode
Fix 1: Take Ownership of the File or the Folder
How to delete a file or a folder as administrator? Of course, you need to take ownership of the file or the folder. Take a folder that can’t be deleted as an example:
1. Right-click the folder you want to delete and select Properties.
2. Switch to the Security tab and click the Advanced button.
3. Click the Change link on the first pop-up interface.
4. Click the Advanced button on the second pop-up interface.
5. Click the Find Now button on the third pop-up interface and then select the user you want to transfer the ownership to.
6. Click OK on each interface to save the changes.
7. Right-click the folder you want to delete and select Properties.
8. Switch to the Security tab and click the Advanced button.
9. Click the Add button in the Permission tab on the first pop-up interface.
10. Click the Select a principal link on the second pop-up interface.
11. Click the Advanced button on the third pop-up interface.
12. Click the Find Now button on the fourth pop-up interface.
13. Select your account from the Search results list.
14. Click OK on each interface to save the changes.
After these steps, you can go to check whether you can successfully delete that folder.
Fix 2: Disable User Account Control
If you still can’t delete the folder after you take ownership of the folder, you need to disable User Account Control to have a try.
Here is a guide on how to turn off User Account Control:
- Use Windows Search to search for UAC and click the first result to open it.
- Switch the button to Never notify.
- Click OK to save the change.
Fix 3: Activate the Built-In Administrator Account
You can also solve the issue by activating the built-in administrator account.
- Run Command Prompt as administrator.
- Type the following command and press Enter: net user administrator /active: yes.
- Type the following command and press Enter: net user administrator <Password>.
- Restart your computer.
Fix 4: Use SFC
SFC, which is also known as System File Checker, can be used to scan and repair the found corrupted system files that may cause the issue of you’ll need to provide administrator permission to delete this folder.
- Run Command Prompt as administrator.
- Type sfc /scannow in Command Prompt and press Enter.
- Wait until the process ends and then restart your computer.
Fix 5: Use Safe Mode
If the above solutions can’t solve the issue, you can consider using Safe Mode to delete the folder or file.
- Go to Start > Settings > Update & Security > Recovery.
- Click the Restart Now button under the Advanced startup section.
- You will enter Windows RE.
- Go to Troubleshoot > Advanced options > Startup Settings > Restart.
- Press the F4 key to enter Windows 10 Safe Mode.
- In Safe Mode, you can try to delete the target folder or file.
These are the five methods to solve you’ll need to provide administrator permission to delete this folder. We hope you can find a suitable solution to solve your issue. Should you have any related issues, you can let us know in the comment.