Can't modify the Hosts or Lmhosts file in Vista

  

One: The problem is raised:

Can't modify the Hosts or Lmhosts files in Vista, what should I do? When

try to change the Hosts file or the Lmhosts file in Microsoft Windows Vista, you receive either of the following two error messages in an "Access Denied C: \\ Windows \\ System32 \\ drivers \\ etc \\ hosts Or "Cannot create file C:\\Windows\\System32\\drivers\\etc\\hosts, please confirm that the path and file name are correct".

Solution


1. Click Start, click All Programs, click Accessories, right-click Notepad, and then click Run as an administrator." (If you are prompted for an administrator password or for confirmation, type your password or click "Allow".)

2. The system will run the Notepad program, then click on the file above the Notepad window and select Open. , find the Hosts file or the Lmhosts file, make the necessary changes, and click Save on the Edit menu.

Copyright © Windows knowledge All Rights Reserved