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: WAN miniport drivers vanished,can't reinstall PLEASE help.

21 Mar 2012   #1
DamnWanMiniPort

win7 32b
 
 
WAN miniport drivers vanished,can't reinstall PLEASE help.

Hello, this is my first post i don't have much time to write it so i will go straight to the point!

Today while i was trying to connect to the internet i discovered that my network card and some other components showed up in device manager with the following message "This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)""

I don't know why this has happened , i did nothing to cause it, no recent installs or other modifications it just happened for no apparent reason.

I have managed to install my network card and 2-3 other things from the Network category back but i still have a lot of WAN miniports that i can't install , i have been trying for more than 5 hours to resolve this issue with no success.

I need the WAN miniports to be installed in order to connect to the internet since i have to dial a connection, please if someone could guide me in resolving this issue it would be a VERY big help for me since i don't want to reinstall my windows .

I have attached a screen shot from the task manager with the WAN miniports that still have the error31 message.

Thank you in advance !




Attached Thumbnails
-untitled.png  
My System SpecsSystem Spec
.

21 Mar 2012   #2
seavixen32

Windows 7 Ultimate SP1 64-Bit
 
 

Welcome to Windows Seven Forums.



Several options open to you:
  1. Install latest chipset drivers from your motherboard manufacturer and/or computer manufacturer.
  2. System restore to a point in time before the problem occurred.
  3. A repair install of Windows 7: Repair Install
  4. A clean install of Windows 7: Clean Install Windows 7
My System SpecsSystem Spec
21 Mar 2012   #3
quickdraw2011

windows 7 home premium 64 bit
 
 

Not sure, if this will help?

Here are the steps to re-install WAN miniport devices

Step 1: Uninstall WAN Miniport Devices


1. Open Device Manager (devmgmt.msc) and on the view menu select Show hidden devices

2. Under Network adapters, you will see WAN miniport devices (IP, L2TP, Pppoe, PPTP). If you don’t see these, skip to the Step 2 section

3. Open Registry editor (regedit.exe)

4. Browse to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318} and Export this registry subkey

5. Click each of the registry subkeys under this key. Look up the data value in DriverDesc. Find the subkey that corresponds to the miniport device for example, WAN Miniport (IP).

6. Right click the subkey (for example 005), and then click delete. Click Yes to confirm deletion

7. Go into Device Manager and right click the miniport device that corresponds to the subkey that was deleted. Select uninstall and confirm uninstallation

8. Repeat this process for all miniport devices that you need to uninstall

Step 2: Reinstall WAN Miniport Devices


9. Find netrasa.inf in c:\windows\inf

10. Make a copy of this file (netrasa.bak)

11. Open netrasa.inf and comment out the following section:
Before

[ControlFlags]
ExcludeFromSelect =\
SW\{eeab7790-c514-11d1-b42b-00805fc1270e},\
MS_IrdaMiniport,\
MS_IrModemMiniport, \
MS_L2tpMiniport,MS_PptpMiniport,\
MS_PppoeMiniport, \
MS_NdisWanBh,\
MS_NdisWanIp,\
MS_NdisWanIpv6,\
MS_NdisWanNbfIn,MS_NdisWanNbfOut

After

[ControlFlags]
;ExcludeFromSelect =\
; SW\{eeab7790-c514-11d1-b42b-00805fc1270e},\
; MS_IrdaMiniport,\
; MS_IrModemMiniport, \
; MS_L2tpMiniport,MS_PptpMiniport,\
; MS_PppoeMiniport, \
; MS_NdisWanBh,\
; MS_NdisWanIp,\
; MS_NdisWanIpv6,\
; MS_NdisWanNbfIn,MS_NdisWanNbfOut
12. Start the Add Hardware Wizard from control panel

13. Select Yes, I have already connected the hardware, then Next

14. Select Add a new hardware device, then Next

15. Select Install the hardware that I manually select from a list (Advanced), then Next

16. Select Network Adapters, then Next

17. Select Microsoft in the Manufacturer section and then on the Network Adapter, select the desired WAN Miniport device, then Next and Finish the wizard

18. Repeat 13 – 18 for each device you are re-installing

19. After the devices are re-installed, reboot the system

20. Run netsh int ip reset c:\resetlog.txt and reboot the system again (Resetting the TCP/IP stack)

21. Check the network connections in device manager and in Network Connection (ncpa.cpl)

22. Delete c:\windows\inf\netrasa.inf and rename netrasa.bak to netrasa.inf
My System SpecsSystem Spec
.


21 Mar 2012   #4
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

I would think that those are system files.
If they are system files then you can get them back using sfc/scannow, follow the directions for this in the link below.
SFC /SCANNOW Command - System File Checker

Updating your network driver might also be a good idea.
My System SpecsSystem Spec
19 Aug 2012   #5
Hitman0997

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by quickdraw2011 View Post
Not sure, if this will help?

