When we modify the Hosts file or the Lmhosts file in our Vista operating system, there may be two kinds of errors: denial of access, failure to create files, what causes the modification of Hosts and Lmhosts files to cause such failures, followed by I will discuss the solution to the problem of modifying the Hosts and Lmhosts files.
Symptom
Error message 1: Access denied C:\\Windows\\System32\\drivers\\etc\\hosts
Error message 2: Cannot create file C:\\Windows\\ System32\\drivers\\etc\\hosts. Please confirm that the path and file name are correct. This issue occurs even when you log in with an account that has administrative credentials.
Failure Analysis
The role of the Hosts file is to resolve the domain name, which is similar to the role of the DNS server. It is only resolved according to the corresponding relationship in the Hosts file. If the domain name to be queried does not exist in the file. Then, it is queried through the DNS server. That is, Hosts > local DNS server. The Lmhosts file is used to parse Netbios.
Due to the Vista mechanism, all operations in the system folder, including moving files, also need to be confirmed. Therefore, in Vista, if you want to change the Hosts or Lmhosts file, there will be a problem of denying access.
Troubleshooting
1. Click “Start”, click “All Programs, click “Accessories", right click “Notepad” , then click “run as administrator”. If you are prompted for an administrator password or for confirmation, type your password or click “Allow”.
2, use the menu to open & rdquo; to open the Hosts, Lmhosts file can be saved normally, you can click to open, directly enter the path of the file "C:\\Windows\\System32\\Drivers\\Etc \\hosts”You can open the hosts file. Open the Hosts file or the Lmhosts file, make the necessary changes, and click “Save” on the “Edit” menu.
[Computer Software and Hardware Application Network Tutorial] An important function of Windows Vista
Windows Vista: The Beginning of Innovation Windows Vista is the oldest release in Windows history. M
Under Windows Vista, a Bluetooth device that has been connected will have an icon
Problem Description VISTA has a wide range of tools, similar to WinXP, as well as tools for hard di
The VISTA system comes with 12 network tools
How to open a super administrator in UAC in Vista
Microsoft XP/Vista System IIS Vulnerability Temporary Solution
Vista SP1 blocked piracy cracking, activation mechanism detailed
Windows Vista new operating system full functional analysis
How to uninstall and reinstall Lenovo OneKey Recovery program in VISTA system?
Don't please! Many users make my Vista system self
10 strokes to speed up Vista startup and running speed
Vista dial-up Internet registry modification tips
Sleep option is not available in Vista
Win8 Metro interface: How to close the Metro application
Win10 open the resource manager to enter my computer settings tutorial
Win10 Mobile Preview Edition 10512 has been updated with more than 2,000 fixes.
Windows 10 Anniversary Update: The Most Secure Windows System in History
What should I do if the windows7 taskbar shows that the desktop button is missing?
Teach you how to quickly solve the problem of Win8 not online
The method of transforming pictures into texts
Which power supplies have the function of an LCD adapter
Insert USB does not play automatically Windows 7 is also lazy?