Hosts file - read only in Vista/ Windows 7

June 2, 2010

For experienced users

Even as an Administrator it can sometimes be tricky to edit the Hosts file in Vista, or in any Windows 7 system that has been upgraded from Vista. Generally the workaround is to open Notepad by right clicking, selecting run as administrator, and then navigating to Windows/System32/ Drivers/ etc/ hosts - editing, and remembering to save as all files, not text (just click on existing Hosts file to replace.) The hosts file ought never to have a file type extension like .txt.

However, many Vista installs - and Windows 7 upgrades from Vista - will present an Administrator with a read only hosts file. Assign yourself full control and you'll still be unable to save amendments. This issue can be overcome by undoing the read only restriction using the command line editor.

C:\Users\Administrator>cd C:\Windows\system32\drivers\etc
C:\Windows\System32\drivers\etc> attrib -s -r -h hosts

NB "Administrator" in first line is your user name. 

This will give you full control, and once you have edited you can always return the file to read only for security, just type:

C:\Windows\System32\drivers\etc>attrib +s +r +h hosts

 

[In case you're wondering, the Hosts file can be used to record regularly used (desirable) IPs to speed connectivity,
and to start a block list of advertising (such as Google) or undesirable content - in the latter case, simply specify your computer's home address : 127.0.0.1 and the domain name e.g. pagead.googlesyndication.com. In your Hosts file the new entry would look like this:

127.0.0.1    pagead.googlesyndication.com  this to stop your browser looking for ads from pagead.googlesyndication.com
208.75.208.172    myfavouritesite.com  this to speed up your browser by doing away with the need for a DNS query via, say, your ISP]

Should you wish to view, or to use a comprehensive list of ad/spy/trojan domains in your Hosts file, you could try someonewhocares.org/hosts

 

Deleting a Service in Windows 7, XP & others

May 30, 2010

Recommended for advanced users:

You might wish to delete a service at some stage, perhaps one that remains after an uninstall (I've even seen a service remain in W7 after a system restore to a point prior to the installation!)

Go to your Registry Editor (windows+R and then type regedit > enter.)
Select HKEY_LOCAL_MACHINE > System > CurrentControlSet
Select Services folder
Examine the listed services (they're in alphabetical order)
Highlight/ select the service you wish to delete > right click > d...


Continue reading...
 

Delete ICQ Search & Toolbar (Firfefox 3.6)

May 29, 2010

{The easiest method is to do a system restore to a time before the installation but as you're here you probably cannot do that}
 
Should you wish to delete ICQ, first go to add/remove programs (where you'll need to delete both the toolbar and the application)
Restart Firefox and, should ICQ still remain:

Open a fresh Firefox tab, In the URL address bar type "about:config" (not the quote marks) > notice the warning message > do be careful
In the "Filter" box type : "keyword.URL" (without quotatio...


Continue reading...
 

Windows 7 - deleting Themes

April 2, 2010

It is simple but I see many "how-to" questions on the web, so thought to place an entry here.

>Right click on your desktop
>Select "Personalize"
>Right click on the Theme you wish to delete
>Delete, and then confirm deletion

NB You cannot delete the active theme in this window, i.e. you need to have more than one theme in order for the delete option to appear when right clicking.

Should you be looking for more desktop backgrounds, have a look at some of mine - high definition wallpaper available f...
Continue reading...
 

Software Fraud on eBay (Adobe Photoshop)

April 2, 2010

In December 2009 I noticed Adobe Photoshop CS4 Extended for auction on eBay. Many copies were on sale, and I followed a few auctions to discover they were trading for around $400 (usual retail is around $1000 - Australian.) Authenticity was guaranteed by the seller, and, though I had doubts as to the provenance of the software, I was new to eBay and decided that they would not permit the trade of any suspicious items on their site. Basically, in my view, eBay's name lent credence to the selle...


Continue reading...
 

Amber Sands Beach Resort, Koh Chang, Thailand

February 9, 2009

Koh Chang is Thai for “elephant island”, a real treasure situated on the quieter, Eastern, side of the island and has its own beach frontage of about 200 meters. After our vacation in South Africa, we flew in to Bangkok’s impressive new airport from where we took a leisurely 40 minute flight to Trat in the southern mainland. From Trat we headed for the ferry terminal, and it is a half hour crossing from there.

Our hosts, Julian and Cheryl, gave us a tour of the pool area, stunning a...
Continue reading...
 

New Thumbnail Gallery

December 10, 2008
It took a bit of work, however, my new thumbnail gallery is complete.

I hope you can find a few minutes to join me there :


John Cowburn Photography



Continue reading...
 

Alexa Toolbar

December 3, 2008



Alexa dotcom provides a web information service on Internet traffic, specifically volume of traffic to a site during the preceding 3 month period.

 

Alexa ranks sites based on visits from users of its Alexa toolbar for certain browsers like Internet Explorer and Firefox; there is currently no download available for Safari.

 

It is unknown as to what proportion of all Internet users actually have the toolbar installed, and of those with it installed - just how many are representative of ...


Continue reading...
 

Traffic Exchanges - my experience

December 2, 2008
Should you be a TE surfer or be considering this multiple click pastime, this article is sure to save you time, and might just spare you from the gnarled clutches of RSI.

I joined a few traffic exchanges when I started this website; I wanted to advertise the existence of my dotcom while simultaneously trying for a decent Alexa traffic ranking. I'm not sure what a decent Alexa ranking is, but I thought something in the top one million would be sufficient.


Please note, I did not join to make mone...
Continue reading...
 

Me


John I'm an IT Professional and freelance photographer/digital artist based in Australia. Email : john [at] johncowburn.com


 

  Double Click a song to start the Playlist

 

 





Hosts file - read only in Vista/ Windows 7

June 2, 2010

For experienced users

Even as an Administrator it can sometimes be tricky to edit the Hosts file in Vista, or in any Windows 7 system that has been upgraded from Vista. Generally the workaround is to open Notepad by right clicking, selecting run as administrator, and then navigating to Windows/System32/ Drivers/ etc/ hosts - editing, and remembering to save as all files, not text (just click on existing Hosts file to replace.) The hosts file ought never to have a file type extension like .txt.

However, many Vista installs - and Windows 7 upgrades from Vista - will present an Administrator with a read only hosts file. Assign yourself full control and you'll still be unable to save amendments. This issue can be overcome by undoing the read only restriction using the command line editor.

C:\Users\Administrator>cd C:\Windows\system32\drivers\etc
C:\Windows\System32\drivers\etc> attrib -s -r -h hosts

NB "Administrator" in first line is your user name. 

This will give you full control, and once you have edited you can always return the file to read only for security, just type:

C:\Windows\System32\drivers\etc>attrib +s +r +h hosts

 

[In case you're wondering, the Hosts file can be used to record regularly used (desirable) IPs to speed connectivity,
and to start a block list of advertising (such as Google) or undesirable content - in the latter case, simply specify your computer's home address : 127.0.0.1 and the domain name e.g. pagead.googlesyndication.com. In your Hosts file the new entry would look like this:

127.0.0.1    pagead.googlesyndication.com  this to stop your browser looking for ads from pagead.googlesyndication.com
208.75.208.172    myfavouritesite.com  this to speed up your browser by doing away with the need for a DNS query via, say, your ISP]

Should you wish to view, or to use a comprehensive list of ad/spy/trojan domains in your Hosts file, you could try someonewhocares.org/hosts

 

Deleting a Service in Windows 7, XP & others

May 30, 2010

Recommended for advanced users:

You might wish to delete a service at some stage, perhaps one that remains after an uninstall (I've even seen a service remain in W7 after a system restore to a point prior to the installation!)

Go to your Registry Editor (windows+R and then type regedit > enter.)
Select HKEY_LOCAL_MACHINE > System > CurrentControlSet
Select Services folder
Examine the listed services (they're in alphabetical order)
Highlight/ select the service you wish to delete > right click > d...


Continue reading...
 

Delete ICQ Search & Toolbar (Firfefox 3.6)

May 29, 2010

{The easiest method is to do a system restore to a time before the installation but as you're here you probably cannot do that}
 
Should you wish to delete ICQ, first go to add/remove programs (where you'll need to delete both the toolbar and the application)
Restart Firefox and, should ICQ still remain:

Open a fresh Firefox tab, In the URL address bar type "about:config" (not the quote marks) > notice the warning message > do be careful
In the "Filter" box type : "keyword.URL" (without quotatio...


Continue reading...
 

Windows 7 - deleting Themes

April 2, 2010

It is simple but I see many "how-to" questions on the web, so thought to place an entry here.

>Right click on your desktop
>Select "Personalize"
>Right click on the Theme you wish to delete
>Delete, and then confirm deletion

NB You cannot delete the active theme in this window, i.e. you need to have more than one theme in order for the delete option to appear when right clicking.

Should you be looking for more desktop backgrounds, have a look at some of mine - high definition wallpaper available f...
Continue reading...
 

Software Fraud on eBay (Adobe Photoshop)

April 2, 2010

In December 2009 I noticed Adobe Photoshop CS4 Extended for auction on eBay. Many copies were on sale, and I followed a few auctions to discover they were trading for around $400 (usual retail is around $1000 - Australian.) Authenticity was guaranteed by the seller, and, though I had doubts as to the provenance of the software, I was new to eBay and decided that they would not permit the trade of any suspicious items on their site. Basically, in my view, eBay's name lent credence to the selle...


Continue reading...
 

Amber Sands Beach Resort, Koh Chang, Thailand

February 9, 2009

Koh Chang is Thai for “elephant island”, a real treasure situated on the quieter, Eastern, side of the island and has its own beach frontage of about 200 meters. After our vacation in South Africa, we flew in to Bangkok’s impressive new airport from where we took a leisurely 40 minute flight to Trat in the southern mainland. From Trat we headed for the ferry terminal, and it is a half hour crossing from there.

Our hosts, Julian and Cheryl, gave us a tour of the pool area, stunning a...
Continue reading...
 

New Thumbnail Gallery

December 10, 2008
It took a bit of work, however, my new thumbnail gallery is complete.

I hope you can find a few minutes to join me there :


John Cowburn Photography



Continue reading...
 

Alexa Toolbar

December 3, 2008



Alexa dotcom provides a web information service on Internet traffic, specifically volume of traffic to a site during the preceding 3 month period.

 

Alexa ranks sites based on visits from users of its Alexa toolbar for certain browsers like Internet Explorer and Firefox; there is currently no download available for Safari.

 

It is unknown as to what proportion of all Internet users actually have the toolbar installed, and of those with it installed - just how many are representative of ...


Continue reading...
 

Traffic Exchanges - my experience

December 2, 2008
Should you be a TE surfer or be considering this multiple click pastime, this article is sure to save you time, and might just spare you from the gnarled clutches of RSI.

I joined a few traffic exchanges when I started this website; I wanted to advertise the existence of my dotcom while simultaneously trying for a decent Alexa traffic ranking. I'm not sure what a decent Alexa ranking is, but I thought something in the top one million would be sufficient.


Please note, I did not join to make mone...
Continue reading...
 
Make a Free Website with Yola.