Page 1 of 1

Unable to install TAP driver on Windows 2008 R2 64-bit

Posted: Wed Apr 29, 2015 1:48 pm
by bdrajer
I have problems installing the TAP driver on Windows 2008 R2 (64 bit). For some time the driver refused to install when I upgrade to new version of OpenVPN, so I just left the old one. OpenVPN worked with it but had some problems (for ex. went into a zombie state after server restart), so I decided to resolve the problem and put the new one in place - but the installation fails.

This is what I tried:
• Reinstalling OpenVPN, both newest and older (2.1) versions, 64- and 32-bit
• Reinstalling TAP-Windows from its own installation (latest)
• Doing everything as administrator, but trying "run as administrator" just in case
• Uninstalling manually all hidden "unknown devices" from device manager's network adapters branch (these were the unsuccessful installations of the TAP driver)... No TAP devices were present.
• Using IFCLEANUP to remove unused network cards, it enumerates 17 of them but doesn't seem to remove any
• Deleting the Config entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network (this brought back the "install unsigned driver" confirmation dialog during installation, but the error persisted)
• Using pnputil.exe -d to remove old TAP-WINDOWS drivers from the driver store. A couple of them remained, it seems that they pointed to non-existing folders on the disk and could not be uninstalled so I deleted their inf files manually from the DriverStore folder
• Looking at setupapi.dev.log, I saw that it complains about certificates, so I added the three certificates from the tap0901.cat file signature to the local computer certificate store - the root certificate to trusted root, the middle one to intermediate certification authorities (at which it complained that the certificate already exists there), and the OpenVPN certificate to trusted publishers
• Tried installilng with devcon.exe, with no change (tried both oemwin2k.inf and oemvista.inf)

This is the setupapi.dev.log I get with devcon.exe

Code: Select all

[Device Install Log]
     OS Version = 6.1.7601
     Service Pack = 1.0
     Suite = 0x0012
     ProductType = 2
     Architecture = amd64

[BeginLog]

[Boot Session: 2015/04/29 11:14:10.375]

>>>  [Device Install (UpdateDriverForPlugAndPlayDevices) - tap0901]
>>>  Section start 2015/04/29 14:19:21.994
      cmd: ..\bin\devcon.exe  install OemWin2k.inf tap0901
     dvi: Set selected driver complete.
     dvi: {Build Driver List} 14:19:22.451
     dvi:      Searching for hardware ID(s):
     dvi:           tap0901
     cpy:      Policy is set to make all digital signatures equal.
     dvi:      Processing a single INF: 'c:\program files\tap-windows\driver\oemwin2k.inf'
     inf:      Opened INF: 'c:\program files\tap-windows\driver\oemwin2k.inf' ([strings])
     sig:      {_VERIFY_FILE_SIGNATURE} 14:19:22.543
     sig:           Key      = oemwin2k.inf
     sig:           FilePath = c:\program files\tap-windows\driver\oemwin2k.inf
     sig:           Catalog  = c:\program files\tap-windows\driver\tap0901.cat
!    sig:           Verifying file against specific (valid) catalog failed! (0x80096002)
!    sig:           Error 0x80096002: The certificate for the signer of the message is invalid or not found.
     sig:      {_VERIFY_FILE_SIGNATURE exit(0x80096002)} 14:19:22.661
     sig:      {_VERIFY_FILE_SIGNATURE} 14:19:22.663
     sig:           Key      = oemwin2k.inf
     sig:           FilePath = c:\program files\tap-windows\driver\oemwin2k.inf
     sig:           Catalog  = c:\program files\tap-windows\driver\tap0901.cat
