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: How to restore network and LAN configuration after virus infection?

12 Dec 2012   #1
miros84

WINDOWS 7 HOME PREMIUM
 
 
How to restore network and LAN configuration after virus infection?

Hello,

Some times I have got any computer thatīs infected by some virus and internet is not working. Booting Linux, Internet is working, but in Windows it is not. I am sure itīs virus problem, because IP, and others adjust are OK. Sometimes after scanning Windows with some antivirus system, internet works, but sometimes it doesnot.
Well, is there any way to restore and repair damage caused by some virus or windows crushed, that are affected Internet? Now I have a computer that only things is affected is internet conexion. It doesnot work.

I repeate, is not a problem with LAN card, IP adress, so on...

Wait for ideas to check and try.


My System SpecsSystem Spec
.
13 Dec 2012   #2
edwar

7 x64
 
 

Get rid of the virus. Best way is to Wipe the drive and Reinstall Windows.
My System SpecsSystem Spec
13 Dec 2012   #3
miros84

WINDOWS 7 HOME PREMIUM
 
 

Yeah, I removed the virus, but this virus has changed something inthe configuraiton of Windows. I am sure there is some way to chech and fix this configuration but I dont know how to do it.
There is some command in CMD or some bat file to can fix that?
My System SpecsSystem Spec
.

13 Dec 2012   #4
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Move to a safe distance and nuke it from space,...it's the only way to be sure.
My System SpecsSystem Spec
13 Dec 2012   #5
miros84

WINDOWS 7 HOME PREMIUM
 
 

Iīm sorry, but I cannot understand you, can you explain it more simple or with other words?
My System SpecsSystem Spec
13 Dec 2012   #6
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

Try flushing the DNS cache and restoring MS's Hosts file:

Copy and paste these lines in Note pad--->

@Echo on
pushd\windows\system32\drivers\etc
attrib -h -s -r hosts
echo 127.0.0.1 localhost>HOSTS
attrib +r +h +s hosts
popd
ipconfig /release
ipconfig /renew
ipconfig /flushdns
netsh winsock reset all
netsh int ip reset all
shutdown -r -t 1
del %0


Save as flush.bat to your desktop.
Double click on the flush.bat file to run it.Vista and Windows 7... right click the .bat file and choose to run as Administrator. Your computer will reboot itself.
My System SpecsSystem Spec
13 Dec 2012   #7
miros84

WINDOWS 7 HOME PREMIUM
 
 

Hello Jacee

That is right what I was looking for. I will try it and tell you if that works for me.
But is that only for Windows vista and 7?
Can I do it for XP?
My System SpecsSystem Spec
14 Dec 2012   #8
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

You can use that Batch file on XP too.
My System SpecsSystem Spec
16 Dec 2012   #9
miros84

WINDOWS 7 HOME PREMIUM
 
 

I will test that. If that doesnot work, next step is clean reinstall of windows or there is something more that I can do?
My System SpecsSystem Spec
Reply

 How to restore network and LAN configuration after virus infection?




Thread Tools




Similar help and support threads
Thread Forum
Help me remove virus/infection
Hi Friends, I need some help removing the malware/virus please. I have tried MB but it stuck on Heuristic Analysis for a long time, I am unable to uninstall any programs, right click doesn't respond, I have been using AVG2014 for AV. Thanks in advance.
System Security
[WTA] Virus Infection from another Notebook
guys , sorry for a weird question, i want ask , when i lend my friends HDD External , lookslike his notebook have virus, then i ask him to format then safely remove, if like that , that virus will infect the HDD External after format ? and will infect too clean notebook if i plug-in to clean...
System Security
Infection by fake AV virus
Visiting a friend who is massively infected by fake AV scan. All of his files are hidden and nothing will run. I just ran bootable Windows Defender Offline which appears to have found nothing. System Restore is infected back a few days although there are more points to go back further. Any...
System Security
BSOD after virus infection and removal
Yesterday I had a virus infection on my computer, which brought up a fake "Anti virus Protection" tool. I've had these in the past, and I usually just restore from my Acronis True Image backup, which is scheduled to run each day and backup my entire C drive. The problem this time is that even...
BSOD Help and Support
Big virus infection going on here
i have a huge virus infection going on in my PC and i just reinstalled the windows:mad: i got the following ones: hotstopshield trojan.win32.Generic!BT backdoor.win32.hupigon everytime i scan i find them in here , but cant remove them , anyone?
System Security
Constant BSODs after virus infection
Hey guys. I got a virus two days ago (Avast claims it was a rootkit) and I've been hitting BSOD after BSOD. I've since scanned the PC with numerous programs (Avast, MBAM, Avira, Microsoft Security Essentials, Microsoft Malicious Software Removal Tool) and I'm fairly sure it's clean now. However,...
BSOD Help and Support


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 16:05.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App