To resolve a method that does not have permission to delete files under Windows

Source: Internet
Author: User

Under Vista and Windows 7, the method for removing files without permissions is resolved

① Right-click the folder or file you want to delete--properties, and then security--advanced--owner.

② Point Edit--continue--other users or groups, enter your username in the name of the object you choose

(If you do not know the username you are currently logged in to, point to advanced-find it now, select your username, OK).

③ then chooses to replace the child container and the owner of the object, and if you do not select this, we will only have ownership of the folder, without the ownership of his subfolders and the files inside it (if only a single file can be deleted), and then apply--OK. This allows us to have ownership of this folder, since the ownership of this folder is system and does not belong to us.

④ permission-edit-Add, fill in your username (or use advanced-immediately find, OK), click on your username-edit, complete control/allow that tick, OK.

⑤ again "replaces existing inheritable permissions on all descendants with permissions that can be inherited from this object" tick. This is not a tick, you have only the outside folder permissions, the folder inside or not "full control."

⑥ then point application--OK--ok--OK.

Conclusion: After the above 6 steps, you can delete the file you want to delete Oh!

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.