Home  >  Article  >  System Tutorial  >  No permission to modify hosts file

No permission to modify hosts file

WBOY
WBOYforward
2024-03-03 10:31:30873browse

php editor Xinyi will introduce to you how to solve the problem of no permission to modify the hosts file. In Windows systems, the hosts file is protected and cannot be edited directly without administrator rights. The workaround is to run a text editor as administrator and open the hosts file for editing. In addition, you can also obtain editing permissions by modifying file attributes. These methods can help you successfully modify the hosts file, allowing you to successfully complete operations such as website access or network settings.

There is no permission to modify the hosts file

1. Open the hosts file and uncheck the previous read-only option

No permission to modify hosts file

2. If If it shows no permission when opening, then right-click the file and select Properties

No permission to modify hosts file

3. Click Safe Enter

No permission to modify hosts file

4. Then enter Advanced

No permission to modify hosts file

5. Please enter "administrator" in the white box and click OK.

No permission to modify hosts file

The above is the detailed content of No permission to modify hosts file. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:somode.com. If there is any infringement, please contact admin@php.cn delete