Issue


Unable to access Google ,Youtube...etc
Error message:
404 not found error nginx   

Reason:HOST FILE has been hijacked

Solution

  • For XP:
    • Click on Start > Run >Type cmd
  • For Vista and 7:
    • Click in Start > Type cmd in the Search field> Right click > Run as Admnistrator.


Then enter these commands one by one (press enter after every command ):
  • Command 1:
    • cd c:\windows\system32\drivers\etc   
  • Command 2:
    • cacls hosts /p everyone:f   
  • Press Y and enter


There are cases when you may get an error 'The system cannot find the file specified'
Reason why you face this issue is your hosts file may have got deleted and your computer may use backup file called hosts.old or hosts.backup which may have been hijacked.In those cases I will recommend you to replace hosts with hosts.old in every command
  • Command 3:
    • attrib hosts -s -h -r   
  • Command 4:
    • notepad hosts   

This command pops up a notepad,now remove unwanted entries below this line

 127.0.0.1       localhost              -XP       
 ::1             localhost              -vista and windows 7   

or try Norton Power Eraser http://security.symantec.com/nbrt/npe.aspx?

Article ID: 58, Created On: 9/23/2011, Modified: 9/24/2011

Comments (0)