Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: how do i edit my host file in Windows\System32\drivers\etc -

06 Jun 2013   #1
andreea115

windows 7 Home Premium 32bit
 
 
how do i edit my host file in Windows\System32\drivers\etc -

Hi everyone

i am using windows 7 on my HP laptop.

I am trying to edit my host file . This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

The location of the file is: C:\Windows\System32\drivers\etc

The systems on my laptop seem to be incorrectly configured to prevent me from editing this file.

i opened the host file doc with notepad and then tried to edit it and save the file.

However, each time i tried to edit the file, my system gave me the following message:

You don't have permission to save in this location. Contact the administrator to obtain permission
Would you like to save in the My Documents folder instead?


this has to be incorrect - as i entered notepad as a system administrator . So i don't know why its giving this message.

is there anywhere where i can go on the system to reconfigure windows to allow me to edit this folder/ or to grant permission to the system administrator to edit the folder?

warm regards

Andreea


My System SpecsSystem Spec
.
06 Jun 2013   #2
boohbah

Microsoft Windows 7 Home Premium 64-bit 7600
 
 

you need to turn off UAC first.

User Account Control - UAC - Change Notification Settings

remember to turn it back on if that is your preference
My System SpecsSystem Spec
06 Jun 2013   #3
andreea115

windows 7 Home Premium 32bit
 
 

hi

i Boolhah. thank you for your reply. i went to the UAC and changed the settings to Zero but to know effect .

am i supposed to reboote my computer?

Also, i noticed that the UAC is for the notification of administrators when a change is made to teh computer. is this, therefore, the correct button to change. is there another panel that needs to be changed that will actually allow me to make changes to the host file.

warm regards

Andreea
My System SpecsSystem Spec
.

06 Jun 2013   #4
boohbah

Microsoft Windows 7 Home Premium 64-bit 7600
 
 

you have to reboot when you turn off UAC,
once done it will be fine.
then turn it back on after.
there is no other panel needs to open.
when you turn it back on you dont need to reboot.
My System SpecsSystem Spec
06 Jun 2013   #5
andreea115

windows 7 Home Premium 32bit
 
 

Hi Boohah.

thank you so much. i will do that .

do i need to turn it right down?

if so, is that safe to the systems- i mean. does it expose me to viruses etc.

warm regards

Andreea
My System SpecsSystem Spec
06 Jun 2013   #6
boohbah

Microsoft Windows 7 Home Premium 64-bit 7600
 
 

it will be fine whilst you edit the hosts file.
then once its done and the changes made then slide it back up to where you want.
My System SpecsSystem Spec
07 Jun 2013   #7
andreea115

windows 7 Home Premium 32bit
 
 

hello Boohbah

thank you very much for your help. it worked.

i am extremly grateful

warm regards

Andreea
My System SpecsSystem Spec
Reply

 how do i edit my host file in Windows\System32\drivers\etc -




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
File: \Windows\system32\winload.exe missing or corrupt
I'm trying to repair my cousin's laptop. It's lenovo X120e Windows 7. I think it's 32-bit version of windows. The laptop is a netbook so there is no cd/dvd drive so I'm loading the Windows 7 disks through flash drive or usb method to use the Windows 7 repair. I tried using the startup repair but it...
BSOD Help and Support
svchost.exe file in the /windows directory not system32
Anyone else able to help on this? My issue is pretty much the same.... I have a svchost.exe file in the /windows directory (not system32, where it SHOULD be). All the usual virus/malware cleaning programs can't get rid of it (I've run Hitman Pro, Malware Bytes, and TDSS Killer). Malware Bytes...
System Security
windows/system32/drivers completely missing
Hello everyone. my girlfriend started complaining yesterday that her computer was running extremely slow so i remoted in to clean it up a little bit and see what i could do. I went to run hijackthis and to my suprise it came back and said it would not be able to give me a accurate scan because it...
Drivers
Can't modify host file in windows 7
Hi, I am using windows 7 professional. I can't change the host file even with the administrator user or any other user that has been given the administrator privileges which i could do easily in win xp. Any suggestions can help me a lot. Thanks in advance. Asad
System Security
c:\windows\system32\drivers\pwzswb
c:\windows\system32\drivers\pwzswbfdzrbrwme.sys is corrupt according to test. I cannot get the pc to boot up in windows 7 I don't believe this is a real windows file, but may have been some virus to lock down windows. Any ideas how to re start ( without doing a complete re boot from the...
BSOD Help and Support
Windows 7 Host File
Hi all, just joined, so hope I'm in the right area :D When editting the Windows Host File to block web sites, does editting this file affect EVERY user on the system? I'm running Windows 7 Ulimate with 2 users. Me, being Administrator. Thank you.
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:34.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App