!    sig:           Verifying file against specific Authenticode(tm) catalog failed! (0x800b0100)
!    sig:           Error 0x800b0100: No signature was present in the subject.
     sig:      {_VERIFY_FILE_SIGNATURE exit(0x800b0100)} 14:19:22.687
     dvi:      Created Driver Node:
     dvi:           HardwareID   - tap0901
     dvi:           InfName      - c:\program files\tap-windows\driver\oemwin2k.inf
     dvi:           DevDesc      - TAP-Windows Adapter V9
     dvi:           DrvDesc      - TAP-Windows Adapter V9
     dvi:           Provider     - TAP-Windows Provider V9
     dvi:           Mfg          - TAP-Windows Provider V9
     dvi:           ModelsSec    - tap0901.NTamd64
     dvi:           InstallSec   - tap0901.ndi
     dvi:           ActualSec    - tap0901.ndi
     dvi:           Rank         - 0x80ff0000
     dvi:           Signer       - Not digitally signed
     dvi:           Signer Score - Not digitally signed
     dvi:           DrvDate      - 07/02/2012
     dvi:           Version      - 9.0.0.9
     dvi: {Build Driver List - exit(0x00000000)} 14:19:22.738
     dvi: {DIF_SELECTBESTCOMPATDRV} 14:19:22.742
     dvi:      Using exported function 'NetClassInstaller' in module 'C:\Windows\system32\NetCfgx.dll'.
     dvi:      Class installer == NetCfgx.dll,NetClassInstaller
     dvi:      Using exported function 'NciDeviceInstall' in module 'C:\Windows\system32\nci.dll'.
     dvi:      CoInstaller 1 == nci.dll,NciDeviceInstall
     dvi:      Using exported function 'WlanDeviceClassCoInstaller' in module 'C:\Windows\system32\wlaninst.dll'.
     dvi:      CoInstaller 2 == wlaninst.dll,WlanDeviceClassCoInstaller
     dvi:      Using exported function 'WwanDeviceClassCoInstaller' in module 'C:\Windows\system32\wwaninst.dll'.
     dvi:      CoInstaller 3 == wwaninst.dll,WwanDeviceClassCoInstaller
     dvi:      CoInstaller 1: Enter 14:19:22.852
     dvi:      CoInstaller 1: Exit
     dvi:      CoInstaller 2: Enter 14:19:22.866
     dvi:      CoInstaller 2: Exit
     dvi:      CoInstaller 3: Enter 14:19:22.873
     dvi:      CoInstaller 3: Exit
     dvi:      Class installer: Enter 14:19:22.879
     dvi:      Class installer: Exit
     dvi:      Default installer: Enter 14:19:22.903
     dvi:           {Select Best Driver}
     dvi:                Selected driver installs from section [tap0901.ndi] in 'c:\program files\tap-windows\driver\oemwin2k.inf'.
     dvi:                Class GUID of device remains: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi:                Set selected driver complete.
     dvi:                Selected:
     dvi:                     Description - [TAP-Windows Adapter V9]
     dvi:                     InfFile     - [c:\program files\tap-windows\driver\oemwin2k.inf]
     dvi:                     Section     - [tap0901.ndi]
     dvi:                     Signer      - [Not digitally signed]
     dvi:                     Rank        - [0x80ff0000]
     dvi:           {Select Best Driver - exit(0x00000000)}
     dvi:      Default installer: Exit
     dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 14:19:23.102
     inf: {SetupCopyOEMInf: c:\program files\tap-windows\driver\oemwin2k.inf} 14:19:23.105
     sto:      {Import Driver Package: c:\program files\tap-windows\driver\oemwin2k.inf} 14:19:23.115
     sto:           Importing driver package into Driver Store:
     sto:                Driver Store   = C:\Windows\System32\DriverStore (Online | 6.1.7601)
     sto:                Driver Package = c:\program files\tap-windows\driver\oemwin2k.inf
     sto:                Architecture   = amd64
     sto:                Locale Name    = neutral
     sto:                Flags          = 0x00000000
     sto:           Copying driver package files to 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'.
     inf:           Opened INF: 'c:\program files\tap-windows\driver\oemwin2k.inf' ([strings])
     inf:           Opened INF: 'c:\program files\tap-windows\driver\oemwin2k.inf' ([strings])
     flq:           {FILE_QUEUE_COPY}
     flq:                CopyStyle      - 0x00000000
     flq:                SourceRootPath - 'c:\program files\tap-windows\driver'
     flq:                SourceFilename - 'oemwin2k.inf'
     flq:                TargetDirectory- 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'
     flq:           {FILE_QUEUE_COPY exit(0x00000000)}
     flq:           {FILE_QUEUE_COPY}
     flq:                CopyStyle      - 0x00000000
     flq:                SourceRootPath - 'c:\program files\tap-windows\driver'
     flq:                SourceFilename - 'tap0901.cat'
     flq:                TargetDirectory- 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'
     flq:           {FILE_QUEUE_COPY exit(0x00000000)}
     flq:           {FILE_QUEUE_COPY}
     flq:                CopyStyle      - 0x00000000
     flq:                SourceRootPath - 'c:\program files\tap-windows\driver'
     flq:                SourceFilename - 'tap0901.sys'
     flq:                TargetDirectory- 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'
     flq:                SourceDesc     - 'tap0901.sys'
     flq:                SourceTagfile  - 'tap0901.sys'
     flq:           {FILE_QUEUE_COPY exit(0x00000000)}
     flq:           {_commit_file_queue}
     flq:                CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
     flq:                {_commit_copy_subqueue}
     flq:                     subqueue count=3
     flq:                     source media:
     flq:                          SourcePath   - [c:\program files\tap-windows\driver]
     flq:                          SourceFile   - [oemwin2k.inf]
     flq:                          Flags        - 0x00000000
     flq:                     {_commit_copyfile}
     flq:                          CopyFile: 'c:\program files\tap-windows\driver\oemwin2k.inf'
     flq:                                to: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\SET933D.tmp'
     flq:                          MoveFile: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\SET933D.tmp'
     flq:                                to: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\oemwin2k.inf'
     flq:                     {_commit_copyfile exit OK}
     flq:                     {_commit_copyfile}
     flq:                          CopyFile: 'c:\program files\tap-windows\driver\tap0901.cat'
     flq:                                to: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\SET936D.tmp'
     flq:                          MoveFile: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\SET936D.tmp'
     flq:                                to: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\tap0901.cat'
     flq:                     {_commit_copyfile exit OK}
     flq:                     source media:
     flq:                          Tagfile      - [tap0901.sys]
     flq:                          Description  - [tap0901.sys]
     flq:                          SourcePath   - [c:\program files\tap-windows\driver]
     flq:                          SourceFile   - [tap0901.sys]
     flq:                          Flags        - 0x00000000
     flq:                     {_commit_copyfile}
     flq:                          CopyFile: 'c:\program files\tap-windows\driver\tap0901.sys'
     flq:                                to: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\SET93EA.tmp'
     flq:                          MoveFile: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\SET93EA.tmp'
     flq:                                to: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\tap0901.sys'
     flq:                     {_commit_copyfile exit OK}
     flq:                {_commit_copy_subqueue exit OK}
     flq:           {_commit_file_queue exit OK}
     pol:           {Driver package policy check} 14:19:23.567
     pol:           {Driver package policy check - exit(0x00000000)} 14:19:23.570
     sto:           {Stage Driver Package: C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\oemwin2k.inf} 14:19:23.572
     inf:                Opened INF: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\oemwin2k.inf' ([strings])
     inf:                Opened INF: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\oemwin2k.inf' ([strings])
     sto:                Copying driver package files:
     sto:                     Source Path      = C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}
     sto:                     Destination Path = C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}
     flq:                {FILE_QUEUE_COPY}
     flq:                     CopyStyle      - 0x00000010
     flq:                     SourceRootPath - 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'
     flq:                     SourceFilename - 'oemwin2k.inf'
     flq:                     TargetDirectory- 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}'
     flq:                {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                {FILE_QUEUE_COPY}
     flq:                     CopyStyle      - 0x00000010
     flq:                     SourceRootPath - 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'
     flq:                     SourceFilename - 'tap0901.cat'
     flq:                     TargetDirectory- 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}'
     flq:                {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                {FILE_QUEUE_COPY}
     flq:                     CopyStyle      - 0x00000010
     flq:                     SourceRootPath - 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}'
     flq:                     SourceFilename - 'tap0901.sys'
     flq:                     TargetDirectory- 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}'
     flq:                {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                {_commit_file_queue}
     flq:                     CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
     flq:                     {_commit_copy_subqueue}
     flq:                          subqueue count=3
     flq:                          source media:
     flq:                               SourcePath   - [C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}]
     flq:                               SourceFile   - [oemwin2k.inf]
     flq:                               Flags        - 0x00000000
     flq:                          {_commit_copyfile}
     flq:                               CopyFile: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\oemwin2k.inf'
     flq:                                     to: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\SET94D2.tmp'
     flq:                               MoveFile: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\SET94D2.tmp'
     flq:                                     to: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\oemwin2k.inf'
     flq:                          {_commit_copyfile exit OK}
     flq:                          {_commit_copyfile}
     flq:                               CopyFile: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\tap0901.cat'
     flq:                                     to: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\SET9502.tmp'
     flq:                               MoveFile: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\SET9502.tmp'
     flq:                                     to: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\tap0901.cat'
     flq:                          {_commit_copyfile exit OK}
     flq:                          {_commit_copyfile}
     flq:                               CopyFile: 'C:\Users\ADMINI~1\AppData\Local\Temp\2\{627a4352-efe4-1acc-d5f8-b70bd5f8b70b}\tap0901.sys'
     flq:                                     to: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\SET9522.tmp'
     flq:                               MoveFile: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\SET9522.tmp'
     flq:                                     to: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\tap0901.sys'
     flq:                          {_commit_copyfile exit OK}
     flq:                     {_commit_copy_subqueue exit OK}
     flq:                {_commit_file_queue exit OK}
     sto:                {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 14:19:23.835
!!!  sto:                     INF hash is not present in the catalog. Driver package appears to be tampered. Filename = C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\oemwin2k.inf, Error = 0xE000024B
!    sto:                     Driver package appears to be tampered but user wants to install it anyway.
     sto:                {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 14:19:35.696
     sto:                Verified driver package signature:
     sto:                     Digital Signer Score = 0xFF000000
     sto:                     Digital Signer Name  = <unknown>
     sto:                {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 14:19:35.700
     inf:                     Opened INF: 'C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}\oemwin2k.inf' ([strings])
     sto:                     Create system restore point:
     sto:                          Description = Device Driver Package Install: TAP-Windows Provider V9 Network adapters
     sto:                          Time        = 16ms
     sto:                          Status      = 0x0000007E (FAILURE)
     sto:                {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 14:19:35.778
     sto:                Importing driver package files:
     sto:                     Source Path      = C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}
     sto:                     Destination Path = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc
     sto:                {Copy Directory: C:\Windows\System32\DriverStore\Temp\{09b797c7-e9eb-6889-a3a3-400a52752e6b}} 14:19:35.803
     sto:                     Target Path = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc
     sto:                {Copy Directory: exit(0x00000000)} 14:19:35.850
     sto:                {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf} 14:19:35.856
     idb:                     Registered driver store entry 'oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc'.
     idb:                     Published 'oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf' to 'C:\Windows\INF\oem11.inf'
     idb:                     Published driver store entry 'oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc'.
     sto:                     Published driver package INF 'oem11.inf' was changed.
     sto:                     Active published driver package is 'oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc'.
     sto:                {Index Driver Package: exit(0x00000000)} 14:19:36.667
     sto:                {DRIVERSTORE_IMPORT_NOTIFY_END} 14:19:36.673
     ndv:                     No system restore point was set earlier.
     sto:                {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 14:19:36.680
     sto:           {Stage Driver Package: exit(0x00000000)} 14:19:36.706
     ndv:           Doing device matching lookup!
     sto:           Driver package was staged to Driver Store. Time = 13416 ms
     sto:           Imported driver package into Driver Store:
     sto:                Filename = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf
     sto:                Time     = 13852 ms
     sto:      {Import Driver Package: exit(0x00000000)} 14:19:36.995
     inf:      Opened INF: 'c:\program files\tap-windows\driver\oemwin2k.inf' ([strings])
     inf:      Driver Store location: C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf
     inf:      Published Inf Path: C:\Windows\INF\oem11.inf
     inf:      Opened INF: 'c:\program files\tap-windows\driver\oemwin2k.inf' ([strings])
     inf:      Installing catalog tap0901.cat as: oem11.CAT
     inf:      OEM source media location: c:\program files\tap-windows\driver\
     inf: {SetupCopyOEMInf exit (0x00000000)} 14:19:37.204
     dvi: Searching for hardware ID(s):
     dvi:      tap0901
     inf: Opened INF: 'C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf' ([strings])
     sig: {_VERIFY_FILE_SIGNATURE} 14:19:37.243
     sig:      Key      = oemwin2k.inf
     sig:      FilePath = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf
     sig:      Catalog  = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\tap0901.cat
!    sig:      Verifying file against specific (valid) catalog failed! (0x80096002)
!    sig:      Error 0x80096002: The certificate for the signer of the message is invalid or not found.
     sig: {_VERIFY_FILE_SIGNATURE exit(0x80096002)} 14:19:37.264
     sig: {_VERIFY_FILE_SIGNATURE} 14:19:37.270
     sig:      Key      = oemwin2k.inf
     sig:      FilePath = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf
     sig:      Catalog  = C:\Windows\System32\DriverStore\FileRepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\tap0901.cat
!    sig:      Verifying file against specific Authenticode(tm) catalog failed! (0x800b0100)
!    sig:      Error 0x800b0100: No signature was present in the subject.
     sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0100)} 14:19:37.344
     dvi: Selected driver installs from section [tap0901.ndi] in 'c:\windows\system32\driverstore\filerepository\oemwin2k.inf_amd64_neutral_5a1fec2fbbccefcc\oemwin2k.inf'.
     dvi: Class GUID of device remains: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi: Set selected driver complete.
     dvi: {Plug and Play Service: Device Install for ROOT\NET\0000}
<ins>
ààÿDJÑÌtall Process: DrvInst.exe 14:19:37.444
     ump:      Server install process exited with code 0xc0000142 14:19:37.488
     ump: {Plug and Play Service: Device Install exit(c0000142)}
     ndv: Device Install failed for new device...installing NULL driver.
     dvi: {Plug and Play Service: Device Install for ROOT\NET\0000}
     ump:      Creating Install Process: DrvInst.exe 14:19:37.523
     ump:      Server install process exited with code 0xc0000142 14:19:37.593
     ump: {Plug and Play Service: Device Install exit(c0000142)}
     dvi: {Build Driver List} 14:19:37.602
!    dvi:      Driver list already built
     dvi: {Build Driver List - exit(0x00000000)} 14:19:37.618
     dvi: {DIF_SELECTBESTCOMPATDRV} 14:19:37.621
     dvi:      CoInstaller 1: Enter 14:19:37.623
     dvi:      CoInstaller 1: Exit
     dvi:      CoInstaller 2: Enter 14:19:37.628
     dvi:      CoInstaller 2: Exit
     dvi:      CoInstaller 3: Enter 14:19:37.669
     dvi:      CoInstaller 3: Exit
     dvi:      Class installer: Enter 14:19:37.673
     dvi:      Class installer: Exit
     dvi:      Default installer: Enter 14:19:37.679
     dvi:           {Select Best Driver}
     dvi:                Selected driver installs from section [tap0901.ndi] in 'c:\program files\tap-windows\driver\oemwin2k.inf'.
     dvi:                Class GUID of device remains: {4d36e972-e325-11ce-bfc1-08002be10318}.
     dvi:                Set selected driver complete.
     dvi:                Selected:
     dvi:                     Description - [TAP-Windows Adapter V9]
     dvi:                     InfFile     - [c:\program files\tap-windows\driver\oemwin2k.inf]
     dvi:                     Section     - [tap0901.ndi]
     dvi:                     Signer      - [Not digitally signed]
     dvi:                     Rank        - [0x80ff0000]
     dvi:           {Select Best Driver - exit(0x00000000)}
     dvi:      Default installer: Exit
     dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 14:19:37.697
     dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 14:19:37.697
     dvi:      CoInstaller 1: Enter 14:19:37.697
     dvi:      CoInstaller 1: Exit
     dvi:      CoInstaller 2: Enter 14:19:37.698
     dvi:      CoInstaller 2: Exit
     dvi:      CoInstaller 3: Enter 14:19:37.698
     dvi:      CoInstaller 3: Exit
     dvi:      Class installer: Enter 14:19:37.699
<ins>
ààÿDJÑÌler: failed(0xe0000204)!
!!!  dvi:      Error 0xe0000204: The requested device registry key does not exist.
     dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe0000204)} 14:19:37.707
     dvi: {DIF_DESTROYPRIVATEDATA} 14:19:37.711
