Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The computer (HP laptop, Vista 64bit Home Premium SP1) had/has viruses. To remove viruses, I took out drive and hooked up to another computer and used 2 different scanners to remove viruses. I then put the drive back in the laptop and now I am trying to run Spybot/SUPERAntiSpyware and other programs on the laptop but I can't get the network to work. Both the wired and wireless network adapters will not get an IP address using DHCP. If I statically assign a valid IP, Gateway, and DNS server the little icon in the system tray switches to the globe but I cannot ping or resolve DNS addresses.

I have tried two commands in cmd:

netsh winsock reset


netsh int ip reset

and restarted in between but it didn't help. Are there any other steps I can try before I have to just reinstall Vista?

share|improve this question
up vote 1 down vote accepted

Do you have Norton 360 or any other Norton networky kind of program installed? If so, try disabling it and restarting. Try also toggling the Windows Firewall on or off to see if this has any effect.

Otherwise, try a quick scan for any corrupt system files (have your Vista installation media at the ready.) Click the Start button, type sfc /scannow and hit Enter. Once the box telling you its scanning disappears, restart and see if the problem is resolved. If you had an infestation that broke any system files, especially relating to networking, this may well do the trick.

Failing that, try a system restore back to a point before you picked up the nasties. I would put my money on this fixing it.

If you wanted to give it a go, there is a tutorial on doing a repair installation under Vista. I would personally skip that and go straight for the reinstall as you suggested. Viruses can get so deep into the system, affect so many system files and get so well hidden, sometimes it's less painful to just reinstall. Plus, you'll get a super speedy computer out of it (or at least super speedy as far as Vista goes... ;-)

share|improve this answer
tried sfc and it found unrepairable problems. Ended up backing up the data and doing a doing a factory restore to fix the computer. I did the factory restore instead of a repair because the computer did have viruses. – myscreennameistoolong Feb 20 '10 at 1:47

netsh interface reset all
reset all interfaces: 6to4, HTTPSTunnel, ipv4, ipv6, isatap, portproxy, tcp, teredo

But I don't know exactly what you risk to do it (not much I think, except reinstalling/reconfiguring network related software & windows parameters...)

share|improve this answer
I tried doing this but it didn't help. System File Check (sfc) showed unfixable bad files so I went ahead and did a factory restore on the system. This solution may work for other people. – myscreennameistoolong Feb 22 '10 at 21:37

Has the HOSTS file been modified by the malware? That would create some network issues. Can you do tracert to a known host like ( and see where your packets fail?

share|improve this answer
The hosts file only has two entries, one for IPv4 local host and the other for IPv6 localhost. When I try to ping localhost it says "General Failure" – myscreennameistoolong Feb 19 '10 at 19:11
Do you need IPv6? Try disabling it. – Dave M Feb 19 '10 at 19:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .