Page 1 of 1
Disable export vpn config
Posted: Wed Aug 06, 2025 10:10 am
by justin
Is there a way to disable users from being able to export the VPN config? The point of this so they cannot just set it up on another device as we want it to be on their work laptop only.
Re: Disable export vpn config
Posted: Wed Aug 06, 2025 2:49 pm
by solo
There is no ordinary way to do so. Would you patch the binary to disable it?
Something like this
viewtopic.php?f=7&t=69774
EDIT
The patching works...
Re: Disable export vpn config
Posted: Thu Sep 04, 2025 9:37 pm
by solo
This patch applies only to SE v4.44.
- exit "SoftEther VPN Client Manager"
- "net stop sevpnclient"
- backup vpncmgr.exe or vpncmgr_x64.exe depending on Windows 32 or 64
- open vpncmgr.exe or vpncmgr_x64.exe in a hex editor
- search/replace as HEX VALUES not text (2 actual bytes are changed)
- "net start sevpnclient"
- run "SoftEther VPN Client Manager"
Code: Select all
vpncmgr.exe
search: 06837D0C007505E9F40200008B450C50
replace: 06837D0C009090E9F40200008B450C50
vpncmgr_x64.exe
search: 83BC24C8080000007505E92103000048
replace: 83BC24C8080000009090E92103000048
The "Export VPN Connection Setting" option is now ineffective.