Failed to uninstall driver: The operation completed successfully.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Failed to uninstall driver: The operation completed successfully.
(preface: I'm not at all familiar with Windows, so bear with me)
Hello,
my current OpenVPN installation is borked, I can't connect to any server (I don't have the original error message in mind). My idea was to simply reinstall OpenVPN hoping that this would fix my issues.
So I opened the Windows settings, clicked on Apps > OpenVPN > Uninstall. However, removal failed with this error:
However, installing a new version of OpenVPN doesn't work either:
So I removed the folder where OpenVPN was installed in, however, that didn't fix anything either.
I already tried restarting my pc.
What can I do now? Thanks for any help in advance.
Hello,
my current OpenVPN installation is borked, I can't connect to any server (I don't have the original error message in mind). My idea was to simply reinstall OpenVPN hoping that this would fix my issues.
So I opened the Windows settings, clicked on Apps > OpenVPN > Uninstall. However, removal failed with this error:
However, installing a new version of OpenVPN doesn't work either:
So I removed the folder where OpenVPN was installed in, however, that didn't fix anything either.
I already tried restarting my pc.
What can I do now? Thanks for any help in advance.
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
Do you have a third party security product running ? Like Kaspersky
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
Nope, just Windows Defender
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
Try installing an older version, 2.4.x
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
That worked. Should I just stick with 2.4.x?
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
It would be better if we could work out why 2.5 fails but I don't really have any ideas ..
You did not actually state the version of Windows you are using.
You did not actually state the version of Windows you are using.
Last edited by TinCanTech on Sat May 22, 2021 7:44 pm, edited 1 time in total.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
Windows 10 Version 2004 OS Build 19041.985
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
If installing 2.4 worked then you could try uninstalling and then install 2.5
I know these are basic steps but I don't debug Windblows.
I know these are basic steps but I don't debug Windblows.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
No, installing 2.5 still does not work:
OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed Error -536870397
OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed Error -536870397
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
I posted a question to the users mailing list but have had no reply in 24 hours.
- stipa
- OpenVPN Inc.
- Posts: 17
- Joined: Mon Nov 03, 2014 10:17 am
Re: Failed to uninstall driver: The operation completed successfully.
It is hard to say what is going on without seeing logs. To collect logs:
1) Install OpenVPN from the command line:
2) Post here (or somewhere) install.log obtained from previous step, as well as
1) Install OpenVPN from the command line:
Code: Select all
msiexec /i OpenVPN-2.5.2-I601-amd64.msi /L*V install.log
Code: Select all
C:\Windows\INF\setupapi.dev.log
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
Sorry for the late reply. I just tried 2.5.3, and it fails with the same error.
install.log: https://pastebin.com/AdDwfRkr
setupapi.dev.log: https://pastebin.com/3YmQrWS5
install.log: https://pastebin.com/AdDwfRkr
setupapi.dev.log: https://pastebin.com/3YmQrWS5
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
Are you familiar with Linux ?
It is not too difficult to build a Windows Openvpn Installer for yourself, and if you try it then you can build a .exe installer.
If that works then it would probably indicate some issue.
If you have time to try then start here:
https://community.openvpn.net/openvpn/w ... ericsubdir
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
Reading your log, this appears to be the problem:Line 1307
Code: Select all
InstallTUNTAPAdapters: Creating adapter: OpenVPN Wintun Wintun
InstallTUNTAPAdapters: Creating adapter: OpenVPN TAP-Windows6 root\tap0901
Error 2551. OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed Error 2: The system cannot find the file specified.
MSI (s) (30!E0) [12:56:31:258]: Product: OpenVPN 2.5.3-I601 amd64 -- Error 2551. OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed Error 2: The system cannot find the file specified.
-
- OpenVPN User
- Posts: 40
- Joined: Tue Sep 01, 2020 1:27 pm
Re: Failed to uninstall driver: The operation completed successfully.
According to logs, the bundled TAP driver is not getting installed and missing during device setup.
Not sure how this is an installer hickup or something more sinister…
A broken old TAP driver is still there but unusable (oem1.inf -> 6c3b121e4e82e247, v9.23.3, likely OpenVPN 2.4.7 or older).
Purging it may be possible via pnputil /delete-driver oem1.inf /force.
First related entry in setupapi.dev.log is SetupCopyOEMInf (line 143) for Wintun 0.8.
The respective operation for TAP v9.24.6 is not executed.
Not sure how this is an installer hickup or something more sinister…
A broken old TAP driver is still there but unusable (oem1.inf -> 6c3b121e4e82e247, v9.23.3, likely OpenVPN 2.4.7 or older).
Purging it may be possible via pnputil /delete-driver oem1.inf /force.
First related entry in setupapi.dev.log is SetupCopyOEMInf (line 143) for Wintun 0.8.
The respective operation for TAP v9.24.6 is not executed.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
> pnputil /delete-driver oem1.inf /force
This command worked. But trying to install OpenVPN gives "OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed Error -536870397".
install.log: https://pastebin.com/sWBJUMtV
setupapi.dev.log: https://pastebin.com/0PpWQxLj
> Are you familiar with Linux? It is not too difficult to build a Windows Openvpn Installer for yourself, and if you try it then you can build a .exe installer.
Tried that, got "Assembler messages: Fatal error: bad .section directive" for openssl-1.1.1k/. I'll try to fix it.
This command worked. But trying to install OpenVPN gives "OpenVPNMSICA: tap_create_adapter: DiInstallDevice failed Error -536870397".
install.log: https://pastebin.com/sWBJUMtV
setupapi.dev.log: https://pastebin.com/0PpWQxLj
> Are you familiar with Linux? It is not too difficult to build a Windows Openvpn Installer for yourself, and if you try it then you can build a .exe installer.
Tried that, got "Assembler messages: Fatal error: bad .section directive" for openssl-1.1.1k/. I'll try to fix it.
Last edited by scrouthtv on Sat Aug 07, 2021 2:30 pm, edited 1 time in total.
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Failed to uninstall driver: The operation completed successfully.
The openvpn-build-system will build openssl for you ..
BTW: There looks like a small typ0 on this page:
https://github.com/scrouthtv/easy-copy/ ... /README.md
BTW: There looks like a small typ0 on this page:
https://github.com/scrouthtv/easy-copy/ ... /README.md
Code: Select all
rf -> rm -- probably
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat May 22, 2021 6:55 am
Re: Failed to uninstall driver: The operation completed successfully.
Haven't gotten an answer from the folks at openssl yet.
Here's my problem: if I try to build OpenVPN using openvpn-build as described in the article you linked ("To build for Windows 64bit on Linux 64bit:"), I get this log:
Notice the error assembling some file in openssl-1.1.1k/. The openssl installation instructions suggest to configure it with --no-asm, but that doesn't fix my issue. Any idea what's going on here? I have mingw compilers + assembler installed.
Here's my problem: if I try to build OpenVPN using openvpn-build as described in the article you linked ("To build for Windows 64bit on Linux 64bit:"), I get this log:
Code: Select all
> IMAGEROOT=`pwd`/image-win64 CHOST=x86_64-w64-mingw32 \
CBUILD=x86_64-pc-linux-gnu ./build
Extract '/home/lenni/git/openvpn-build/generic/sources/lzo-2.10.tar.gz'
Extract '/home/lenni/git/openvpn-build/generic/sources/openssl-1.1.1k.tar.gz'
Extract '/home/lenni/git/openvpn-build/generic/sources/openvpn-2.5.3.tar.gz'
Extract '/home/lenni/git/openvpn-build/generic/sources/openvpn-gui-11.tar.gz'
Extract '/home/lenni/git/openvpn-build/generic/sources/pkcs11-helper-1.27.0.tar.bz2'
Extract '/home/lenni/git/openvpn-build/generic/sources/tap-windows-9.24.6.zip'
Archive: /home/lenni/git/openvpn-build/generic/sources/tap-windows-9.24.6.zip
creating: tap-windows-9.24.6/
creating: tap-windows-9.24.6/include/
inflating: tap-windows-9.24.6/include/tap-windows.h
creating: tap-windows-9.24.6/arm64/
inflating: tap-windows-9.24.6/arm64/tap0901.sys
creating: tap-windows-9.24.6/arm64/win10/
inflating: tap-windows-9.24.6/arm64/tap0901.cat
inflating: tap-windows-9.24.6/arm64/tapinstall.exe
inflating: tap-windows-9.24.6/arm64/OemVista.inf
creating: tap-windows-9.24.6/amd64/
inflating: tap-windows-9.24.6/amd64/tap0901.sys
creating: tap-windows-9.24.6/amd64/win10/
inflating: tap-windows-9.24.6/amd64/win10/tap0901.sys
inflating: tap-windows-9.24.6/amd64/win10/tap0901.cat
inflating: tap-windows-9.24.6/amd64/win10/OemVista.inf
inflating: tap-windows-9.24.6/amd64/tap0901.cat
inflating: tap-windows-9.24.6/amd64/tapinstall.exe
inflating: tap-windows-9.24.6/amd64/OemVista.inf
creating: tap-windows-9.24.6/i386/
inflating: tap-windows-9.24.6/i386/tap0901.sys
creating: tap-windows-9.24.6/i386/win10/
inflating: tap-windows-9.24.6/i386/win10/tap0901.sys
inflating: tap-windows-9.24.6/i386/win10/tap0901.cat
inflating: tap-windows-9.24.6/i386/win10/OemVista.inf
inflating: tap-windows-9.24.6/i386/tap0901.cat
inflating: tap-windows-9.24.6/i386/tapinstall.exe
inflating: tap-windows-9.24.6/i386/OemVista.inf
Extract '/home/lenni/git/openvpn-build/generic/sources/v1.9.3.tar.gz'
Patch: '/home/lenni/git/openvpn-build/generic/patches/pkcs11-helper-001-RFC7512.patch'
patching file lib/pkcs11h-serialization.c
Hunk #1 succeeded at 60 (offset -1 lines).
Hunk #2 succeeded at 189 (offset -1 lines).
Hunk #3 succeeded at 352 (offset -1 lines).
Hunk #4 succeeded at 368 (offset -1 lines).
Hunk #5 succeeded at 426 (offset -1 lines).
Hunk #6 succeeded at 483 (offset -1 lines).
Hunk #7 succeeded at 495 (offset -1 lines).
Hunk #8 succeeded at 508 (offset -1 lines).
Hunk #9 succeeded at 521 (offset -1 lines).
Hunk #10 succeeded at 535 (offset -1 lines).
Hunk #11 succeeded at 557 (offset -1 lines).
Hunk #12 succeeded at 574 (offset -1 lines).
Hunk #13 succeeded at 595 (offset -1 lines).
patching file lib/pkcs11h-util.c
Hunk #1 succeeded at 109 (offset -1 lines).
Build openssl
Configuring OpenSSL version 1.1.1k (0x101010bfL) for mingw64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
LIBSSL: No new symbols added
LIBCRYPTO: No new symbols added
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h
make depend && make _all
make[1]: Entering directory '/home/lenni/git/openvpn-build/generic/tmp/openssl-1.1.1k'
make[1]: Leaving directory '/home/lenni/git/openvpn-build/generic/tmp/openssl-1.1.1k'
make[1]: Entering directory '/home/lenni/git/openvpn-build/generic/tmp/openssl-1.1.1k'
x86_64-w64-mingw32-gcc -I. -Iinclude -m64 -Wa,--noexecstack -Wl,--dynamicbase,--nxcompat -O3 -O3 -static-libgcc -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/lib/engines-1_1\"" -DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT -DNDEBUG -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c
/tmp/cccuXZ2G.s: Assembler messages:
/tmp/cccuXZ2G.s:3: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
make[1]: *** [Makefile:729: apps/app_rand.o] Error 1
make[1]: Leaving directory '/home/lenni/git/openvpn-build/generic/tmp/openssl-1.1.1k'
make: *** [Makefile:188: all] Error 2