How to Edit a WIndows 2008 Server Host File

Posted on 2011-04-19
Last Modified: 2012-05-11
How do i edit a 2008 host file?  I keep receiving an error message that tells me i dont have the correct permissions.  I tried is as the local and domain admin.
Question by:deklinm
    LVL 17

    Expert Comment

    by:Tony Massa
    Run NOTEPAD ad Administrator first, then browse for the HOSTS file and then you can edit it.
    LVL 95

    Accepted Solution

    Simply logging in as an administrator won't give you permission to.  All programs run as a standard user UNLESS you specifically run them as an admin.  What I typically do is open a command prompt as administrator and then run the programs from there.  For example, I'll have the command prompt and then type "notepad %windir%\system32\drivers\etc\hosts" and that will give me the right to edit the file.


    Featured Post

    Do email signature updates give you a headache?

    Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

    Join & Write a Comment

    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now