Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating an icon for SSL VPN connection
I did it and thought it would be useful for others. It' s much easier (once in place) than having to open browsers and check for compatibility issues, etc. Install the SSL VPN client, then follow the instructions from below. I' ll include the icon target strings here so you can copy and paste if you wish.
Setup icon:
" C:\Program Files (x86)\Fortinet\SslvpnClient\FortiSSLVPNclient.exe" connect -h secure.company.com:10443Disconnect icon:
" C:\Program Files (x86)\Fortinet\SslvpnClient\FortiSSLVPNclient.exe" disconnectConnect icon:
" C:\Program Files (x86)\Fortinet\SslvpnClient\FortiSSLVPNclient.exe" connect -s " Company"

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, I also created an automated installer/uninstaller process for this which places start menu and desktop icon in the workstation. PM me if you' re interested in how it' s done.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could you provide me with the start menu and desktop icon installer/uninstaller process? Greatly appreciate it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look here ;)
I first created the missing directory (" Program Files x86" if using a 32 bit OS, or " Program Files" if using a 64 bit system), added the bogus SSL VPN directory and an empty file with the target name. I then created links on the desktop to those bogus files. (no way to create the links without the target being there. Doesn' t need to run though...) From that point, I created the batch file in the enclosed link. After I got this whole mess working, I created a self extracting .exe file using 7Zip and instructions from the Internet.
Other files used:
In the same directory as the installer are
Windows_x86 which contains (from the 40Net SSL VPN archive): Windows_x64 which contains (from the 40Net SSL VPN archive): add registry entries.reg <- in other post
clear registry entries.reg
clear Fortinet registry entries.reg
SSL VPN connect_x64.lnk
SSL VPN connect_x86.lnk
SSL VPN disconnect_x64.lnk
SSL VPN disconnect_x86.lnk
install.bat <- in other post
uninstall.bat
The uninstall program:
cacheclean.jar CacheCleanerFF2.msi CacheCleanerFF3.msi forticachecleaner.cab fortihostcheck.cab hostcheck.jar SslvpnClient.exe version.h virtualdesktop.jar
cacheclean.jar CacheCleanerFF3.msi forticachecleaner.cab forticachecleaner64.cab fortihostcheck.cab fortihostcheck64.cab hostcheck.jar SslvpnClient.exe version.h virtualdesktop.jar
REM uninstaller for SSL VPN written by Bob Patterson 03/21/2013 @ECHO off CLS IF EXIST " %ProgramFiles(x86)%\SSL VPN_uninstall.bat" GOTO Remdir IF EXIST " %ProgramFiles%\SSL VPN_uninstall.bat" GOTO Remdir REM COPY this file to above directory IF NOT EXIST " %Program Files(x86)%\SSL VPN_uninstall.bat" ( IF EXIST " %Program Files(x86)%\SSL VPN\uninstall.bat" ( COPY " %ProgramFiles(x86)%\SSL VPN\uninstall.bat" " %ProgramFiles(x86)%\SSL VPN_uninstall.bat" REM ...and run it! " %ProgramFiles(x86)%\SSL VPN_uninstall.bat" EXIT ) ) IF NOT EXIST " %ProgramFiles%\SSL VPN_uninstall.bat" ( IF EXIST " %ProgramFiles%\SSL VPN\uninstall.bat" ( COPY " %ProgramFiles%\SSL VPN\uninstall.bat" " %ProgramFiles%\SSL VPN_uninstall.bat" REM ...and run it! " %ProgramFiles%\SSL VPN_uninstall.bat" EXIT ) ) :Remdir REM Windows x64 REM REMove Desktop icons DEL /F /Q " %SystemDrive%\Users\Public\Desktop\SSL VPN connect.lnk" DEL /F /Q " %SystemDrive%\Users\Public\Desktop\SSL VPN disconnect.lnk" REM REMove Program Files items IF EXIST " %ProgramFiles(x86)%\SSL VPN\Windows" ( DEL /F /Q " %ProgramFiles(x86)%\SSL VPN\Windows\*.*" RMDIR /Q " %ProgramFiles(x86)%\SSL VPN\Windows\" ) IF EXIST " %ProgramFiles(x86)%\SSL VPN\uninstall.bat" ( REM need to get outta the directory to REMove it! CD \ DEL /F /Q " %ProgramFiles(x86)%\SSL VPN\*.*" RMDIR /Q " %ProgramFiles(x86)%\SSL VPN\" CLS ECHO:" %ProgramFiles(x86)%\SSL VPN\" deleted ECHO: GOTO Next ) REM Windows x86 REM REMove Desktop icons DEL /F /Q " %SystemDrive%\Documents and Settings\All Users\Desktop\SSL VPN connect.lnk" DEL /F /Q " %SystemDrive%\Documents and Settings\All Users\Desktop\SSL VPN disconnect.lnk" REM REMove Program Files items IF EXIST " %ProgramFiles%\SSL VPN\Windows" ( DEL /F /Q " %ProgramFiles%\SSL VPN\Windows\*.*" RMDIR /Q " %ProgramFiles%\SSL VPN\Windows\" ) IF EXIST " %ProgramFiles%\SSL VPN\uninstall.bat" ( REM need to get outta the directory to REMove it! CD \ DEL /F /Q " %ProgramFiles%\SSL VPN\*.*" RMDIR /Q " %ProgramFiles%\SSL VPN\" CLS ECHO:" %ProgramFiles%\SSL VPN\" deleted ECHO: GOTO Next ) :Next REM REMove start menu items IF EXIST " %SystemDrive%\Documents and Settings\All Users\Start Menu\Programs\SSL VPN\" ( DEL /Q " %SystemDrive%\Documents and Settings\All Users\Start Menu\Programs\SSL VPN\*.*" RMDIR /Q " %Drive%\Documents and Settings\All Users\Start Menu\Programs\SSL VPN\" ECHO:Start menu items deleted ECHO: ) :End ECHO: ECHO: The SSL VPN shortcuts have been uninstalled. Please continue through to ECHO:" Add/REMove Programs" to remove the Fortinet " FortiClient SSLVPN" software. ECHO: ECHO: Thank you ECHO: ECHO: Information Services Team ;-) v1.3 ECHO: PAUSE appwiz.cpl IF EXIST " %ProgramFiles(x86)%\SSL VPN_uninstall.bat" DEL " %ProgramFiles(x86)%\SSL VPN_uninstall.bat" IF EXIST " %ProgramFiles%\SSL VPN_uninstall.bat" DEL " %ProgramFiles%\SSL VPN_uninstall.bat" EXITThe Clear registry entries file:
Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Fortinet\SslvpnClient\Tunnels\company] " Server" =" secure.myserver.com(:port)" " DATA1" =" " " DATA2" =" " " Description" =" Tunnel to my server" " DATA3" =" " " ServerCert" =" 1"The Clear Fortinet registry entries file:
Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Fortinet\SslvpnClient\Tunnels\company] " Server" =" secure.myserver.com(:port)" " DATA1" =" " " DATA2" =" " " Description" =" Tunnel to my server" " DATA3" =" " " ServerCert" =" 1" [-HKEY_CURRENT_USER\Software\Fortinet\SslvpnClient\Tunnels] [-HKEY_CURRENT_USER\Software\Fortinet\SslvpnClient] " ServerAddress" =" " " Installed" =dword:00000001 " ServerPort" =" " " KeepConnectionAlive" =" " " DATA0" =" " " DATA1" =" " " DATA2" =" " " DATA3" =" " " DATA4" =" " " DATA5" =" " " DATA6" =" " " DATA7" =" " " DATA8" =" " " DATA9" =" " " ConnectionName" =" MyServer" [-HKEY_CURRENT_USER\Software\Fortinet]
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow......thanks. Let me get cracking.
Thanks,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry it' s so long in the the tooth, but (in my opinion) it needed to be. I tried to make it idiot proof. Someone keeps building better idiots....

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have a sample SSLVPN .lnk file?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a link from the desktop, and paste in one of the lines from my first post. Be sure to change it to ' Program Files' if using a 32 bit OS.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob
We have it working now.
