locked
Wan miniport code 10 RRS feed

  • Question

  • Hello

    So I just redo a clean install. I find myself with the same problem as my previous.

    I have installed all my driver. I always find myself with 3 fatal error:
    Wan Miniport (L2PT) CODE 10
    Wan Miniport (IKEv2) CODE 10
    Wan miniport (SSTP) CODE 10

    I have a realtek network card and a card to my motherboard integrated Gygibit.

    This blocked me for my VPN connection.

    Thank you in advance

     

     

    Bonjour,

    Je viens donc de refaire une installation propre. Je me retrouver avec le même problème que mes précédente.

    J'ai bien installer tout mes driver. je me retrouver toujours avec 3 erreur bloquante :
    Wan miniport (L2PT)   CODE 10
    Wan miniport (IKEv2)   CODE 10
    Wan miniport (SSTP)   CODE 10

    J'ai 1 carte réseau realtek et 1 carte intégrer a ma carte mère Gygibit.

    Cela me bloque pour ma connexion VPN.

    Merci d'avance

    Monday, May 3, 2010 12:04 PM

Answers

  • These are Microsoft devices so I don't think they are related to your hardware.  As already mentioned WAN Miniport (IKEv2) and WAN Miniport (SSTP) install automatically using the non-signed inf files netavpna.inf and netsstpa.inf.  To install WAN Miniport (L2TP) copy C:\Windows\inf\netrasa.inf to C:\Temp\WAN Miniport (L2TP)\netl2tpa.inf and then using the other files as a guide, strip out all the unrelated stuff.  You should end up with something like this:

    ; NETL2TPA.INF -- Layer 2 Tunneling Protocol WAN Miniport
    ;
    ; Copyright (c) Microsoft Corporation. All rights reserved.
    ; Created by Duncan Clay
    
    [Version]
    Signature = "$Windows NT$"
    Class = Net
    ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
    Provider = %Msft%
    DriverVer=06/21/2006,6.1.7600.16385
    
    [ControlFlags]
    ExcludeFromSelect =\
     MS_L2tpMiniport
    
    [Manufacturer]
    %Msft% = Msft, NTamd64
    
    [Msft.NTamd64]
    ; DisplayName   Section  DeviceID
    ; -----------   -------  --------
    %Mp-L2tp-Dispname%  = Ndi-Mp-L2tp,  "MS_L2tpMiniport"
    
    [Ndi-Mp-L2tp]
    Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
    AddReg  = Ndi-Reg-Mp-L2tp
    *IfType  = 131		; IF_TYPE_TUNNEL. 
    *MediaType = 12		; NdisMediumCoWan 
    *PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 
    
    ;-------------------------------------------------------------------------
    ; NDI AddReg sections.
    ;-------------------------------------------------------------------------
    
    [Ndi-Reg-Mp-L2tp]
    HKR, Ndi,  Service,  0,  "Rasl2tp"
    HKR, Ndi\Interfaces, UpperRange, 0,  "ndiscowan"
    HKR, Ndi\Interfaces, LowerRange, 0,  "nolower"
    HKR, ,  MinWanEndpoints, 0x00010001, 0
    HKR, ,  MaxWanEndpoints, 0x00010001, 3
    HKR, ,  WanEndpoints, 0x00010003, 2
    
    ;-------------------------------------------------------------------------
    ; [Services] sections.
    ; 1 = SPSVCINST_TAGTOFRONT
    ; 2 = SPSVCINST_ASSOCSERVICE
    ; 4 = SPSVCINST_DELETEEVENTLOGENTRY
    ;-------------------------------------------------------------------------
    
    [Ndi-Mp-L2tp.Services]
    AddService = Rasl2tp, 2, Svc-Mp-L2tp
    
    ;-------------------------------------------------------------------------
    ; [Service Install] sections.
    ;-------------------------------------------------------------------------
    
    [Svc-Mp-L2tp]
    DisplayName = "@%systemroot%\system32\rascfg.dll,-32005"
    ServiceType = 1 ;SERVICE_KERNEL_DRIVER
    StartType = 3 ;SERVICE_DEMAND_START
    ErrorControl = 1 ;SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\rasl2tp.sys
    Description = "@%systemroot%\system32\rascfg.dll,-32005"
    
    ;-------------------------------------------------------------------------
    ; [Event Log] sections.
    ;-------------------------------------------------------------------------
    
    [Strings]
    Msft = "Microsoft"
    
    Mp-L2tp-DispName  = "WAN Miniport (L2TP)"
    

     

    Right click on WAN Miniport (L2TP) then "Update Driver Software...->Browse my computer for driver software" then browse to C:\Temp\WAN Miniport (L2TP).  Click Next and "Install this driver software anyway".

    Friday, May 14, 2010 8:35 PM

