Win7/win8 Delete file Prompt "target file/folder access Denied" solution

Source: Internet
Author: User

One, if your file is open or occupied by another application, you cannot delete it, as in Windows XP.

Two, if it is not that should be the issue of authority, we can refer to the following method to solve.

Access to files/folders is rejected as shown below:

First, view the current File/folder permissions

right mouse button The file/folder, select Properties, as shown in the following figure, you can see the sample file C_pan. Gho belong to the Everyone group, but permissions are limited to read-write and execute, but do not have Modify permissions (add delete modifications), so you cannot do so if you want to delete them. In practice, your permissions may not be the following graphic style, or one of the following:

    • All people are of course user/user group, but no modify permission
    • All other user/user groups, other users have Modify permissions, but no current user or their attribution group

For the first case, just add the Modify permission to the user/user group, and add the method as shown below. In the second case, only by adding a user/user group, and authorization, of course, we only say that the normal solution, you put the hard drive to other systems directly delete and other methods are also possible.

Second, add File Modify permissions

If the property screenshot belongs to the first case described above, click "OK" in the pop-up window by clicking on the "Edit" button in the image above. Then, you can delete the modified operation on the file, if you are manipulating the object is a folder, and below there are below, then simply set folder permissions or not, you need to apply these permissions to all the files and files. How to apply it? Reference below.

Note: If you cannot set up full control, stating that you do not have enough permissions for your current user, you may not be an administrator or a user who does not have permission to modify it.

If it falls into the second scenario described above, you can do so by adding user permissions. In the above picture, click the Add Add button. The following figure:

Enter the username of your current login and click OK to confirm. This will go back to the Permission editing window (pictured below), click on the current user/user group, then click "Full Control" and "confirm".

Third, add folder Modify permissions
Folder permission modifications may involve file and folder permission synchronization issues, please refer to the article:

Let's take a look at the method of modifying permissions on Windows 7:

1, in the operation of the folder click the right mouse button, open folder Properties Security tab

2, Sequential click: Advanced-Owner-editor

3. In the Advanced Security Settings window, select the Administrators user group ( or the current user's group ) and tick the "Replace owner" (replace owner on subcontainers and objects) with the following "replacement child containers and objects"

4, as shown in the following figure, the final click on the "OK" button and close the Properties dialog box to get the ownership of the file.

5, after setting up the owner, you also need to set permissions for the owner, the figure click OK, return to the Advanced Security Settings window.

6, click the "Audit" page, click "Add" to increase the number of new user owners, and select the "Include auditing entries that can be inherited from this object" and "replace all existing possible inheritance auditing entries for all descendants with an auditing entry that can inherit from this object", these two clumsy options. Finally click OK.

7, click on the "Rights" page, select the added Users/groups, click "Modify Permissions", set to complete control (or according to their own needs of individual settings), and finally click "OK" can be.

8, if the authorized user is a Non-administrator user group, in general, you may also need to modify or upgrade permissions, similar to the previous method, just click the right mouse button to open the Properties dialog box, click: Security-Advanced-Change permissions, select the following two check boxes, select the user name that will modify the authorization, click "Full Control" You can grant full permissions to the user, and then click OK and exit if you have permission to confirm the alert.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.