Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-05-2008, 10:01 PM
Serpeverde
Newsgroup Contributor
 
Posts: n/a
Internet explorer set up - site protection

One post explained how to deny access to some web site by adding the
following text into the HOSTS file (C:\windows\system32\drivers\etc
\hosts):

e.g.

127.0.0.1 "name of forbidden site"

The problem I have is that opening with wordpad the file, the system
does not allow me to save the file (it gives file in use message).

Can you tell me how to modify th hosts file saving it succesfully?

serpeverde2007
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-05-2008, 10:01 PM
  #2 (permalink)  
Old 01-05-2008, 10:02 PM
forty-nine
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection


"Serpeverde" <serpeverde2007********.it> wrote in message
news:93568a59-d849-4e7f-8e4c-410e6f66c5c0@q39g2000hsf.googlegroups.com...[color=blue]
> One post explained how to deny access to some web site by adding the
> following text into the HOSTS file (C:\windows\system32\drivers\etc
> \hosts):
>
> e.g.
>
> 127.0.0.1 "name of forbidden site"
>
> The problem I have is that opening with wordpad the file, the system
> does not allow me to save the file (it gives file in use message).
>
> Can you tell me how to modify th hosts file saving it succesfully?
>
> serpeverde2007[/color]

One way is to run cmd.exe as administartor.
You will be in system32.

cd to drivers
cd to etc
edit hosts
save
exit

I tried, and this method works

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 01-05-2008, 10:02 PM
Frank Saunders MS-MVP IE,OE/WM
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection

"Serpeverde" <serpeverde2007********.it> wrote in message
news:93568a59-d849-4e7f-8e4c-410e6f66c5c0@q39g2000hsf.googlegroups.com...[color=blue]
> One post explained how to deny access to some web site by adding the
> following text into the HOSTS file (C:\windows\system32\drivers\etc
> \hosts):
>
> e.g.
>
> 127.0.0.1 "name of forbidden site"
>
> The problem I have is that opening with wordpad the file, the system
> does not allow me to save the file (it gives file in use message).
>
> Can you tell me how to modify th hosts file saving it succesfully?
>
> serpeverde2007[/color]

Right click it and select Properties. Uncheck Read Only. Make your
changes. Right click it and select Properties. Recheck Read Only.

--
Frank Saunders MS-MVP IE,OE/WM
[url]www.fjsmjs.com[/url]
Do not reply with email

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 01-05-2008, 10:03 PM
Rick Rogers
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection

Hi,

When opening wordpad or notepad, do not double click it to open, instead
right click it and select 'run as administrator'. This will give you the
elevated privileges necessary to make changes to the system file.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
[url]http://mvp.support.microsoft.com/[/url]
Windows help - [url]www.rickrogers.org[/url]
My thoughts [url]http://rick-mvp.blogspot.com[/url]

"Serpeverde" <serpeverde2007********.it> wrote in message
news:93568a59-d849-4e7f-8e4c-410e6f66c5c0@q39g2000hsf.googlegroups.com...[color=blue]
> One post explained how to deny access to some web site by adding the
> following text into the HOSTS file (C:\windows\system32\drivers\etc
> \hosts):
>
> e.g.
>
> 127.0.0.1 "name of forbidden site"
>
> The problem I have is that opening with wordpad the file, the system
> does not allow me to save the file (it gives file in use message).
>
> Can you tell me how to modify th hosts file saving it succesfully?
>
> serpeverde2007[/color]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 01-05-2008, 10:05 PM
Serpeverde
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection

On 5 Gen, 23:51, "Rick Rogers" <r...@mvps.org> wrote:[color=blue]
> Hi,
>
> When opening wordpad or notepad, do not double click it to open, instead
> right click it and select 'run as administrator'. This will give you the
> elevated privileges necessary to make changes to the system file.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVPhttp://mvp.support.microsoft.com/
> Windows help -www.rickrogers.org
> My thoughtshttp://rick-mvp.blogspot.com
>
> "Serpeverde" <serpeverde2...********.it> wrote in message
>
> news:93568a59-d849-4e7f-8e4c-410e6f66c5c0@q39g2000hsf.googlegroups.com...
>
>
>[color=green]
> > One post explained how to deny access to some web site by adding the
> > following text into the HOSTS file (C:\windows\system32\drivers\etc
> > \hosts):[/color]
>[color=green]
> > e.g.[/color]
>[color=green]
> > 127.0.0.1 * "name of forbidden site"[/color]
>[color=green]
> > The problem I have is that opening with wordpad the file, the system
> > does not allow me to save the file (it gives file in use message).[/color]
>[color=green]
> > Can you tell me how to modify th hosts file saving it succesfully?[/color]
>[color=green]
> > serpeverde2007- Nascondi testo tra virgolette -[/color]
>
> - Mostra testo tra virgolette -[/color]

DONT' WORK

1 Using dos EDIT it says: not allowed to modify read only file.

2 Se right click, property.....the read only box is NOT marked. ??????

