Little tip if disabling/enabling Hosts File
#1 OFFLINE
Posted 22 November 2007 - 04:19 PM
Thanks to JD's observations a while back, I now disable my Hosts File to check particular sites (eg hosting sites), before posting on the forum. There are some nasty ads on some of these places.
So I have a shortcut on my desktop straight to the Hosts File. Trouble was, every time I renamed it to disable it, it reverted to a "notepad" type file which was a flaming nuisance to change back to the "hosts" type.
I found that by making the file "read only" in the right click properties menu, I could rename it back and forth without it reverting to a "notepad" file.
Only a small thing, but it's saved me a lot of time.
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#2 OFFLINE
Posted 22 November 2007 - 04:38 PM
DennisD, on Nov 22 2007, 11:19 AM, said:
Thanks for the tip. I'll use it.
#4 OFFLINE
Posted 22 November 2007 - 05:55 PM
At the risk of everyone saying "I've been doing that for years" or even "why bother!" ...does anyone else start a scan running, and then press the start button and leave the menu up to prevent the screensaver coming on?
http://www.piriform.com/docs
#5 OFFLINE
Posted 22 November 2007 - 11:36 PM
Reminds me, I use another little tip of yours posted on here a little while back, i.e. ocassionally switch off at the mains and shortly thereafter hold the pc on switch. Why? Here.
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#6 OFFLINE
Posted 23 November 2007 - 12:55 AM
CeeCee, on Nov 22 2007, 12:24 PM, said:
How will that affect SpyBot 1.5s procedure of updating the hosts file pretty often? I am only using the spybot hosts file, letting the app update it at will.
Thanks.
#7 OFFLINE
Posted 23 November 2007 - 01:52 AM
login123, on Nov 23 2007, 12:55 AM, said:
#8 OFFLINE
Posted 23 November 2007 - 02:26 AM
CeeCee, on Nov 22 2007, 11:24 AM, said:
I personally have my HOSTS files (yes plural, I simply merge them with a batch file) stored on another hdd and when updating them I update them on that other hdd and then use a batch file installer to copy them to the proper location. That's I why I never worry about a HOSTS file hijack or even a false positive relating to the HOSTS file anymore.
---------
Spybot-S&D sets the HOSTS file to read-only anyways and always has to my knowledge so updating it won't be an issue at all.
#9 OFFLINE
Posted 23 November 2007 - 02:36 AM
Andavari, on Nov 23 2007, 02:26 AM, said:
Yes that's true, but it's still at least an small layer of security...
Andavari, on Nov 23 2007, 02:26 AM, said:
How can you lock the HOSTS file?
#10 OFFLINE
Posted 23 November 2007 - 01:02 PM
CeeCee, on Nov 22 2007, 08:36 PM, said:
How can you lock the HOSTS file?
#11 OFFLINE
Posted 23 November 2007 - 01:43 PM
login123, on Nov 22 2007, 04:38 PM, said:
Thanks for the tip. I'll use it.
If you're following this thread, it seems we're getting nearer and nearer your observation.
CeeCee, on Nov 23 2007, 02:36 AM, said:
It appears that you can do it here as well.
If you have IE tweaks checked, it gives you the above option.
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#12 OFFLINE
#13 OFFLINE
Posted 23 November 2007 - 06:41 PM
CeeCee, on Nov 23 2007, 10:39 AM, said:
Of course read-only and locked are two different things.
#14 OFFLINE
Posted 23 November 2007 - 06:55 PM
Andavari, on Nov 23 2007, 06:41 PM, said:
It would be nice, if it could be possible to "gray out" the option after it's set to "read only". That way it wouldn't be so easy to undone it.
#15 OFFLINE
Posted 23 November 2007 - 09:02 PM
CeeCee, on Nov 23 2007, 04:39 PM, said:
Andavari: So is HostsMan actually able to lock it?
Of course you're right CeeCee. What on earth had me thinking that "Lock Hosts File Read Only" meant that Spybot would lock the Hosts File to read only.
Trouble is, there's probably a lot of folk who think that this actually does what it says.
Temporarily installed HostsMan an hour ago, but can't find any way to lock the Hosts file. I may have missed something, but I don't think I did.
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#16 OFFLINE
Posted 23 November 2007 - 10:22 PM
DennisD, on Nov 23 2007, 09:02 PM, said:
DennisD, on Nov 23 2007, 09:02 PM, said:
#17 OFFLINE
Posted 24 November 2007 - 01:30 AM
Hi Dennis
, I use (Bluetack's Hosts Manager) instead of using Spybot.
Quote Button shows • • mark your HOSTS file as Read Only before leaving the program, the Read Only attribute will be set automatically. (recommended option to try to protect the file from non-authorized changes) It will switch to Writable automatically when you click the Save button or when an automated save is done. Disable – Enable Allows you to temporally disable the HOSTS file. Instead of marking several entries as disabled, you can use this option to rename the HOSTS file. Don't forget to enable the HOSTS file again when needed, this will not be done automatically when you close the program.
#18 OFFLINE
Posted 24 November 2007 - 02:20 PM
I only realised it had the supposed "lock" function after Andavari mentioned Hosts File and Spybot in the same sentence, and then having a browse through Spybots various options.
I'll have a look at that application although I like the simplicity of using a desktop shortcut straight to the Hosts File itself, although the update feature is handy.
BlueTack Host Manager:
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition












