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

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
WAN miniport drivers vanished,can't reinstall PLEASE help.-untitled.png  
My System SpecsSystem Spec
.

21 Mar 2012   #2

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

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

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

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 for2: WAN miniport drivers vanished,can't reinstall PLEASE help.
Thread Forum
I Need to Forcibly Reinstall USB Drivers! Drivers
In China, Uninstalled iNode VPN, corrupted Miniport Drivers, Code 31 Drivers
Missing drivers for WAN Miniport Drivers
Problems with "WAN Miniport" drivers Network & Sharing
Reinstall All Drivers Drivers
Do I need to reinstall drivers? Graphic Cards
Must reinstall NIC and USB drivers after every reboot Drivers

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 11:04 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33