How to restore network and LAN configuration after virus infection?


  1. Posts : 48
    WINDOWS 7 HOME PREMIUM
       #1

    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 Computer


  2. Posts : 983
    7 x64
       #2

    Get rid of the virus. Best way is to Wipe the drive and Reinstall Windows.
      My Computer


  3. Posts : 48
    WINDOWS 7 HOME PREMIUM
    Thread Starter
       #3

    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 Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    Move to a safe distance and nuke it from space,...it's the only way to be sure.
      My Computer


  5. Posts : 48
    WINDOWS 7 HOME PREMIUM
    Thread Starter
       #5

    Iīm sorry, but I cannot understand you, can you explain it more simple or with other words?
      My Computer


  6. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #6

    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 Computer


  7. Posts : 48
    WINDOWS 7 HOME PREMIUM
    Thread Starter
       #7

    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 Computer


  8. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #8

    You can use that Batch file on XP too.
      My Computer


  9. Posts : 48
    WINDOWS 7 HOME PREMIUM
    Thread Starter
       #9

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 10:55.
Find Us