<ins>
ààÿDJÑÌ1: Enter 14:19:37.718
<ins>
ààÿDJÑÌ1: Exit
     dvi:      CoInstaller 2: Enter 14:19:37.722
     dvi:      CoInstaller 2: Exit
     dvi:      CoInstaller 3: Enter 14:19:37.725
     dvi:      CoInstaller 3: Exit
<ins>
ààÿDJÑÌler: Enter 14:19:37.729
     dvi:      Class installer: Exit
     dvi: {DIF_DESTROYPRIVATEDATA - exit(0x00000000)} 14:19:37.734
<<<  Section end 2015/04/29 14:19:37.736
<<<  [Exit status: SUCCESS]
Looking at PROCMON, I see svchost.exe hitting a couple of registry keys and getting NAME NOT FOUND roughly at the moment the error "0xe0000204: The requested device registry key does not exist.". This is an excerpt:

Code: Select all

1:54:40.6687501 PM	svchost.exe	736	RegQueryKey	HKLM\System\CurrentControlSet\Enum	SUCCESS	Query: HandleTags, HandleTags: 0x0
1:54:40.6687872 PM	svchost.exe	736	RegOpenKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	Desired Access: Query Value
1:54:40.6688679 PM	svchost.exe	736	RegQueryValue	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Phantom	NAME NOT FOUND	Length: 144
1:54:40.6688992 PM	svchost.exe	736	RegCloseKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	
1:54:40.6787283 PM	svchost.exe	736	RegQueryKey	HKLM\System\CurrentControlSet\Enum	SUCCESS	Query: HandleTags, HandleTags: 0x0
1:54:40.6787591 PM	svchost.exe	736	RegOpenKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	Desired Access: Read
1:54:40.6787928 PM	svchost.exe	736	RegQueryValue	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Driver	NAME NOT FOUND	Length: 144
1:54:40.6788197 PM	svchost.exe	736	RegCloseKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	
1:54:40.6977075 PM	svchost.exe	736	RegQueryKey	HKLM\System\CurrentControlSet\Enum	SUCCESS	Query: HandleTags, HandleTags: 0x0
1:54:40.6977510 PM	svchost.exe	736	RegOpenKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	Desired Access: Query Value
1:54:40.6978253 PM	svchost.exe	736	RegQueryKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	Query: HandleTags, HandleTags: 0x0
1:54:40.6983675 PM	svchost.exe	736	RegOpenKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties	SUCCESS	Desired Access: Query Value
1:54:40.6984061 PM	svchost.exe	736	RegQueryKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties	SUCCESS	Query: HandleTags, HandleTags: 0x0
1:54:40.6984320 PM	svchost.exe	736	RegOpenKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties\{83da6326-97a6-4088-9453-a1923f573b29}	SUCCESS	Desired Access: Query Value
1:54:40.6985058 PM	svchost.exe	736	RegCloseKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties	SUCCESS	
1:54:40.6985356 PM	svchost.exe	736	RegQueryKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties\{83da6326-97a6-4088-9453-a1923f573b29}	SUCCESS	Query: HandleTags, HandleTags: 0x0
1:54:40.6985669 PM	svchost.exe	736	RegOpenKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties\{83da6326-97a6-4088-9453-a1923f573b29}\00000002	NAME NOT FOUND	Desired Access: Query Value
1:54:40.6986119 PM	svchost.exe	736	RegCloseKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties\{83da6326-97a6-4088-9453-a1923f573b29}	SUCCESS	
1:54:40.6986544 PM	svchost.exe	736	RegCloseKey	HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000	SUCCESS	
1:54:40.7099732 PM	devcon.exe	3336	ReadFile	C:	SUCCESS	Offset: 544,821,248, Length: 96, I/O Flags: Non-cached, Paging I/O, Synchronous Paging I/O, Priority: Normal
1:54:40.8170164 PM	devcon.exe	3336	CloseFile	C:\Windows\System32\en-US\newdev.dll.mui	SUCCESS	
1:54:40.9371213 PM	devcon.exe	3336	Thread Exit		SUCCESS	Thread ID: 5996, User Time: 0.0000000, Kernel Time: 0.0000000
1:54:40.9372254 PM	devcon.exe	3336	Thread Exit		SUCCESS	Thread ID: 6012, User Time: 0.0000000, Kernel Time: 0.0000000
1:54:40.9374307 PM	devcon.exe	3336	Thread Exit		SUCCESS	Thread ID: 5676, User Time: 0.0000000, Kernel Time: 0.0000000
1:54:40.9375280 PM	devcon.exe	3336	Thread Exit		SUCCESS	Thread ID: 3700, User Time: 0.0000000, Kernel Time: 0.0000000
1:54:40.9375818 PM	devcon.exe	3336	Thread Exit		SUCCESS	Thread ID: 844, User Time: 0.0000000, Kernel Time: 0.0000000
1:54:40.9379480 PM	devcon.exe	3336	RegCloseKey	HKLM\System\CurrentControlSet\Enum	SUCCESS	
(UPDATE: in a later run, I noticed svchost also accessing HKLM\System\CurrentControlSet\Enum\ROOT\NET\0000\Properties\{83da6326-97a6-4088-9453-a1923f573b29}\00000007 unsuccessfully, this seems like some kind of a random check?)

I didn't see any other registry errors, but it's a server, svchost does a lot of other stuff so I may have missed something.

What's causing the problem? The certificates? (Why if I added them to computer certificates - should I add them to a certificate store that belongs to a service? But which one?) The registry key? Neither look to me like a serious error.

Any suggestions, ideas what to try next etc. are more than welcome.

Thanks in advance!