How to assign permissions to delete any folder or file on Windows?

In some cases when you delete a folder or file on a Windows computer but cannot delete it and on the screen that displays an error message You need permission to perform this action. In order to be able to delete folders and files, you must assign permission permissions to delete them.

In some cases when you delete a folder or file on a Windows computer but cannot delete it and the error message appears on the screen " You need permission to perform this action ". In order to be able to delete folders and files, you must assign permission permissions to delete them.

How to assign permissions to delete any folder or file on Windows? Picture 1How to assign permissions to delete any folder or file on Windows? Picture 1

To assign permissions to delete any folder or file on Windows, follow the steps below:

1. First navigate to the folder or file that you are trying to delete on Windows Explorer (such as C: Windowsaddins).

2. Right-click the folder, select Properties => tab Security => Advanced .

How to assign permissions to delete any folder or file on Windows? Picture 2How to assign permissions to delete any folder or file on Windows? Picture 2

3. On the Advanced Security Settings window, click Change next to the Owner in the top corner.

4. At this time, on the screen, select the Select User or Group window, enter the Windows account email address into the box Enter the object name to select. If unsure, click Advanced on the new window and then click Find Now , then double-click on the Windows account name on the search results displayed on the screen.

How to assign permissions to delete any folder or file on Windows? Picture 3How to assign permissions to delete any folder or file on Windows? Picture 3

Go back to the previous window, enter your account name in the box Enter the object name to select and click OK .

How to assign permissions to delete any folder or file on Windows? Picture 4How to assign permissions to delete any folder or file on Windows? Picture 4

You will return to the Advanced Security Settings window again. Here select ' Replace owner on subcontainers and objects ' to provide full permission to edit and delete all files contained in the folder you want to delete. Click OK.

How to assign permissions to delete any folder or file on Windows? Picture 5How to assign permissions to delete any folder or file on Windows? Picture 5

5. In the Windows Explorer window, right-click the folder you want to delete again, select Properties => Advanced => Add .

6. On the Permission Entry window, click Select a principal in the top corner, add the Windows user name to the frame 'Enter the object name to select like you did before and click OK .

7. Return to the Permission Entry window and select Full Control and then click OK.

How to assign permissions to delete any folder or file on Windows? Picture 6How to assign permissions to delete any folder or file on Windows? Picture 6

8. On the Advanced Security Settings window click OK to finish.

Refer to some of the following articles:

  1. Use CMD to create an 'undeleted' folder on Windows
  1. Guide to quickly fix "Inaccessible Boot Device" error on Windows 10/8/7 and Windows Vista
  1. Privacy control on Windows 10 computers with the following 5 tips

Good luck!

5 ★ | 1 Vote