I need to be able to start sonic global vpn client before i log on so that i can be authorised on the remote domain to access shared folders. I think this needs to happen after the network has initialised. there is a command line option to start the program.
any ideas are welcome.
thanks
barneygray
Page 1 of 1
need to start vpn program before logon screen
#2
Posted 24 November 2006 - 09:05 AM
You can try to install it as a service. Look for reskit utilities instsrv.exe and srvany.exe to create the service.
#3
Posted 24 November 2006 - 09:51 AM
barneygray, try this:
1. Create cmd (bat) file, that starts your vpn client software. For ex.:
-------start of Connect2VPN.cmd -------
start "c:\program files\sonicvpn.exe" /cmd
-------end of Connect2VPN.cmd -------
2. Hit Windows+R, or open "Run" from Start Menu. Type in gpedit.msc & hit OK.
3. Go to Computer Configuration->Windows Settings->Scripts (Startup\Shutdow)
3. Doble click on Startup, then in opened dialog click Show Files. Explorer window will open. Copy perviously created cmd file in to this location. Then get back to dialog and click Add. Choose cmd file you copied. Click Ok. Then open Startup again and verify that your cmd script listed there.
4. Now you are finished. Your cmd file will be run after network initialization, launching vpn client.
You may also try to make a shortcut to your vpn client with needed command line, instead of cmd file. This should work too.
1. Create cmd (bat) file, that starts your vpn client software. For ex.:
-------start of Connect2VPN.cmd -------
start "c:\program files\sonicvpn.exe" /cmd
-------end of Connect2VPN.cmd -------
2. Hit Windows+R, or open "Run" from Start Menu. Type in gpedit.msc & hit OK.
3. Go to Computer Configuration->Windows Settings->Scripts (Startup\Shutdow)
3. Doble click on Startup, then in opened dialog click Show Files. Explorer window will open. Copy perviously created cmd file in to this location. Then get back to dialog and click Add. Choose cmd file you copied. Click Ok. Then open Startup again and verify that your cmd script listed there.
4. Now you are finished. Your cmd file will be run after network initialization, launching vpn client.
You may also try to make a shortcut to your vpn client with needed command line, instead of cmd file. This should work too.
#4
Posted 24 November 2006 - 10:18 AM
This is usually done by hooking into winlogon.exe by the developer, but the startup script should work just fine.
#5
Posted 24 November 2006 - 10:45 AM
Share this topic:
Page 1 of 1



Help
Back to top










