cancel
Showing results for 
Search instead for 
Did you mean: 

Disconnect Pulse Secure Tunnel by command line

SOLVED
New Contributor

Disconnect Pulse Secure Tunnel by command line

is there a command line that you can use to disconnect a VPN tunnel?
Tags (1)
6 REPLIES 6
New Contributor

Re: Disconnect Pulse Secure Tunnel by command line

For Windows 32bit and 64bit using Pulse 5.1
Highlighted
Community Manager

Re: Disconnect Pulse Secure Tunnel by command line

No. There is no specific command to disconnect a tunnel. What is your use case scenario? You could potentially disable the service, but this will make it difficult to connect again at a later point.
Contributor

Re: Disconnect Pulse Secure Tunnel by command line

There is;
c:\Program Files (x86)\Common Files\Juniper Networks\Integration>pulselauncher.exe -stop
or
c:\Program Files\Common Files\Juniper Networks\Integration>pulselauncher.exe -stop
New Contributor

Re: Disconnect Pulse Secure Tunnel by command line

-stop command will close the application.

I found that this will work
"C:\Program Files\Common Files\Juniper Networks\Integration\pulselauncher.exe" -url https://url.com -signout

it disconnects the session you want but you have to specify the url that is currently connected.
Not applicable

Re: Disconnect Pulse Secure Tunnel by command line

I also need this functionality.
Here's my use case:
1. The VPN disconnects automatically after 24 hours
2. I sign on every morning, and then leave it running.
3. At the end of the day, I run a cmd file to robocopy files to the server, and then disconnect the VPN. I'd like the VPN to be disconnected so that I can re-sign in easily the next morning.
So since I'm not arund at the end of the batch file running, I'd like a way to disconnect from within the cmd file.
Rao
New Member

Re: Disconnect Pulse Secure Tunnel by command line

Hello,

 

As per documentation the full command line parameters are 

pulselauncher.exe [-version|-help|-stop] [-url <url> -u <user> -p <password> -r <realm>] [-d <DSID> -url <url>] [-cert <client certificate> -url <url> -r <realm>] [-signout|-suspend|-resume -url <url>] [-t <timeout>]

so, yes you should be able to disconnect with command like:

pulselauncher.exe -signout -url <url>

But you found that by yourself, so this is more as of a help to others :-)