Page 1 of 1

Connect for Windows - client setup ended prematurely

Posted: Mon Dec 07, 2020 7:40 am
by jeffw
I have an OpenVPN access server appliance running latest builds.
Windows clients with existing Connect client are working fine
New computers can install the connect client (downloaded from the Access server Appliance) fine.

The problem seems to only occur if I try to upgrade an existing client (using standard uninstall existing client and install new client process)

I have logged a ticket and support have only suggested the basics and effectively say - Oh well you may have to re-install Windows (which I had to do on a previous occasion)

Surely someone can look at the install logs (which show some file not found errors during the copying files stage of the setup) and point me in the right direction as to a manual fix and I don't want to rebuild this laptop with windows 10.

The Error that pops up is " OpenVPN Connect Setup Wizard ended prematurely .. OpenVPN Connect Setup Wizard ended prematurely because of an error. Your system has not been modified. To install this program at a later time, run Setup wizard again. Click the Finish button to exit the Setup Wizard."
The version I'm trying to install is openvpn-connect-3.2.2.1455_signed.msi
I have also tried installing older versions 3.1.3.713 and 2.6.1 (also fail)

Windows 10 is up to date (build 2004)

There are currently no TAP adapters installed (checked show hidden devices in Device Manager)

Below is the contents of one of my failed install attempts. Sorry for the large chunk of txt but there appears to be no way to upload a txt file.

Hopefully someone will look at this and know exactly what is wrong.

Cheers Jeff

Code: Select all