All replies

  • I have exactly the same issue, but with Marvell network card with latest drivers...
    Monday, May 3, 2010 3:17 PM
  • Code 10 is usually a "no driver" error, if I remember correctly. Have you installed appropriate drivers? Does Device Manager show any unknown devices?
    I'm not on the WHS team, I just post a lot. :)
    Monday, May 3, 2010 3:32 PM
    Moderator
  • All my driver are properly installed. I had no problem with server 2008 r2.

    It is indicated for the management of tasks that the device will not start.

    If you have an idea ..

     

    Tous mes driver sont bien installer. Je n'avais aucun problème avec le server 2008 r2.

    Il est indiqué dans le gestionnaires de taches que le périphérique ne veux pas démarrer.

    Si vous avez une idée..

    Monday, May 3, 2010 6:17 PM
  • Ditto.  Same three devices with Code 10 (Device cannot start).  Realtek Gigabit Ethernet and Intel WiFi 5300AGN (disabled).  Same error codes whether the WiFi is enabled or not.

    I tried Update Driver/Search Automatically and Windows appeared to have installed drivers for IKEv2 and SSTP while L2TP returned an error that "Windows encounterd a problem installing the driver software for this device" (The system cannot find the file specified).  That didn't help, though, because after a reboot all three errors returned.  Now when I attempt updating the drivers automatically, Windows reports that "The best driver software for your device is already installed" for IKEv2 and SSTP and the same original error for L2TP.  But all three fail to start.

    Tom

    Tuesday, May 4, 2010 3:59 AM
  • I have the same issue with 2 boards.

    One is an ABIT I9N with Nforce gb lan

    Other is an Asus P5QPL-AM GB Atheros Lan (If i remember right)

    If I do the driver update, If i remember right I can get the driver installed but get the big red unsigned driver box up. It works without them installed so i've left them as is for now.

    I have submitted feedback on connect as someone else has logged a bug.

    Tuesday, May 4, 2010 3:23 PM
  • Same here

     

    Tuesday, May 4, 2010 8:44 PM
  • I'm having the same problem with the same three miniports.

    Intel DQ45CB mobo

    Tuesday, May 4, 2010 11:10 PM
  • I had this same issue with a Marvell NIC. What I did to fix it was right click on each one and uninstalled each including to remove the software option. For some reason the hardware was still visible. I went ahead and right clicked to update the driver and let the wizard try Search Automatically and up popped the warning of the driver not being certified or whatever the warning is but told it to use them anyway. All drivers loaded and after a few reboots every things is still working.

    Not sure it will help you folks but that is how I got the drivers to load.

    fasthair

     

    Wednesday, May 5, 2010 5:22 AM
  • Doing it this way (uninstalling versus just trying update/search automatically) helped but didn't cure it for me.  Originally I just had Windows update/search automatically for the drivers and two out of three installed but then all three would not start after a reboot.  Doing it this way (uninstalling first then update/search automatically (finding unsigned drivers)) installed drivers for IKEv2 and SSTP that survived rebooting.  However, L2TP still cannot install ("The system cannot find the file specified").

    Tom

    Friday, May 7, 2010 8:52 PM
  • Hi

    have the same problem on 2 intel server boards a s3210sh and s5000vsa both of them teh WAN miniport L2TP driver will not install , have not found a solution for this yet

    Sunday, May 9, 2010 4:38 PM
  • Doing it this way (uninstalling versus just trying update/search automatically) helped but didn't cure it for me.  Originally I just had Windows update/search automatically for the drivers and two out of three installed but then all three would not start after a reboot.  Doing it this way (uninstalling first then update/search automatically (finding unsigned drivers)) installed drivers for IKEv2 and SSTP that survived rebooting.  However, L2TP still cannot install ("The system cannot find the file specified").

    Tom

    Same here. And just to see what's up, i tried to uninstall & reinstall the other two again. But now the same error came up: "system cannot find the file specified" Unfortunately there is no sepcification of what exact file the system is looking for. All files mentioned in the inf file are still there though... I believe this whole thing is due to Vail trying to install unsigned drivers during setup. Therefore the solutiuon is easy; provide us with signed driver versions. Greetz
    Monday, May 10, 2010 10:20 AM
  • Yip i also think it's a vail thing just hope they fix it in next releases
    Monday, May 10, 2010 5:03 PM
  • These are Microsoft devices so I don't think they are related to your hardware.  As already mentioned WAN Miniport (IKEv2) and WAN Miniport (SSTP) install automatically using the non-signed inf files netavpna.inf and netsstpa.inf.  To install WAN Miniport (L2TP) copy C:\Windows\inf\netrasa.inf to C:\Temp\WAN Miniport (L2TP)\netl2tpa.inf and then using the other files as a guide, strip out all the unrelated stuff.  You should end up with something like this:

    ; NETL2TPA.INF -- Layer 2 Tunneling Protocol WAN Miniport
    ;
    ; Copyright (c) Microsoft Corporation. All rights reserved.
    ; Created by Duncan Clay
    
    [Version]
    Signature = "$Windows NT$"
    Class = Net
    ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
    Provider = %Msft%
    DriverVer=06/21/2006,6.1.7600.16385
    
    [ControlFlags]
    ExcludeFromSelect =\
     MS_L2tpMiniport
    
    [Manufacturer]
    %Msft% = Msft, NTamd64
    
    [Msft.NTamd64]
    ; DisplayName   Section  DeviceID
    ; -----------   -------  --------
    %Mp-L2tp-Dispname%  = Ndi-Mp-L2tp,  "MS_L2tpMiniport"
    
    [Ndi-Mp-L2tp]
    Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
    AddReg  = Ndi-Reg-Mp-L2tp
    *IfType  = 131		; IF_TYPE_TUNNEL. 
    *MediaType = 12		; NdisMediumCoWan 
    *PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 
    
    ;-------------------------------------------------------------------------
    ; NDI AddReg sections.
    ;-------------------------------------------------------------------------
    
    [Ndi-Reg-Mp-L2tp]
    HKR, Ndi,  Service,  0,  "Rasl2tp"
    HKR, Ndi\Interfaces, UpperRange, 0,  "ndiscowan"
    HKR, Ndi\Interfaces, LowerRange, 0,  "nolower"
    HKR, ,  MinWanEndpoints, 0x00010001, 0
    HKR, ,  MaxWanEndpoints, 0x00010001, 3
    HKR, ,  WanEndpoints, 0x00010003, 2
    
    ;-------------------------------------------------------------------------
    ; [Services] sections.
    ; 1 = SPSVCINST_TAGTOFRONT
    ; 2 = SPSVCINST_ASSOCSERVICE
    ; 4 = SPSVCINST_DELETEEVENTLOGENTRY
    ;-------------------------------------------------------------------------
    
    [Ndi-Mp-L2tp.Services]
    AddService = Rasl2tp, 2, Svc-Mp-L2tp
    
    ;-------------------------------------------------------------------------
    ; [Service Install] sections.
    ;-------------------------------------------------------------------------
    
    [Svc-Mp-L2tp]
    DisplayName = "@%systemroot%\system32\rascfg.dll,-32005"
    ServiceType = 1 ;SERVICE_KERNEL_DRIVER
    StartType = 3 ;SERVICE_DEMAND_START
    ErrorControl = 1 ;SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\rasl2tp.sys
    Description = "@%systemroot%\system32\rascfg.dll,-32005"
    
    ;-------------------------------------------------------------------------
    ; [Event Log] sections.
    ;-------------------------------------------------------------------------
    
    [Strings]
    Msft = "Microsoft"
    
    Mp-L2tp-DispName  = "WAN Miniport (L2TP)"
    

     

    Right click on WAN Miniport (L2TP) then "Update Driver Software...->Browse my computer for driver software" then browse to C:\Temp\WAN Miniport (L2TP).  Click Next and "Install this driver software anyway".

    Friday, May 14, 2010 8:35 PM
  • Thanks Duncan, This fixed the L2TP problem on my Abit board.
    Friday, May 21, 2010 2:56 AM
  • Was having the same issue but now all is good.   Duncan, I copied and pasted the text in your post and it worked like a charm.  Thanks
    Friday, May 21, 2010 8:40 PM
  • Fixed my Zotac ITX H55 also.  Thanks
    Saturday, May 22, 2010 3:17 PM
  • Fixed same problem on my Gigabyte P965 DS3 v3.3 board.
    Thursday, May 27, 2010 6:18 PM
  • fixed my on my Zotac Ion-A series. Thanks!

    Saturday, May 29, 2010 8:13 PM
  • fixed, thank you!
    Wednesday, June 2, 2010 4:54 PM
  • Same issue, same fix.  Has anyone bugged this?
    Thursday, July 8, 2010 4:29 AM
  • Same issue Intel serverboard SE7525..

     

    tanks

    Friday, July 9, 2010 11:53 AM
  • thanks so much Duncan.  this modified driver fixed the problem on a h55 chip set.....

     

    Sunday, July 11, 2010 11:47 AM
  • thanks worked great asus p5g41
    Wednesday, July 21, 2010 7:58 AM
  • Had the same problem as reported, this fixed it.

    Good job :)

    Wednesday, July 28, 2010 12:48 AM
  • Great Fix Duncan! Worked for me!

    Thanks!

    Saturday, October 9, 2010 2:51 PM
  • I need to do the same for the wan miniport pptp. Anyone know the procedure for that?
    Wednesday, March 16, 2011 1:00 AM