This is happening for me too. Disabling SecureBoot isn't really an option for me.
I've tried removing all top drivers from the INF store:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc730875(v=ws.11)
I've uninstalled and re-installed multiple times under different scenarios.
I've tried it with SecureBoot disabled.
I've tried it with SecureBoot disabled and driver integrity check turned off.
I've ran it as administrator.
I've tried to manually install.
Nothing works. It always locks up, and times out about 4 minutes later.
I only have windows defender for AV. Its a new laptop with a fresh install of windows 10 version 1803 Build 17134.345
setupapi.dev.log:
>>> [Device Install (UpdateDriverForPlugAndPlayDevices) - tap0901]
>>> Section start 2018/11/06 13:40:22.746
cmd: "C:\Program Files\TAP-Windows\bin\tapinstall.exe" install "C:\Program Files\TAP-Windows\driver\OemVista.inf" tap0901
ndv: INF path: C:\Program Files\TAP-Windows\driver\OemVista.inf
ndv: Install flags: 0x00000001
ndv: {Update Device Driver - ROOT\NET\0001}
ndv: Search options: 0x00000080
ndv: Searching single INF 'C:\Program Files\TAP-Windows\driver\OemVista.inf'
dvi: {Build Driver List} 13:40:22.760
dvi: Searching for hardware ID(s):
dvi: tap0901
dvi: Created Driver Node:
dvi: HardwareID - tap0901
dvi: InfName - c:\program files\tap-windows\driver\oemvista.inf
dvi: DevDesc - TAP-Windows Adapter V9
dvi: Section - tap0901.ndi
dvi: Rank - 0x00ff0000
dvi: Signer Score - Authenticode
dvi: DrvDate - 04/21/2016
dvi: Version - 9.0.0.21
dvi: {Build Driver List - exit(0x00000000)} 13:40:22.776
dvi: {DIF_SELECTBESTCOMPATDRV} 13:40:22.777
dvi: Default installer: Enter 13:40:22.778
dvi: {Select Best Driver}
dvi: Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
dvi: Selected Driver:
dvi: Description - TAP-Windows Adapter V9
dvi: InfFile - c:\program files\tap-windows\driver\oemvista.inf
dvi: Section - tap0901.ndi
dvi: {Select Best Driver - exit(0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 13:40:22.785
ndv: Force Installing Driver:
ndv: Inf Name - oemvista.inf
ndv: Driver Date - 04/21/2016
ndv: Driver Version - 9.0.0.21
ndv: Driver package 'C:\Windows\System32\DriverStore\FileRepository\oemvista.inf_amd64_a572b7f20c402d28\oemvista.inf' is already imported.
sto: {Setup Import Driver Package: c:\program files\tap-windows\driver\oemvista.inf} 13:40:22.790
sto: Driver package already imported as 'oem70.inf'.
sto: {Setup Import Driver Package - exit (0x00000000)} 13:40:22.796
dvi: Searching for hardware ID(s):
dvi: tap0901
dvi: Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
dvi: {Plug and Play Service: Device Install for ROOT\NET\0001}
dvi: Driver INF Path: C:\Windows\INF\oem70.inf
dvi: Driver Node Name: oemvista.inf:3beb73aff103cc24:tap0901.ndi:9.0.0.21:tap0901,
dvi: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\oemvista.inf_amd64_a572b7f20c402d28\oemvista.inf
dvi: Searching for hardware ID(s):
dvi: tap0901
dvi: Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
dvi: {Core Device Install} 13:40:22.857
dvi: {Install Device - ROOT\NET\0001} 13:40:22.859
dvi: Device Status: 0x01802001, Problem: 0x0 (0x00000000)
dvi: Parent device: HTREE\ROOT\0
dvi: {Configure Device - ROOT\NET\0001} 13:40:22.863
dvi: Device Status: 0x01802001, Problem: 0x0 (0x00000000)
dvi: Parent device: HTREE\ROOT\0
sto: {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\oemvista.inf_amd64_a572b7f20c402d28\oemvista.inf}
sto: Source Filter = tap0901
inf: Class GUID = {4d36e972-e325-11ce-bfc1-08002be10318}
inf: Class Options = Configurable
inf: {Configure Driver: TAP-Windows Adapter V9}
inf: Section Name = tap0901.ndi
inf: {Add Service: tap0901}
inf: Start Type = 3
inf: Service Type = 1
inf: Error Control = 1
inf: Image Path = \SystemRoot\System32\drivers\tap0901.sys
inf: Display Name = TAP-Windows Adapter V9
inf: Group = NDIS
inf: Updated service 'tap0901'.
inf: {Add Service: exit(0x00000000)}
inf: Hardware Id = tap0901
inf: {Configure Driver Configuration: tap0901.ndi}
inf: Service Name = tap0901
inf: Config Flags = 0x00000000
inf: {Configure Driver Configuration: exit(0x00000000)}
inf: {Configure Driver: exit(0x00000000)}
flq: Copying 'C:\Windows\System32\DriverStore\FileRepository\oemvista.inf_amd64_a572b7f20c402d28\tap0901.sys' to 'C:\Windows\System32\drivers\tap0901.sys'.
cpy: Existing file 'C:\Windows\System32\drivers\tap0901.sys' remains unchanged.
sto: {Configure Driver Package: exit(0x00000000)}
dvi: Install Device: Configuring device (oem70.inf:tap0901,tap0901.ndi). 13:40:22.897
dvi: Install Device: Configuring device completed. 13:40:22.900
dvi: Device Status: 0x01802001, Problem: 0x0 (0x00000000)
dvi: Install Device: Starting device 'ROOT\NET\0001'. 13:40:22.902
dvi: Install Device: Starting device completed. 13:40:22.906
! dvi: Device pending start: Device has problem: 0x38 (CM_PROB_NEED_CLASS_CONFIG), problem status: 0x00000000.
dvi: {Configure Device - exit(0x00000000)} 13:40:22.909
dvi: Device Status: 0x01802401, Problem: 0x38
dvi: {Install Device - exit(0x00000000)} 13:40:22.922
dvi: {Core Device Install - exit(0x00000000)} 13:40:22.923
dvi: Waiting for device post-install to complete. 13:40:22.925
!!! dvi: Timed out waiting for device post-install to complete. 13:44:07.928
ump: {Plug and Play Service: Device Install exit(000005b4)}
!!! ndv: Device install failed for device.
!!! ndv: Error 1460: This operation returned because the timeout period expired.
ndv: Installing NULL driver.
dvi: {Plug and Play Service: Device Install for ROOT\NET\0001}
! dvi: Installing NULL driver!
dvi: {DIF_ALLOW_INSTALL} 13:44:08.056
dvi: Default installer: Enter 13:44:08.057
dvi: Default installer: Exit
dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 13:44:08.059
dvi: {DIF_REGISTER_COINSTALLERS} 13:44:08.059
dvi: Default installer: Enter 13:44:08.060
dvi: Default installer: Exit
dvi: {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 13:44:08.062
dvi: {DIF_INSTALLDEVICE} 13:44:08.062
dvi: Default installer: Enter 13:44:08.063
! dvi: Installing NULL driver!
dvi: Install Null Driver: Removing device sub-tree. 13:44:08.066
dvi: Install Null Driver: Removing device sub-tree completed. 13:44:08.068
dvi: Install Null Driver: Restarting device. 13:44:08.073
dvi: Install Null Driver: Restarting device completed. 13:44:08.076
dvi: Install Device: Configuring device class. 13:44:08.077
dvi: Install Device: Configuring device class completed. 13:44:08.077
dvi: Device Status: 0x01802401, Problem: 0x1c (0x00000000)
dvi: Install Device: Starting device 'ROOT\NET\0001'. 13:44:08.080
dvi: Install Device: Starting device completed. 13:44:08.082
dvi: Default installer: Exit
dvi: {DIF_INSTALLDEVICE - exit(0x00000000)} 13:44:08.084
ump: {Plug and Play Service: Device Install exit(00000000)}
ndv: {Update Device Driver - exit(000005b4)}
!!! ndv: Failed to install device instance 'ROOT\NET\0001'. Error = 0x000005b4
<<< Section end 2018/11/06 13:44:08.090
<<< [Exit status: FAILURE(0x000005b4)]