Page 1 of 1

SoftEther VPN Client on a Windows terminal server

Posted: Mon Apr 22, 2019 8:54 am
by pgitsov
I have a SoftEther VPN Client installed on a terminal server (Windows Server 2016 Standard). Less than ten users are usually connected to it, yet the VPN client uses a lot of memory and CPU:
1-before-restart.PNG
If I restart the SEVPNCLIENT service I get them released:
2-after-restart.PNG
Is there a way to avoid this high usage of resources?

Or is it possible to install the client for some users only e.g. admins and not have it running in normal users' sessions?

Or is it possible to install the client in some "core" mode without the GUI?

Re: SoftEther VPN Client on a Windows terminal server

Posted: Wed Jun 05, 2019 6:34 am
by cedar
Please remove the Client Manager shortcut from the Startup section of the Start Menu.

Re: SoftEther VPN Client on a Windows terminal server

Posted: Wed Jun 05, 2019 11:34 am
by pgitsov
Thanks for the suggestion. I did it, now I need to wait for the server to be restarted. I guess removing the startup shortcut would not break the normal VPN functionality and "Startup connections" will be re-connected on server restart.

Re: SoftEther VPN Client on a Windows terminal server

Posted: Wed Jun 05, 2019 7:22 pm
by cedar
The startup connection is done by the service process and is not affected by the absence of the client manager.
Startup shortcuts are provided to accelerate the launch of the client manager.

Re: SoftEther VPN Client on a Windows terminal server

Posted: Thu Jun 13, 2019 7:18 am
by pgitsov
After removing "SoftEther VPN Client Manager Startup.lnk" from "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" I still get multiple running instances, see screenshot. Is it possible that the shortcut exists in some other place(s)? I checked the individual users' startup menu "C:\Users\xxxxxxxxxx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" - it isn't there.

Re: SoftEther VPN Client on a Windows terminal server

Posted: Thu Jun 13, 2019 8:02 am
by cedar
Did you restart after deleting the shortcut?

Re: SoftEther VPN Client on a Windows terminal server

Posted: Thu Jun 13, 2019 8:17 am
by pgitsov
Yes, the server was restarted.

Re: SoftEther VPN Client on a Windows terminal server

Posted: Thu Jun 13, 2019 10:08 am
by cedar
I found that it was launched from the registry.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run