cancel
Showing results for 
Search instead for 
Did you mean: 

Script to login to a network in windows

SOLVED
ChristianCCS
New Contributor

Script to login to a network in windows

Hi,

Sorry for my english in advance.

I have Pulse Secure in my PC, and in order to connect my PC to any software I have to right click on pulse secure icon. And then select a network, and click in connect. Every single time then a Login my PC I have to do this.

I'm trying to make a scritp in order put in my start session, to do that in automatic so I can work with out problem.

It's that posible?

Can you help me? I have just arrived at this:

@echo off
start "Ari" "C:\Program Files (x86)\Common Files\Pulse Secure\JamUI\Pulse.exe" -tray 

 

But now I do not know how to connect to a particular network from the script

Please help me
Thanks in advance

Tags (3)
2 ACCEPTED SOLUTIONS

Accepted Solutions
akanoon
Moderator

Re: Script to login to a network in windows

This is possible:  Check https://kb.pulsesecure.net/articles/Pulse_Secure_Article/KB23158/?l=en_US&fs=RelatedArticle

 

pulselauncher.exe will be under C:\Program Files\Common Files\Pulse Secure\Integration

 

Regards

Please remember to mark solved once the thread is resolved. Kudos are also appreciated.

View solution in original post

ChristianCCS
New Contributor

Re: Script to login to a network in windows

Thanks for your help, It cost me a bit, but it was achieved.:

I made a shourtcut and I put this:

"C:\Program Files (x86)\Common Files\Pulse Secure\Integration\pulselauncher.exe" -url <url> -u x -p x -r x

Where <url> I put my URL, and I didn't need a user or password not even a realm, so I put an "x".

At the end it works.

 

This help, helpme a lot:

C:\Program Files (x86)\Common Files\Pulse Secure\Integration>pulselauncher
pulselauncher [-version|-help|-stop] [-url <url> -u <user> -p <password> -r <rea
lm>] [-d <DSID> -url <url>] [-cert <client certificate> -url <url> -r <realm>] [
<-signout|-suspend|-resume> -url <url>] [-t Time(Seconds min:45, max:600)]

View solution in original post

4 REPLIES 4
akanoon
Moderator

Re: Script to login to a network in windows

This is possible:  Check https://kb.pulsesecure.net/articles/Pulse_Secure_Article/KB23158/?l=en_US&fs=RelatedArticle

 

pulselauncher.exe will be under C:\Program Files\Common Files\Pulse Secure\Integration

 

Regards

Please remember to mark solved once the thread is resolved. Kudos are also appreciated.
ChristianCCS
New Contributor

Re: Script to login to a network in windows

Thanks for your help, It cost me a bit, but it was achieved.:

I made a shourtcut and I put this:

"C:\Program Files (x86)\Common Files\Pulse Secure\Integration\pulselauncher.exe" -url <url> -u x -p x -r x

Where <url> I put my URL, and I didn't need a user or password not even a realm, so I put an "x".

At the end it works.

 

This help, helpme a lot:

C:\Program Files (x86)\Common Files\Pulse Secure\Integration>pulselauncher
pulselauncher [-version|-help|-stop] [-url <url> -u <user> -p <password> -r <rea
lm>] [-d <DSID> -url <url>] [-cert <client certificate> -url <url> -r <realm>] [
<-signout|-suspend|-resume> -url <url>] [-t Time(Seconds min:45, max:600)]

JamieHead
Occasional Visitor

Re: Script to login to a network in windows

How exactly would you know the realm if you are not the host of the connection? I see a common one is "Users" but that does not seem to work on my companies connection. Any Idea's?

adrenochrome
New Contributor

Re: Script to login to a network in windows

look in login web page source and look for "realm" string