CrazyEngineers Forum

******************************************
Welcome To CrazyEngineers (CE) – an online community of engineers from all over the world! With the younger CEan at 84 and the youngest at 16, CE boasts of professional engineers, students, professors, entrepreneurs, CEOs, geeks & nerds. We exchange innovative ideas, share knowledge, help each other and expand our worldwide network of engineers! You need not have a formal degree in engineering to be a part of CrazyEngineers! Need we say more?
Join CE! | Be a CE Ambassador! | Forgot password? | Sponsor CE | Contact Us
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Computer Science & IT Engineering
Reply

  #1 (permalink)
Old 9th January 2008, 01:46 PM
Good Administrator
 
The_Big_K's Avatar
 
I'm a Crazy Electrical Engineer
Join Date: 26th November 2005
Location: Terra-Firma
Posts: 4,996
Send a message via Yahoo to The_Big_K
Talking Editing C:\Windows\System32\drivers\etc\hosts file on Windows Vista

CEans,

I think following information might be useful to you. Windows Vista does not let you mess with the hosts file located at C:\Windows\System32\drivers\etc\

(even if you are logged in as an administrator).

There is a simple workaround for it.

Follow these steps:-

1. Click on Start Button
2. Rt. click on 'Notepad'
3. Click "Run As Administrator"
4. Click "Continue" on the prompt
5. Navigate to C:\Windows\System32\drivers\etc\ using Notepad's 'Open' location option.
6. Select 'all files' and then choose the 'hosts' file. Make necessary changes and save!

Simple, isn't it?
The_Big_K is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)
Old 10th January 2008, 12:43 PM
CEan - Value Adder
 
kidakaka's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 18th October 2006
Location: Mumbai, Hyderabad
Posts: 465
Send a message via AIM to kidakaka Send a message via MSN to kidakaka Send a message via Yahoo to kidakaka Send a message via Skype™ to kidakaka
Default Re: Editing C:\Windows\System32\drivers\etc\hosts file on Windows Vista

Hi Biggie,

I did have Vista for some time, used it only as Admin. You can do this directly as well. Open the file in notepad or notepad++ and do the changes.

Vista Home right?
kidakaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 10th January 2008, 03:34 PM
Good Administrator
 
The_Big_K's Avatar
 
I'm a Crazy Electrical Engineer
Join Date: 26th November 2005
Location: Terra-Firma
Posts: 4,996
Send a message via Yahoo to The_Big_K
Default Re: Editing C:\Windows\System32\drivers\etc\hosts file on Windows Vista

I'm not quite sure. I've admin credentials for my Vista Business edition, but I can't save the 'hosts' file simply by clicking 'save' button.

The notepad must be run as administrator (described above) so that hosts file can be saved.

More inputs are welcome
The_Big_K is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 10th January 2008, 07:19 PM
CEan - Value Adder
 
kidakaka's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 18th October 2006
Location: Mumbai, Hyderabad
Posts: 465
Send a message via AIM to kidakaka Send a message via MSN to kidakaka Send a message via Yahoo to kidakaka Send a message via Skype™ to kidakaka
Default Re: Editing C:\Windows\System32\drivers\etc\hosts file on Windows Vista

A similar file is there in linux - /etc/hosts
And you have to do a similar thing to edit it - sudo vi /etc/hosts

Guess MS has finally decided to do the right thing

Waise, for newbies, the hosts file is used to resolve a domain at the client stage itself. So, if you know the ip address of a server, then just make the entry here to cut the time for the domain name look up
kidakaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT +5.5. The time now is 10:47 PM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger