You are here:Home»KB»PC»Windows Family»Windows 7»Cannot delete WAN Miniport
Sunday, 15 May 2011 19:50

Cannot delete WAN Miniport

Written by

You have one or more WAN Miniport that you cannot delete such as the ones below even if they are disabled. They will not reinstall either and usually have an exclamation mark on them

You might also experience error code 31.

  • WAN Miniport (IP)
  • WAN Miniport (IPv6)
  • WAN Miniport (L2TP)
  • WAN Miniport (Network Monitor)
  • WAN Miniport (PPPOE)
  • WAN Miniport (PPTP)

Use the following commands to be carried out as the user Administrator (Run as Administrator) from Command prompt (cmd):

The following example will delete the WAN Miniport with a hardware ID of ms_sstpminiport.

netcfg -e -u ms_sstpminiport

To delete other failed WAN Miniports you have to find the Hardware ID for the Device from the Device Manager

  • Open the Device Manager
  • Selecting the Details tab
  • select Hardware IDs from the drop down menu
  • replace the hardware ID in the example above and run for each failed WAN Miniport
Read 1720 times Last modified on Sunday, 15 May 2011 19:51