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: Is it possible to make changes to hosts file require restart?

07 Jul 2015   #1
LoveW7

windows 7
 
 
Is it possible to make changes to hosts file require restart?

Is it possible to make changes to hosts file require restart before they apply?


My System SpecsSystem Spec
.
07 Jul 2015   #2
Ztruker

Windows 10 Pro X64
 
 

Certainly a possibility. Does it work after restart? If yes then that answers your question.
My System SpecsSystem Spec
08 Jul 2015   #3
Alejandro85

Windows 7 Ultimate x64
 
 

No. Changes to hosts file applies immediately. No restart or even logoff is needed, as soon as you press save on notepad any running program will instantly start resolving DNS request using the modified hosts. This is easy to verify with a ping, change hosts, ping again.
My System SpecsSystem Spec
.

08 Jul 2015   #4
LoveW7

windows 7
 
 

Yes, I know that it applies instantly. My question was if I can make it no be so. I wanted that those changes wouldn't apply before restart.
My System SpecsSystem Spec
08 Jul 2015   #5
LMiller7

Windows 7 Pro 64 bit
 
 

There is no provision in Windows to do this. Why do you need this?
Often when you come across such a perceived need it is time to rethink you problem. There is probably a better way.
My System SpecsSystem Spec
Reply

 Is it possible to make changes to hosts file require restart?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
You require permission from SYSTEM to make changes to this file?
Basically when I try to delete some folders, an error message pops up saying "You require permission from SYSTEM to make changes to this file". My knowledge only stretches so far so any help will be much appreciated...cheers
General Discussion
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
Why do even small updates require a system restart
Hi all. I've often wondered why so many Windows Updates require a System Restart including often quite small updates. This is akin to having your Mobile Phone provider shut down the network every time for example they want to add new a new suscriber or make an app available. I remember...
Windows Updates & Activation
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials
Updates that require restart doom my pc. Constant system recovery
So this is my sisters laptop. Her lil trackpad or whatever is called wasn't working either so i just decided to do a clean install. The install seemd to go good but the pad was still not working, but i soon realized that was the least of my problems. Windows 7 updates came up so i just installed...
BSOD Help and Support
Programs that require system restart
I seem to be having a problem with programs that require a system restart before installing, for instance Alcohol 120%; Daemon Tools; etc. They display a message saying that you need to restart your system before installing this software and you just press yes and the computer restarts...
Software


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:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App