3 right click it and select 'run as administrator'.....Not present in
my right click menu

other help...please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 01-05-2008, 10:05 PM
Synapse Syndrome
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection

"Serpeverde" <serpeverde2007********.it> wrote in message
news:1a36450e-f2b4-4f05-95ae-89e1997c7776@d21g2000prf.googlegroups.com...

DONT' WORK

1 Using dos EDIT it says: not allowed to modify read only file.

2 Se right click, property.....the read only box is NOT marked. ??????

3 right click it and select 'run as administrator'.....Not present in
my right click menu

other help...please
-----------------------------------------------------------------------------

He meant right click Wordpad. Not the HOSTS file.

Try right-clicking Notepad and Run as Administrator. I'd rather use Notepad
as Wordpad might add some formatting which you do not want in this text
file.

I actually use EditPad Lite as the text editor, as it has a lot of useful
features that Notepad lacks. [url]http://www.editpadpro.com/editpadlite.html[/url]

If you want a really decent HOSTS file, with loads of crap sites included,
try this: [url]http://someonewhocares.org/hosts/[/url]

ss.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 01-05-2008, 10:06 PM
Rick Rogers
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection

Hi,

1 Using dos EDIT it says: not allowed to modify read only file.

As Frank has told you, you need to change the read only attribute first.
It's not dos, it's a command prompt and you should run "attrib -r
C:\Windows\system32\drivers\etc\hosts" first. And, to do so you must run
from an elevated command prompt.

2 Se right click, property.....the read only box is NOT marked. ??????

What are you right clicking on?

3 right click it and select 'run as administrator'.....Not present in
my right click menu

What are you right clicking? The hosts file? You need to right click the
application you are going to use to open the hosts file, whether that be
notepad, wordpad, or the command prompt.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
[url]http://mvp.support.microsoft.com/[/url]
Windows help - [url]www.rickrogers.org[/url]
My thoughts [url]http://rick-mvp.blogspot.com[/url]

"Serpeverde" <serpeverde2007********.it> wrote in message
news:1a36450e-f2b4-4f05-95ae-89e1997c7776@d21g2000prf.googlegroups.com...
On 5 Gen, 23:51, "Rick Rogers" <r...@mvps.org> wrote:[color=blue]
> Hi,
>
> When opening wordpad or notepad, do not double click it to open, instead
> right click it and select 'run as administrator'. This will give you the
> elevated privileges necessary to make changes to the system file.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft
> MVPhttp://mvp.support.microsoft.com/
> Windows help -www.rickrogers.org
> My thoughtshttp://rick-mvp.blogspot.com
>
> "Serpeverde" <serpeverde2...********.it> wrote in message
>
> news:93568a59-d849-4e7f-8e4c-410e6f66c5c0@q39g2000hsf.googlegroups.com...
>
>
>[color=green]
> > One post explained how to deny access to some web site by adding the
> > following text into the HOSTS file (C:\windows\system32\drivers\etc
> > \hosts):[/color]
>[color=green]
> > e.g.[/color]
>[color=green]
> > 127.0.0.1 "name of forbidden site"[/color]
>[color=green]
> > The problem I have is that opening with wordpad the file, the system
> > does not allow me to save the file (it gives file in use message).[/color]
>[color=green]
> > Can you tell me how to modify th hosts file saving it succesfully?[/color]
>[color=green]
> > serpeverde2007- Nascondi testo tra virgolette -[/color]
>
> - Mostra testo tra virgolette -[/color]

DONT' WORK

other help...please

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 01-06-2008, 12:30 PM
Serpeverde
Newsgroup Contributor
 
Posts: n/a
Re: Internet explorer set up - site protection

On 6 Gen, 01:03, "Rick Rogers" <r...@mvps.org> wrote:[color=blue]
> Hi,
>
> 1 Using dos EDIT it says: not allowed to modify read only file.
>
> As Frank has told you, you need to change the read only attribute first.
> It's not dos, it's a command prompt and you should run "attrib -r
> C:\Windows\system32\drivers\etc\hosts" first. And, to do so you must run
> from an elevated command prompt.
>
> 2 Se right click, property.....the read only box is NOT marked. ??????[/color]


The file is not read only (box not Checked in the property of the
hosts fiel) However I did as you told me opening notepad as
amministrator and I could modify the file.


Thank you to everybody.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
internet explorer cannot open the internet site helenmag Windows Vista 1 09-21-2007 02:30 PM
internet explorer cannot open the internet site helenmag Internet Explorer 0 09-21-2007 08:30 AM
Internet Explorer Cannot Open the Internet Site William McIlroy Internet Explorer 2 09-20-2007 01:10 PM
Vista / Internet Explorer BHO - protection problem John Dugdale Internet Explorer 2 08-02-2007 03:00 PM
Internet Explorer was not able to open this internet site? laredotornado@zipmail.com Internet Explorer 1 05-06-2007 11:02 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 12:59 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0