📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Host File Repair
debitcardmayhem
Posts: 14,324
Forumite
in Techie Stuff
In the light of this wonderful spate of System Tools infections many suggestions have been made to download various Host file repairers.
However if the affected can right click on Windows\System32\cmd.exe and run as admin then it is really should be simple as
running this in the command window (ie paste if possible)
Please feel free to shoot me down in flames.
However if the affected can right click on Windows\System32\cmd.exe and run as admin then it is really should be simple as
running this in the command window (ie paste if possible)
cd \Windows\System32\drivers\etc attrib -r HOSTS copy HOSTS HOSTS.infected echo 127.0.0.1 localhost > HOSTS echo ::1 localhost >> HOSTSOr I am being over simple (as usual:eek:). The copy step is not needed but it gives us a clue later if [STRIKE]we[/STRIKE] you wish to investigate.
Please feel free to shoot me down in flames.
4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 + Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com
CEC Email energyclub@moneysavingexpert.com
0
Comments
-
Could you explain how I would know if my hosts file would need repair? Also, and sorry to appear stupid, but if I overwrite the file with a newer version, would it have an effect on my internet connection or the settings on my wireless router?0
-
Hi, I have posted this for review at the moment, but no you are not appearing stupid, I can sometimes but questions that you don't know the answer to are never that. I seem to remember you have suffered from the System Tools problems. Your hosts file should not interfere with your router , it will tell your PC what the IP address of say Google.com is (Think of the IP address as a telephone number so your PC can call google) Now the HOSTS file is a local file which your PC looks at first to see if it can find the address of Google locally. If not your PC asks your router to call "directory Enquiries" for you to get the number for Google.com . The router normally asks your ISP for this and there you go you can contact google. SOmetimes Malware hijacks your hosts file , and also hijacks your PC's TCP settings to use a fake number for google or to in some cases changes the "directory services" number to theirs. The directory services number is called DNS for Domain Name Services.Could you explain how I would know if my hosts file would need repair? Also, and sorry to appear stupid, but if I overwrite the file with a newer version, would it have an effect on my internet connection or the settings on my wireless router?
SO if you think you have a problem then let us(the royal we) know.
I can see your original post on the screen now so I will go back to that now and give you some pointers. OK hope that helps https://forums.moneysavingexpert.com/discussion/30828104.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 + Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0 -
Or save yourself a great deal of time every time someone inserts a trojan into some ad provider to infect PC's and just run your browser in a sandbox. If anyone tries anything like that again just delete the sandbox and none of your system files will be altered. Just take steps to preserve bookmarks and deal with any extensions.
It won't fix current problems but prevention is easier than.....
But it looks like that should restore any unaltered hosts file, although earlier windows such as XP doesn't have the last line in it.0 -
Yeah but het TCP/IP 6 is around the corner and it won't cause any harm either AFAIKA.Penny.Saved wrote: »Or save yourself a great deal of time every time someone inserts a trojan into some ad provider to infect PC's and just run your browser in a sandbox. If anyone tries anything like that again just delete the sandbox.
It won't fix current problems but prevention is easier than.....
But it looks like that should restore any unaltered hosts file, although earlier windows such as XP doesn't have the last line in it.4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed 5.07 + Octopus Intelligent Flux leccy
CEC Email energyclub@moneysavingexpert.com0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 355.8K Banking & Borrowing
- 254.9K Reduce Debt & Boost Income
- 456.2K Spending & Discounts
- 248.4K Work, Benefits & Business
- 606K Mortgages, Homes & Bills
- 179K Life & Family
- 263.8K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards