Changes between Version 14 and Version 15 of ManagingWindowsTAPDrivers


Ignore:
Timestamp:
08/28/15 10:48:44 (9 years ago)
Author:
Samuli Seppänen
Comment:

Added more debugging information while manging ticket 592

Legend:

Unmodified
Added
Removed
Modified
  • ManagingWindowsTAPDrivers

    v14 v15  
    4242= Installing and uninstalling TAP-drivers =
    4343
    44 Occasionally you may need play with different TAP-driver versions. In this case you can use ''devcon.exe'' from the Windows command-prompt. Below are some common commands:
     44Occasionally you may need play with different TAP-driver versions. In this case you can use ''devcon.exe'' from the Windows command-prompt. Below are some common commands you can run from an administrator Powershell or cmd.exe console:
    4545
    4646List available TAP-Windows adapters:
     
    6161
    6262{{{
    63 $ devcon.exe hwids <id>
     63> tapinstall.exe hwids <id>
     64ROOT\NET\0000
     65    Name: TAP-Windows Adapter V9
     66    Hardware IDs:
     67        tap0901
     681 matching device(s) found.
    6469}}}
    6570
     
    6772
    6873{{{
    69 $ devcon.exe remove <id>
     74> tapinstall.exe remove <id>
     75ROOT\NET\0000
     761 device(s) were removed
     77}}}
     78
     79To verify TAP-driver removal:
     80
     81{{{
     82> tapinstall.exe hwids <id>
     83No matching devices found.
    7084}}}
    7185
     
    7387
    7488{{{
    75 $ devcon.exe install <something.inf> <id>
     89> tapinstall.exe install <something.inf> <id>
     90Device node created. Install is complete when drivers are installed...
     91Updating drivers for <id> from C:\Program Files\TAP-Windows\driver\OemVista.inf.
     92Drivers installed successfully.
    7693}}}
    7794
     
    7996
    8097{{{
    81 $ devcon.exe update <something.inf> <id>
     98> tapinstall.exe update <something.inf> <id>
     99Updating drivers for <id> from C:\Program Files\TAP-Windows\driver\OemVista.inf.
     100Drivers installed successfully.
    82101}}}
    83102
     
    85104
    86105*  ''<id>'' refers to the driver identifier which is ''tap0901'' for OpenVPN 2.2+, but may be different in older/newer OpenVPN versions.
    87 * ''<something.inf>'' is typically ''OemWin2k.inf''.
     106* ''<something.inf>'' is typically ''OemWin2k.inf'' (old tap-drivers) or ''!OemVista.inf'' (newer tap-drivers). You need to specify the full path to this file, e.g.''C:\Program Files\TAP-Windows\driver\!OemVista.inf''.
    88107
    89108