Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Arne_Boettger
Contributor

Command Line Arguments to R80.10 SmartConsole.exe

Jump to solution

Hello,

we used to launch SmartDashboard up to R77.30 for different SmartCenters from , a tool to manage connections to all kinds of devices. We launched "FwPolicy.exe connect %Hostname% %Username%".

However, on R80.10, FwPolicy.exe is no longer the right binary to launch. We discovered that we need to run , which does not seem to accept any command line arguments.

Is there a way to pass Username and Hostname to this or another binary to support directly launching a SmartDashboard for R80.10?

regards, Arne

1 Solution

Accepted Solutions

Yes this is possible (and undocumented..sorry about that...)

See the attached file. You have to unzip it before use. It is called SmartConsole.LoginParams but you can change it to any name you like as long as it appears in the -p value below:

SmartConsole.exe -p SmartConsole.LoginParams

SmartConsole.LoginParams 

Format of the XML (none of these parameters is mandatory):

<?xml version="1.0" encoding="utf-8"?>
<RemoteLaunchParemeters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Username>aa</Username>
<ServerIP>10.10.2.54</ServerIP>
<DomainName>LondonDomain</DomainName>
<ReadOnly>False</ReadOnly>
<CloudDemoMode>False</CloudDemoMode>
<DomainName>LondonDomain</DomainName>
</RemoteLaunchParemeters>

View solution in original post

14 Replies

Yes this is possible (and undocumented..sorry about that...)

See the attached file. You have to unzip it before use. It is called SmartConsole.LoginParams but you can change it to any name you like as long as it appears in the -p value below:

SmartConsole.exe -p SmartConsole.LoginParams

SmartConsole.LoginParams 

Format of the XML (none of these parameters is mandatory):

<?xml version="1.0" encoding="utf-8"?>
<RemoteLaunchParemeters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Username>aa</Username>
<ServerIP>10.10.2.54</ServerIP>
<DomainName>LondonDomain</DomainName>
<ReadOnly>False</ReadOnly>
<CloudDemoMode>False</CloudDemoMode>
<DomainName>LondonDomain</DomainName>
</RemoteLaunchParemeters>

View solution in original post

Arne_Boettger
Contributor

Hello Tomer,

thanks for the quick response. I have some suggestions to improve useability:

1. there is a typo in "RemoteLaunchParemeters" - maybe this should be corrected in the code and sample?

2. On a non-mds I had to leave the "DomainName" field empty

3. Now, after Launch, I receive an error message that password may not be empty. Is there a way to skip this error message and drop me directly to the usual login screen?

regards, Arne

1. You are correct

2. Yes. You can also just delete that node

3. Understandable. We will consider this for one of our next builds or releases.

HeikoAnkenbrand
Champion
Champion

<Password>xyz</Password>

also works!

Regards,

Heiko

Aleksandr_Nosit
Employee
Employee

Tomer, 

 

Do we have same option for EndpointManager.exe ? R80.40 and above

Regards, 

Alec

 

0 Kudos
PhoneBoy
Admin
Admin

As far as I know this should still work the same way in current versions.

0 Kudos
Aleksandr_Nosit
Employee
Employee

Thank You Dameon, 

 

will give it a try

 

/Alec

0 Kudos
Aleksandr_Nosit
Employee
Employee

Hello again, 

 

seems that Endpointmanager.exe is not picking up parameters file...so connection parameters are not passed to application.

 

/Alec

0 Kudos
G_W_Albrecht
Legend
Legend

Only Dashboard reads the parameter file, but you can use Dashboard to open Endpoint...

0 Kudos
Aleksandr_Nosit
Employee
Employee

Please ellaborate how can i do it via CLI?

0 Kudos
skeutgen
Explorer

Hi everyone,

Is it known that there is an issue with the loginparams in Version R80.30 B94? We were using the xml file to login in Version B90 and before after upgrading to B94 it is not working anymore.

When I start the smartconsole without parameters it's starting just fine, but with ".\SmartConsole.exe -p path/to/login.LoginParams" Option we end up in an loop where the smartconsole window only says "starting" and some dots flying through. Also while doing this it is impossible to quit out of the windows except using task manager.

Cheers,

Sascha

0 Kudos
Feridun_ÖZTOK
Participant

Hello skeutgen,

I have same problem in R80.40 build 416. I had to delete B416 and install B398 again. The same problem exists with the R81. Did you find a solution?

 

Best regards,

Feridun ÖZTOK

0 Kudos
JozkoMrkvicka
Leader
Leader
0 Kudos
Feridun_ÖZTOK
Participant

Jozko, thanks for info. I will follow the issue under this link.

 

Best regards,

Feridun ÖZTOK

0 Kudos