BleepingComputer.com: Can't Get Into My Hosts File

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't Get Into My Hosts File help with notepad (or whatever else works)

#1 User is offline   jonnyD 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 3
  • Joined: 04-September 07

Posted 04 September 2007 - 03:07 PM

I recently read about adding website names in the hosts file to prevent access on them on my home computer. I went to: start>my computer> local disk c:> Windows> system32> drivers> etc > hosts. A dialogue box asks which program I want to use to open the hosts file with. I chose Notepad (which I read somewhere was the correct program). I get an error essage which says: "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." Now since I have a stand-alone desktop computer, why would I not have permission to access my hosts file? I get the same error message when I just try to open Notepad from start>all programs>accessories>notepad. I have Windows XP Pro version 2002 with SP2, AMD Athlon XP 2400+, 1.99GHz, 1.5 gigs RAM.

Once I get access to the hosts file, what is the exact way to type in the websites so I can block them on my computer?

#2 User is offline   garmanma 

  • Computer Masochist
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Staff Emeritus
  • Posts: 27,809
  • Joined: 27-January 07
  • Location:Cleveland, Ohio

Posted 04 September 2007 - 03:49 PM

Here's the help page
http://mvps.org.
and their FAQ page
http://mvps.org
Many people use it, personally I had issues with it
Mark
Mark
Posted Image
why won't my laptop work?

Having grandkids is God's way of giving you a 2nd chance because you were too busy working your butt off the 1st time around
Do not send me PMs with problems that should be posted in the forums. Keep it in the forums, so everyone benefits
Become a BleepingComputer fan: Facebook and Twitter

#3 User is offline   arcman 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 706
  • Joined: 08-December 06
  • Location:Michigan

Posted 04 September 2007 - 03:57 PM

Right click on the hosts file, click properties, and select the security tab. Make sure in the Administrators item, "Full Control" is selected.
Posted Image

#4 User is offline   jonnyD 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 3
  • Joined: 04-September 07

  Posted 05 September 2007 - 07:52 AM

I right-clicked on "properties" in the hosts file. There was only a "general" and "summary" tab. Nothing about security. Additionally, I tried to go directly into Notepad again and I got this additional error message: Windows cannot open thos program because it has been prevented by a software restricion policy. For more information contact your system administrator.

I don't have an administrator. What do I do?

#5 User is offline   arcman 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 706
  • Joined: 08-December 06
  • Location:Michigan

Posted 05 September 2007 - 03:02 PM

Disable Simple File Sharing, that should give you the security tab.
http://www.practicallynetworked.com/sharin...mplesharing.htm
Posted Image

#6 User is offline   DanC1186 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 82
  • Joined: 27-October 06

Posted 05 September 2007 - 05:25 PM

View Postarcman, on Sep 5 2007, 04:02 PM, said:

Disable Simple File Sharing, that should give you the security tab.
http://www.practicallynetworked.com/sharin...mplesharing.htm



Yeah. If that doesn't work, I would have to ask if you have any program installed that is locking the host file?? I know SpybotSD allows you to do this as well as a handful of other security programs.

#7 User is offline   arcman 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 706
  • Joined: 08-December 06
  • Location:Michigan

Posted 05 September 2007 - 09:04 PM

The only way I can think of that you still wouldn't have access to the file is if you didn't have ownership of the file, or it was in use by another process. If you don't have ownership, here's how you get it back: http://support.microsoft.com/kb/308421
And if it's in use by another process, you could access it by booting into Safe Mode (press F8 while booting), or boot into the Recovery Console with a WinXP CD: http://support.microsoft.com/kb/307654#3
Posted Image

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users