Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to restore the default permissions of windows system files

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to restore the default permissions of windows system files, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

Cannot modify and save the file in the Windows folder, this is a problem that many Win7/Win8 users will encounter, the general temporary solution is to copy the file to a non-system directory, modify and save it, and then paste it back; of course, there is also a permanent solution to get all the permissions of the file (detailed instructions here), but this method will reduce the security level of system files and do not encourage you to use them. For files that have obtained all permissions, it is recommended that you return to the original state. Today I would like to share with you how to restore the default permissions of system files. Windows 7 and Windows 8 systems are the same procedure.

Here, take the most frequently modified hosts file as an example, the following figure shows that all permissions of the hosts file have been obtained.

Hosts files that have obtained all permissions

Restoring permissions is a bit like reverse operation, first click the Administrators group (the blue bar above), and then click the "Advanced" button below to switch to the "owner" tab.

Advanced Security Settings-owner

In the window above, click the Edit button to open a new window to change the owner.

Edit owner

At this point, you will find that the changeable owner does not have the TrustedInstaller you originally replaced. What should I do? Don't worry, click "other users or groups" to add it. In the newly opened window, type: NT SERVICE\ TrustedInstaller, and note that the previous NT SERVICE must be added, otherwise the system will not recognize it.

Add TrustedInstaller user

When you are done, click OK to return to the previous window, and you will see that the TrustedInstaller user appears, then select it, and then make sure to exit each window all the way.

Change the owner back to TrustedInstaller

After all, right-click the hosts file to view the properties, TrustedInstaller returned to the list, and then try to edit directly will find the last save when the prompt "access denied", which means that all permissions of the hosts file back to the default state, the current user can not modify it at will. File ownership is restored to the default state

The above content is how to restore the default permissions of windows system files, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report