>>>  [Device Install (UpdateDriverForPlugAndPlayDevices) - tap_ovpnconnect]
>>>  Section start 2020/11/20 11:29:42.125
      cmd: "C:\Program Files\OpenVPN Connect\drivers\tap\amd64\\win10\tapinstall.exe" install "C:\Program Files\OpenVPN Connect\drivers\tap\amd64\\win10\OemVista.inf" tap_ovpnconnect
     ndv: INF path: C:\Program Files\OpenVPN Connect\drivers\tap\amd64\win10\OemVista.inf
     ndv: Install flags: 0x00000001
     ndv: {Update Device Driver - ROOT\NET\0000}
     ndv:      Search options: 0x00000080
     ndv:      Searching single INF 'C:\Program Files\OpenVPN Connect\drivers\tap\amd64\win10\OemVista.inf'
     dvi:      {Build Driver List} 11:29:42.312
     dvi:           Searching for hardware ID(s):
     dvi:                tap_ovpnconnect
     dvi:           Created Driver Node:
     dvi:                HardwareID   - tap_ovpnconnect
     dvi:                InfName      - c:\program files\openvpn connect\drivers\tap\amd64\win10\oemvista.inf
     dvi:                DevDesc      - TAP-Windows Adapter V9 for OpenVPN Connect
     dvi:                Section      - tap_ovpnconnect.ndi
     dvi:                Rank         - 0x00ff0000
     dvi:                Signer Score - WHQL
     dvi:                DrvDate      - 09/27/2019
     dvi:                Version      - 9.24.2.601
     dvi:      {Build Driver List - exit(0x00000000)} 11:29:42.739
     dvi:      {DIF_SELECTBESTCOMPATDRV} 11:29:42.764
     dvi:           Default installer: Enter 11:29:42.791
     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 for OpenVPN Connect
     dvi:                          InfFile     - c:\program files\openvpn connect\drivers\tap\amd64\win10\oemvista.inf
     dvi:                          Section     - tap_ovpnconnect.ndi
     dvi:                {Select Best Driver - exit(0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 11:29:43.024
     ndv:      Force Installing Driver:
     ndv:           Inf Name       - oemvista.inf
     ndv:           Driver Date    - 09/27/2019
     ndv:           Driver Version - 9.24.2.601
     ndv:      Driver package 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\oemvista.inf' is already imported.
     sto:      {Setup Import Driver Package: c:\program files\openvpn connect\drivers\tap\amd64\win10\oemvista.inf} 11:29:43.185
     sto:           Driver package already imported as 'oem162.inf'.
     sto:      {Setup Import Driver Package - exit (0x00000000)} 11:29:43.241
     dvi:      Searching for hardware ID(s):
     dvi:           tap_ovpnconnect
     dvi:      Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
     ump:      {Plug and Play Service: Device Install for ROOT\NET\0000}
     dvi:           {Core Device Install} 11:29:43.420
     dvi:                {Configure Device - ROOT\NET\0000} 11:29:43.423
     dvi:                     Device Status: 0x01802001
     dvi:                     Parent Device: HTREE\ROOT\0
     sto:                     {Configure Driver Package: C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\oemvista.inf}
     sto:                          Source Filter  = tap_ovpnconnect
     inf:                          Class GUID     = {4d36e972-e325-11ce-bfc1-08002be10318}
     inf:                          Class Options  = Configurable
     inf:                          {Configure Driver: TAP-Windows Adapter V9 for OpenVPN Connect}
     inf:                               Section Name = tap_ovpnconnect.ndi
     inf:                               {Add Service: tap_ovpnconnect}
     inf:                                    Start Type    = 3
     inf:                                    Service Type  = 1
     inf:                                    Error Control = 1
     inf:                                    Image Path    = \SystemRoot\System32\drivers\tap_ovpnconnect.sys
     inf:                                    Display Name  = TAP-Windows Adapter V9 for OpenVPN Connect
     inf:                                    Group         = NDIS
     inf:                                    Updated service 'tap_ovpnconnect'.
     inf:                               {Add Service: exit(0x00000000)}
     inf:                               Hardware Id  = tap_ovpnconnect
     inf:                               {Configure Driver Configuration: tap_ovpnconnect.ndi}
     inf:                                    Service Name  = tap_ovpnconnect
     inf:                                    Config Flags  = 0x00000000
     inf:                               {Configure Driver Configuration: exit(0x00000000)}
     inf:                          {Configure Driver: exit(0x00000000)}
     flq:                          {FILE_QUEUE_COMMIT} 11:29:43.453
     flq:                               Copying 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys' to 'C:\WINDOWS\System32\drivers\tap_ovpnconnect.sys'.
!    flq:                               CopyFile: 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys' to 'C:\WINDOWS\System32\drivers\SETCC8A.tmp' FAILED
!    flq:                               Error 2: The system cannot find the file specified.
!!!  flq:                               Error installing file (0x00000002)
!!!  flq:                               Error 2: The system cannot find the file specified.
!    flq:                                    SourceFile   - 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys'
!    flq:                                    TargetFile   - 'C:\WINDOWS\System32\drivers\tap_ovpnconnect.sys'
!    cpy:                               Failed to copy file 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys' to 'C:\WINDOWS\System32\drivers\tap_ovpnconnect.sys'. Error = 0x00000002
!!!  flq:                               SPFQNOTIFY_COPYERROR: returned SPFQOPERATION_ABORT.
!!!  flq:                               Error 995: The I/O operation has been aborted because of either a thread exit or an application request.
!!!  flq:                               Failed to commit copy queue. Error = 0x000003e3
!!!  flq:                               FileQueueCommit aborting
!!!  flq:                               Error 995: The I/O operation has been aborted because of either a thread exit or an application request.
     flq:                          {FILE_QUEUE_COMMIT - exit(0x000003e3)} 11:29:43.464
!!!  sto:                          Failed to configure driver package. Error = 0x00000002
     sto:                     {Configure Driver Package: exit(0x00000002)}
     dvi:                {Configure Device - exit(0x00000002)} 11:29:43.466
     dvi:           {Core Device Install - exit(0x00000002)} 11:29:43.466
!    dvi:           Unable to configure device, falling back to standard device installation.
     dvi:           Searching for hardware ID(s):
     dvi:                tap_ovpnconnect
     dvi:           Class GUID of device changed to: {4d36e972-e325-11ce-bfc1-08002be10318}.
     ndv:           {Core Device Install} 11:29:43.482
     dvi:                {Install Device - ROOT\NET\0000} 11:29:43.484
     dvi:                     Device Status: 0x01802001
     dvi:                     Parent Device: HTREE\ROOT\0
     dvi:                     {DIF_ALLOW_INSTALL} 11:29:43.489
     dvi:                          Default installer: Enter 11:29:43.491
     dvi:                          Default installer: Exit
     dvi:                     {DIF_ALLOW_INSTALL - exit(0xe000020e)} 11:29:43.492
     dvi:                     {DIF_INSTALLDEVICEFILES} 11:29:43.493
     dvi:                          Default installer: Enter 11:29:43.494
     dvi:                          Default installer: Exit
     dvi:                     {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 11:29:43.496
     dvi:                     {_SCAN_FILE_QUEUE} 11:29:43.497
     dvi:                     {_SCAN_FILE_QUEUE - exit(0x00000000)} 11:29:43.497
     flq:                     {FILE_QUEUE_COMMIT} 11:29:43.498
     flq:                          Copying 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys' to 'C:\WINDOWS\system32\DRIVERS\tap_ovpnconnect.sys'.
!    flq:                          CopyFile: 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys' to 'C:\WINDOWS\system32\DRIVERS\SETCCA9.tmp' FAILED
!    flq:                          Error 1: Incorrect function.
!!!  flq:                          Error installing file (0x00000001)
!!!  flq:                          Error 1: Incorrect function.
!    flq:                               SourceFile   - 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_61afdf38efdd77a0\tap_ovpnconnect.sys'
!    flq:                               TargetFile   - 'C:\WINDOWS\system32\DRIVERS\tap_ovpnconnect.sys'
!!!  flq:                          SPFQNOTIFY_COPYERROR: returned SPFQOPERATION_ABORT.
!!!  flq:                          Error 1459: This operation requires an interactive window station.
!!!  flq:                          Failed to commit copy queue. Error = 0x000005b3
!!!  flq:                          FileQueueCommit aborting
!!!  flq:                          Error 1459: This operation requires an interactive window station.
     flq:                     {FILE_QUEUE_COMMIT - exit(0x000005b3)} 11:29:43.506
     dvi:                {Install Device - exit(0x000005b3)} 11:29:43.507
     dvi:           {Core Device Install - exit(0x000005b3)} 11:29:43.508
     ump:      {Plug and Play Service: Device Install exit(000005b3)}
!!!  ndv:      Device install failed for device.
!!!  ndv:      Error 1459: This operation requires an interactive window station.
     ndv:      Installing NULL driver.
     ump:      {Plug and Play Service: Device Install for ROOT\NET\0000}
!    dvi:           Installing NULL driver!
     dvi:           {Core Device Install} 11:29:43.608
     dvi:                {Configure Device - ROOT\NET\0000} 11:29:43.610
     dvi:                     Device Status: 0x01802001
     dvi:                     Parent Device: HTREE\ROOT\0
     dvi:                     Install Device: Configuring device. 11:29:43.612
     dvi:                          Configuration: null
     dvi:                     Install Device: Configuring device completed. 11:29:43.616
     dvi:                     Device Status: 0x01802401 [0x1c - 0xc0000490]
     dvi:                     Install Device: Starting device 'ROOT\NET\0000'. 11:29:43.617
     dvi:                     Install Device: Starting device completed. 11:29:43.624
!    dvi:                     Device not started (unknown reason): Device has no problem.
     dvi:                {Configure Device - exit(0x00000000)} 11:29:43.625
     dvi:           {Core Device Install - exit(0x00000000)} 11:29:43.626
     ump:      {Plug and Play Service: Device Install exit(00000000)}
     ndv: {Update Device Driver - exit(000005b3)}
!!!  ndv: Failed to install device instance 'ROOT\NET\0000'. Error = 0x000005b3
<<<  Section end 2020/11/20 11:29:43.702
<<<  [Exit status: FAILURE(0x000005b3)]