Home >Common Problem >How to delete files that require administrator rights
Method: 1. Right-click the specified file and select "Properties"; 2. Click "Security" - "Edit"; 3. In "Group or User Name", click "Add"; 4. Enter "Administrators" ", click "OK"; 5. Check "Allow" in the "Permissions" column, click "Apply" - "OK"; 6. In the pop-up window, click "Yes" - "OK".
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Running on Windows 7 system. Often when you want to delete a folder, the system prompts: Folder access is denied. You need permission to perform this operation. How can you delete such a folder? Let me introduce it to you below.
How to delete a folder that requires administrator permissions
Modify the folder security attributes
1. Right-click the folder we want to delete - Properties;
2. In the opened folder properties window, click: Security - Edit;
3. In the "Group or User Name (G)" column, we click: Add;
4. In the pop-up window for selecting users or groups, we enter: Administrators, click OK, return to the original window and click: OK;
5. In the "Administrators" Tick all the boxes under "Allow" in the "Permission (P)" column (you can also customize the permissions according to your own needs), click: Apply - OK;
6. In the pop-up "Windows Security" window, we click "Yes", return to the original window, and click OK.
#7. If we want to delete a folder, right-click the folder - run as administrator, and then delete the folder to delete it smoothly.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of How to delete files that require administrator rights. For more information, please follow other related articles on the PHP Chinese website!