Vista cannot modify hosts or Lmhosts how to resolve

Source: Internet
Author: User
Tags administrator password

Q: When you try to change a Hosts file or Lmhosts file in Microsoft Windows Vista, you receive any of the following two error messages.

Error message 1

Denied access to C:\Windows\System32\drivers\etc\ hosts

Error message 2

Cannot create file C:\Windows\System32\drivers\etc\hosts.

Make sure the path and filename are correct.

This problem can occur even if you are logged on with an account that has administrative credentials. How can i solve it?

A: In fact, the solution to this problem is very simple, you only need to be in the identity of the administrator to run on it.

You can follow these steps:

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

2, open the Hosts file or Lmhosts file, make the necessary changes, and then click Save on the Edit menu.

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.