Windows 7: access to the target folder is rejected (an error is reported when sublime is started and cannot be started)

Source: Internet
Author: User
Tags winsxs folder

When we installed the color scheme of sublime today, we accidentally installed the wrong theme. As a result, my sublime always encountered an error when it was opened, And the appdata in drive C could not be found in drive C, later I thought of a folder hidden by the system. After the hidden folder was displayed, I found it, but I did not have the permission when I deleted it. I searched the internet for an article about changing the permission of the current folder, share with you, but be careful when deleting the hidden folders in the system. After you delete the folder of the software you installed in the appdata folder, the default settings will be restored after you install the software, no plug-ins have been installed before.

With the popularization of Windows 7 operating systems, many computers are now using this system. If you are more careful, you may find that files and folders in the c: \ windows \ winsxs folder under Windows 7 are protected and cannot be deleted or created. Now let's take the c: \ windows \ winsxs \ examples folder as an example to explain how to solve this problem.

1. Create a new file under the file and prompt that you do not have the permission:

2. How can this problem be solved? Now we need to manually add permissions, right-click and select Properties, you can see:

3. Select "advanced ".

4. Select the "owner" tab. The owner you see is truustedinstaller. This is the internal permission of the system. Let's change it:

5. Continue. For example, select another user or group.

6. Review the changes made by the owner

7. After the review is completed, add permissions

8. You can see the default file:

9. Everything is complete. Now you have the permission to create a new file.

10. You can have the same permissions for files.

Summary: The entire process is actually like this: Properties → owner → review → Change User Permissions → complete. You can refer to this document and draw a line by mistake to solve the issue of Folder deletion under c: \ windows \ winsxs.

Related Article

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.