Netsetman Pro does not activate Shrewsoft VPN client / Bug Reports / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2017-04-28 10:46

PeterL
Member
Registered: 2017-01-18
Posts: 4

Netsetman Pro does not activate Shrewsoft VPN client

I created a profile, which should activate Shrewsoft VPN client. When I activate this profile the status monitor shows the following:

[0:00] Verbindung: Start
           Verbinden: XXXXXX (ShrewSVC)
[0:00] Shrew Soft VPN Client
[0:00] Pfad:
[0:00] Profil: -a -r "XXXXXX"
[0:00] Verbindung: Fehler 2
Das System kann die angegebene Datei nicht finden (ErrorCode: 2)

Could you please help?

Thx.

Offline

#2 2017-04-28 11:02

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Netsetman Pro does not activate Shrewsoft VPN client

Could you please provide the following details:

  1. The exact version (incl. 32/64 bit) of the VPN client you are using

  2. Your full installation path of that VPN client

  3. What information do you see in the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\ShrewSoft\vpn" for the value "path"?

Online

#3 2017-04-28 15:32

PeterL
Member
Registered: 2017-01-18
Posts: 4

Re: Netsetman Pro does not activate Shrewsoft VPN client

1. Microsoft Windows 10 Version 1607 (Build 143393.693), 64bit
    Shrewsoft VPN Client Pro, Version 2.2.2
2. C:\Program Files\ShrewSoft\VPN Client
3. C:\Program Files\ShrewSoft\VPN Client

Offline

#4 2017-04-28 19:53

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Netsetman Pro does not activate Shrewsoft VPN client

We have analyzed the problem and found the reason for it.
This problem occurs on x64 systems with a x64 Shrew VPN client installed. In that case NetSetMan reads the wrong path from the registry.

We will fix it for the next version, but you can do this workaround to get it working right away:
Create this key in the registry (notice the WOW6432Node part)

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ShrewSoft\vpn

Inside create a String Value (=REG_SZ) with the name "path" and the value "C:\Program Files\ShrewSoft\VPN Client".

Then try again and let us know if that solved the problem in your case.

Online

#5 2017-05-09 07:34

PeterL
Member
Registered: 2017-01-18
Posts: 4

Re: Netsetman Pro does not activate Shrewsoft VPN client

It works, thank you for your help. But I have another question. Is it possible to pass a password to Shrewsoft VPN? Parameters for Shrewsoft VPN are as follows:
ipsecc -r "name" [-u <name>][-p <pass>][-a]
   -r site configuration name
   -u connection user name
   -p connection user password
   -a auto connect

Offline

#6 2017-05-09 09:37

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Netsetman Pro does not activate Shrewsoft VPN client

We do not store the password or any other details or preferences of the VPN client. If you don't want to type in your password, you should store it within the VPN client profile (they probably do not offer that option in the UI for security reasons, but there might be a way to manually add it to the profile file). Alternatively you can use our Script/Program feature to run your VPN profile with custom parameters.

Online