uninstall with command line/script

This is idle-talk forum. Write your greeting here. Feel free to discuss here for anything.
Post Reply
miketunes
Posts: 6
Joined: Wed Dec 08, 2021 6:51 pm

uninstall with command line/script

Post by miketunes » Thu Mar 26, 2026 3:25 pm

Is this possible?

solo
Posts: 1850
Joined: Sun Feb 14, 2021 10:31 am

Re: uninstall with command line/script

Post by solo » Fri Mar 27, 2026 2:55 am

yes

miketunes
Posts: 6
Joined: Wed Dec 08, 2021 6:51 pm

Re: uninstall with command line/script

Post by miketunes » Fri Apr 03, 2026 4:06 pm

What would that command line be, where can I find that?

solo
Posts: 1850
Joined: Sun Feb 14, 2021 10:31 am

Re: uninstall with command line/script

Post by solo » Sat Apr 04, 2026 12:28 am

/etc/init.d/vpnserver stop
/sbin/chkconfig --del vpnserver
rm -f /etc/init.d/vpnserver
https://www.softether.org/4-docs/1-manu ... n_in_Linux

miketunes
Posts: 6
Joined: Wed Dec 08, 2021 6:51 pm

Re: uninstall with command line/script

Post by miketunes » Sat Apr 04, 2026 12:43 am

Sorry should have clarified, this is for Windows.

solo
Posts: 1850
Joined: Sun Feb 14, 2021 10:31 am

Re: uninstall with command line/script

Post by solo » Sat Apr 04, 2026 2:40 am

SE server or client?

miketunes
Posts: 6
Joined: Wed Dec 08, 2021 6:51 pm

Re: uninstall with command line/script

Post by miketunes » Mon Apr 06, 2026 3:14 pm

client

solo
Posts: 1850
Joined: Sun Feb 14, 2021 10:31 am

Re: uninstall with command line/script

Post by solo » Tue Apr 07, 2026 2:25 am

Code: Select all

sc stop SEVPNCLIENT
sc delete SEVPNCLIENT
taskkill /im vpncmgr.exe /f
DevManView /uninstall "VPN Client Adapter - VPN*" /use_wildcard

rd /s /q "C:\Program Files\SoftEther VPN Client"
del /q C:\WINDOWS\system32\vpncmd.exe
del /f /q C:\WINDOWS\system32\drivers\Neo_*.sys
rd /s /q "%ALLUSERSPROFILE%\Start Menu\Programs\SoftEther VPN Client"
del /q "%ALLUSERSPROFILE%\Desktop\SoftEther VPN Client Manager.lnk"
del /q "%ALLUSERSPROFILE%\Start Menu\SoftEther VPN Client Manager.lnk"
del /q "%ALLUSERSPROFILE%\Start Menu\Programs\Startup\SoftEther VPN Client Manager Startup.lnk"

reg delete "HKCU\.vpn" /f
reg delete "HKCU\vpnfile" /f
reg delete "HKCR\.vpn" /f
reg delete "HKCR\vpnfile" /f
reg delete "HKCU\Software\SoftEther Project" /f
reg delete "HKLM\Software\SoftEther Project" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "SoftEther VPN Client UI Helper" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\softether_sevpnclient" /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SEVPNCLIENT" /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SEVPNCLIENT" /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Neo_VPN" /f

shutdown -r -t 99
[*] DevManView - https://www.nirsoft.net/utils/device_manager_view.html

Post Reply