1.

Solve : WINDOWS XP - PERMISSIONS TO UPDATE THE HOSTS FILE?

Answer»

I have recently purchased a new laptop with Windows XP (64 bit) installed. I have installed a software application and would like to update
the hosts file. However I can't change its permissions to allow me to do so. My user id is a member of the admin. group so I'm a little confused.
I thought this would allow me to do ALMOST anything. I see that I do not have write permissions to the hosts file so now I'm stopped.

Has anyone experienced this ISSUE and if so, any ideas how to approach a solution ?

thanksHave you tried right cliking it and Open as Admin ? ?I don't an option to open the file as admin.. right clicking only provides an option to open / open with.......Open Notepad with Run as Admin...then open the hosts file...Quote

Open Notepad with Run as Admin
No such option in XP

Why do you need to adjust "hosts" file?

Take ownership of "hosts" file: http://www.winxptutor.com/ownership.htmI'm running database software which requires VMware to be running which is Linux and this runs on top of Windows as a guest system. In order
to comunicate with the database software I have to supply an IP in order to logon to it and setting up an alias in the hosts file makes
it much easier. I can use the native IP however this is a bit cumbersome so an entry in the hosts file is the usual approach.

I haven't experienced an issue with Windows in the past, I am using XP at work on a laptop and can alter the hosts file as required. I can also
do the same on a laptop using Windows Home Premium.. So.. I confused as to why I can't do it on a DELL laptop running Windows XP 64 bit.It is possible for malware to change the permissions for the hosts file. Was this a legitimate copy of the "software application", and have you got malware/virus/spyware protection in place? Are there any odd entries in the hosts file? If this is an issue connected with your work maybe you should be talking to your employer's IT department?

Have you tried logging in as Administrator and altering the permissions?

Quote
No such option in XP

Oooops....my bad...sorry.Quote from: Broni on August 09, 2011, 10:15:51 PM
No such option in XP

That's a surprise... for the last 10 years I thought there was.

Quote from: Microsoft
HOW TO: Use the RUN AS Command to Start a Program as an Administrator in Windows XP

This step-by-step article describes how to use the run as command to start a program as an administrator.

How to Use the RUN AS Command to Start a Program as an Administrator

As an administrator, you can use the run as command to start a program. To do so:

Locate the program you want to start in Windows Explorer, the Microsoft Management Console (MMC), or Control Panel.
Press and hold down the SHIFT key while you right-click the program icon, and then click Run as.
Click Run the program as the following user, and then type the user name, password, and DOMAIN of the administrator account that you want to use.

NOTE: If you want to use the administrator account on your computer, type the name of the computer in the Domain box. If you want to use the domain administrator account, type the name of the domain in the Domain box. When the program is running, you can use Task Manager to check the process owner on the Processes tab of Task Manager. To start Task Manager, click Start, click Run, type taskmgr, and then press ENTER.



Oooops...Thanks for the instructions per Microsoft re: opening an application (I'm using Notepad) and being able to select the Run as option.
HOwever this seems to present another issue. I know the password for me when I choose to lock then unlock my laptop. However I do
not know the password for any other accounts (administrator etc.). I'm not sure what procedure is followed when a vendor, in my case it
is Dell, configures the O/S on the laptop in their shop prior to shipping the laptop.

Is there a process which will allow me to determine what the password is or are there a STANDARD passwords setup by Microsoft for the
particular O/S, in my case it is Windows Professional XP?
Try just pressing Enter with a blank password, or try "admin" or see here if those don't work

Quote
How to log on to your Windows XP-based computer if you forget your password or if your password expires

http://support.microsoft.com/kb/321305



Discussion

No Comment Found