Locking host file in Windows XP without any 3rd party application

Nowdays, I noticed that many times malware attacks hosts file. They modify it and redirect antivirus sites to their IPs. To avoid this we need to lock file. Zone alarm has option to lock hosts file. But if u want it without any tool just do it as below.
 
Go to CMD prompt in windows by start –> run –> cmd 
 
type following commands
 
===
cd c:windowssystem32driversetc
attrib +R hosts
 
===
this will lock host file in windows xp

Neelesh Gurjar has written 122 articles

Leave a Reply