Need administrator permission to delete a folder – Fix

In general, when we use our personal computer with Windows, we use our account as Administrator, to have all the benefits that it entails to be able to carry out all kinds of actions. However, when deleting folders we may see a strange error that informs us that “You need administrator permission to delete this folder”. Fortunately, as with other Windows errors, it is possible to solve it.

This error is more common than it may seem and not a few users have been affected on occasion. That is why, before panicking, we are going to discuss some possible tricks that we can carry out to solve it in the simplest way possible, using the tools that Windows 10 makes available to us.

Need administrator permission to delete a folder

Why does this error appear when deleting folders

If when trying to delete any folder on the system we get the error “You need administrator permission to delete this folder”, it may be mainly due to the security and privacy features of Windows 10. Some actions require users to grant administrator permissions to be able to delete, copy or even rename files or change settings. This permission prevents unauthorized users and external sources such as scripts from accessing system data.

This is an error that appears unexpectedly and can become quite annoying if we do not know what to do, but like almost everything in Windows, it can have a solution. We can carry out some actions such as taking possession of the folder, modifying the control of the user account, activating the native Windows administrator account, testing safe mode, among other possible solutions that we are going to review below.

Fix administrator error when deleting folders

Next, we show you some actions that we can take in case the warning You need administrator permission to delete this folder appears, with which we can try to solve it.

Take possession of the folder

In case we have problems to delete a folder informing us that we need administrator permissions, we can try to solve it by taking possession of it. To do this we must navigate to the location of the folder and click on it with the right mouse button, selecting the “Properties” option.

Propiedades de la carpeta agregar usuarios

Next, we click on the “Security” tab and select the “Edit” option that we find under the “Group or user names” section. Now, we must click on “Add”. In the next window, in the section “Write the object names you want to select”, we write ” all “. Later we click on “Check names” and click on “OK”.

Carpetas seleccionar Usuarios o Grupos

We go back to the previous window and in the “Everyone’s Permissions” section we select the “Full control” option. Once this is done, all users, whether they are administrators or standard users, will have full control over the folder and will be able to delete it.

Carpeta Permiso de todos

Modify user account control

There are occasions where taking possession of the folder that we want to delete does not solve the problem, and the administrator error persists. In this case we can modify the user account control to try to solve it using the Control Panel tool.

To do this we write “control panel” in the search box of the Start menu and select it. Once open we go to the “User Accounts” section. We select our account and click on “Change User Account Control settings”.

Cambiar la configuración del control de cuentas de usuarios

In the next window we will see a slider that we must place at the bottom until the option “Never notify me”. In this way, the system will never notify us when we make changes to the Windows configuration. We click on “OK”, we restart the computer and we should be able to delete any folder that needs administrator privileges to do so.

Configuración del control de cuentas de usuarios no notificarme nunca

Once we have completed the task, we can change the slider to the option “Notify me only when programs try to make changes to the computer”, since it presents fewer security problems.

Activate the native administrator account

If the previous solutions have not solved the problem, we can choose to activate the native Windows administrator account. To do this we must open the Command Prompt, for which it will be necessary to write cmd in the search box of the Start menu and run it as administrator.

Once in the Command Prompt window we must write the following command and press Enter, as shown in the image:

net user administrator /active: yes

Activar la cuenta de administrador nativa desde CMD

Later we enter the following command and press Enter:

net user administrator "Password"

Contraseña para la cuenta de administrador nativa

The Password label must be replaced by the password that we want to establish for the administrator account.

Once this is done, we must restart the PC and log in through the native administrator account to be able to delete the folder that has problems.

Use SFC to check system files

Windows 10 has a built- in system file checking tool called SFC, with which you can scan and repair corrupted system files. In the event that system files are missing or corrupted, Windows may not behave as expected, which could be the reason why the folder cannot be deleted.

To do this, we must open the Command Prompt, typing cmd in the search box of the Start menu and running it as administrator. Once it appears, we must write the following command and press Enter:

sfc / scannow

Ejecutar SFCen Windows

Once the scan is completed, we proceed to restart the system. Finally, once restarted, we proceed to delete the folder.

Use safe mode

In case none of the solutions have worked and we still cannot delete the folder, we can choose to start Windows safe mode, from where it should be possible to delete it.

To do this, we must press the keyboard shortcut “Windows + I” to open the “Settings” menu and click on “Update and security”. We click on the “Recovery” section in the left column. Within the Advanced Start option we click on the “Restart now” button.

Reiniciar Windows en modo seguro

Then we click on “Troubleshoot” and then we go to “Advanced options”. We press the “Restart” button and in the startup configuration we press F4 to enable safe mode . Once it has started in safe mode, we must find the folder that we want to delete and carry out the operation. Finally, once finished, we restart the PC to exit safe mode.