Here are the steps to re-install WAN miniport devices

Step 1: Uninstall WAN Miniport Devices


1. Open Device Manager (devmgmt.msc) and on the view menu select Show hidden devices

2. Under Network adapters, you will see WAN miniport devices (IP, L2TP, Pppoe, PPTP). If you donít see these, skip to the Step 2 section

3. Open Registry editor (regedit.exe)

4. Browse to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318} and Export this registry subkey

5. Click each of the registry subkeys under this key. Look up the data value in DriverDesc. Find the subkey that corresponds to the miniport device for example, WAN Miniport (IP).

6. Right click the subkey (for example 005), and then click delete. Click Yes to confirm deletion

7. Go into Device Manager and right click the miniport device that corresponds to the subkey that was deleted. Select uninstall and confirm uninstallation

8. Repeat this process for all miniport devices that you need to uninstall

Step 2: Reinstall WAN Miniport Devices


9. Find netrasa.inf in c:\windows\inf

10. Make a copy of this file (netrasa.bak)

11. Open netrasa.inf and comment out the following section:
Before

[ControlFlags]
ExcludeFromSelect =\
SW\{eeab7790-c514-11d1-b42b-00805fc1270e},\
MS_IrdaMiniport,\
MS_IrModemMiniport, \
MS_L2tpMiniport,MS_PptpMiniport,\
MS_PppoeMiniport, \
MS_NdisWanBh,\
MS_NdisWanIp,\
MS_NdisWanIpv6,\
MS_NdisWanNbfIn,MS_NdisWanNbfOut

After

[ControlFlags]
;ExcludeFromSelect =\
; SW\{eeab7790-c514-11d1-b42b-00805fc1270e},\
; MS_IrdaMiniport,\
; MS_IrModemMiniport, \
; MS_L2tpMiniport,MS_PptpMiniport,\
; MS_PppoeMiniport, \
; MS_NdisWanBh,\
; MS_NdisWanIp,\
; MS_NdisWanIpv6,\
; MS_NdisWanNbfIn,MS_NdisWanNbfOut
12. Start the Add Hardware Wizard from control panel

13. Select Yes, I have already connected the hardware, then Next

14. Select Add a new hardware device, then Next

15. Select Install the hardware that I manually select from a list (Advanced), then Next

16. Select Network Adapters, then Next

17. Select Microsoft in the Manufacturer section and then on the Network Adapter, select the desired WAN Miniport device, then Next and Finish the wizard

18. Repeat 13 Ė 18 for each device you are re-installing

19. After the devices are re-installed, reboot the system

20. Run netsh int ip reset c:\resetlog.txt and reboot the system again (Resetting the TCP/IP stack)

21. Check the network connections in device manager and in Network Connection (ncpa.cpl)

22. Delete c:\windows\inf\netrasa.inf and rename netrasa.bak to netrasa.inf
How do you comment out the area and how do you save it, mine comes up saying access denied
My System SpecsSystem Spec
Reply

 WAN miniport drivers vanished,can't reinstall PLEASE help.




Thread Tools





Similar help and support threads
Thread Forum
How should I reinstall printer/drivers?
Just went from XP to a new Dell W7. I have a multi-function printer that used CD drivers on XP, but with W7, I had to install the printer with Windows Update and a scan utility from the manufacturer's web site. All of a sudden after a month, I can't scan, so I want to uninstall/reinstall the...
Drivers
In China, Uninstalled iNode VPN, corrupted Miniport Drivers, Code 31
Hello 7Forums! I come to you, desperate and browbeaten after many days of searching, in an attempt to resolve my apparent driver mess-up. I'll elaborate, but to start: I cannot access the internet from the computer in question neither on Wireless nor Wired connections, and am writing this from a...
Drivers
Missing drivers for WAN Miniport
I have a Toshiba Satellite A660-047 PSAW3C-047017 running Windows 7 Professional 64-bit. I just downloaded the ISO for Norton Ghost 15, created the installation CD, installed Ghost, and ran the driver validation from the installation CD. I got the following message: > The following devices...
Drivers
Problems with "WAN Miniport" drivers
After two days of trying everything to get an internet connection back, i have given up and signed up here to get some help. You see, I keep getting a internet connection box pop up when I try and connect to the net (like a dial up connection) but I'm on broadband. And when I go into Device...
Network & Sharing
Reinstall All Drivers
What is the correct way to uninstall and install all my drivers? I am being plagued with corrupt drivers and would like to uninstall all of them and go back to the original ones. My issue is if I go to device manager and uninstall the device (checking uninstall drivers) wont the computer crash? ...
Drivers
Do I need to reinstall drivers?
I just purchased a GTX 470 and would like to know if I need to reinstall my drivers. I'm still going to use my 9800 GT but the drivers for it are exactly the same as the drivers for the GTX 470 on NVIDIA's site. Do I still need to reinstall or can I just plug and play?
Graphic Cards

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 07:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App