VMware Horizon Community
agsnowdon
Contributor
Contributor
Jump to solution

How to Auto Login Horizon View 5.3

Hi

I have added the following parameters to my icon to auto complete the server URL, username and password: -serverURL XXXXXXXXXX -userName XXXXXXXXXX -password XXXXXXXXXX

Is there a way to auto press the login button? which will then take me to the dialog to choose which desktop I would like to load?

Thanks

Ash

0 Kudos
1 Solution

Accepted Solutions
elgwhoppo
Hot Shot
Hot Shot
Jump to solution

Pretty sure the -desktopName parameter still works with all versions of the client, although I haven't tested with the latest version. It corresponds with the Display name of the pool. Should automatically launch straight into the desktop if credentials are provided. Add the -unattended switch for completely silent operation.

http://pubs.vmware.com/view-50/index.jsp?topic=/com.vmware.view.administration.doc/GUID-07710760-80F...

VCDX-Desktop

View solution in original post

0 Kudos
2 Replies
elgwhoppo
Hot Shot
Hot Shot
Jump to solution

Pretty sure the -desktopName parameter still works with all versions of the client, although I haven't tested with the latest version. It corresponds with the Display name of the pool. Should automatically launch straight into the desktop if credentials are provided. Add the -unattended switch for completely silent operation.

http://pubs.vmware.com/view-50/index.jsp?topic=/com.vmware.view.administration.doc/GUID-07710760-80F...

VCDX-Desktop
0 Kudos
agsnowdon
Contributor
Contributor
Jump to solution

Thats perfect, I also just had to add the -domain parameter to get it to go all the way through. Now my icon target is:

"C:\Program Files\VMware\VMware View\Client\bin\wswc.exe" -standalone -serverURL XXXXX -userName XXXXX -password XXXXX -domain XXXXX -desktopName XXXXX


This is going to really help out for logging into the multiple environments!

0 Kudos