Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

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

Reply
 
Old 11-28-2007   #1 (permalink)
war_wheelan


 
 

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

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?

My System SpecsSystem Spec
Old 11-28-2007   #2 (permalink)
Malke


 
 

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

war_wheelan@xxxxxx wrote:
Quote:

> 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
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
My System SpecsSystem Spec
Old 11-29-2007   #3 (permalink)
Ray


 
 

Re: Can't edit /etc/hosts file or run application that I installed under C:\Programs Files

Malke <notreally@xxxxxx> wrote:
Quote:

> war_wheelan@xxxxxx wrote:
[snip]
Quote:
Quote:

>> 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]
Quote:

> 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.

--
Ray
(remove the Xs to reply)
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Administrator Can't Edit Hosts File Vista General
Hosts file is being ignored. Vista networking & sharing
hosts file Vista General
Still need to use a hosts file? Vista hardware & devices
HOSTS file not there... Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46