Can't edit /etc/hosts file or run application that I installed under

W

war_wheelan

I am/have an administrative account on a Vista Home Premium PC, but
the system says that access is denied went I attempt to edit the /etc/
hosts file.

The directory is read-only (which I didn't think applied to
administrators) so I removed read-only access, but still received
'access denied' when attempting to save changes.

I also installed an application under the 'C:\Program Files' directory
which doesn't run because it needs to write updates to that
directory. Why does it allow me to install the application (read/
write) implied, but not update it when I run it?
 
M

Malke

I am/have an administrative account on a Vista Home Premium PC, but
the system says that access is denied went I attempt to edit the /etc/
hosts file.

The directory is read-only (which I didn't think applied to
administrators) so I removed read-only access, but still received
'access denied' when attempting to save changes.

I also installed an application under the 'C:\Program Files' directory
which doesn't run because it needs to write updates to that
directory. Why does it allow me to install the application (read/
write) implied, but not update it when I run it?

You are an administrator in Vista but not Administrator. See this link
which explains the difference in Administrator in Vista:

http://support.microsoft.com/Default.aspx?kbid=942956

To work on the hosts file, run Notepad elevated (right-click, run as
Administrator) and open hosts from there.

As for the program, I can't answer that. You'd need to ask the people
who wrote it if they have plans for making an updated version that is
compatible with Vista, have any patches, workarounds, etc.

Malke
 
R

Ray

Malke said:
(e-mail address removed) wrote: [snip]
I also installed an application under the 'C:\Program Files'
directory which doesn't run because it needs to write updates to
that directory. Why does it allow me to install the application
(read/ write) implied, but not update it when I run it?
[snip]
As for the program, I can't answer that. You'd need to ask the
people who wrote it if they have plans for making an updated
version that is compatible with Vista, have any patches,
workarounds, etc.

Two suggestions. You could run the program as Administrator; I think
that would allow it to write to a folder under Program Files. Or you
could install it somewhere else, not under Program Files. I had a
similar problem with my newsreader (Xnews), and ended up moving it out
of Program Files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hosts File Issue 3
Hosts File 3
How do I edit my hosts file? 13
Hosts File Entries 3
Hosts file has been hacked? 1
"...your hosts file has been hacked." 4
hosts file has been hacked 2
Modifying the Hosts file 1

Top