VMware Horizon Community
jpallanore
Contributor
Contributor

Auto login in View Client with login of Windows session

Hello all,

I've seen it is possible to launch the View Client with parameters (wswc -userName XXX -password XXX -domainName XXX, etc...), the username can be %username% for to adopt a portable script but for the password ?

How to recoverer the windows password for to use with parameter -password ? Or is there an another solution ?

Thanks in advance,

Jean-Philippe

0 Kudos
7 Replies
Adminafterwork
Enthusiast
Enthusiast

Did you found your solution, please can you post it here?

0 Kudos
jpallanore
Contributor
Contributor

I didn't found a solution.

I want to login automatically into View Client with the windows logon. I search for that.

0 Kudos
Adminafterwork
Enthusiast
Enthusiast

Hi there,

please have a look about the command line options of the view client in the view admin guide, page 89ff...... so qou'll be able to implement that....

0 Kudos
jpallanore
Contributor
Contributor

Hi,

page 89, I use this solution. A script for each user must be created with the password stored in plain text in the script.

For more security, I ask if there is a way for the script recover automatically the windows logon.

0 Kudos
Camek
Enthusiast
Enthusiast

Here is what we do... We have old PCs which we have converted into thin client devices and we have a small application written that makes sure that View Client is always running on those PCs. We then turn on single sign-on in View and when user signs into the View Client and picks a desktop pool it auto logs them directly in the Virtual Desktop. Now if we want that thin client device (old PC) to alway logon to only one desktop pool we add the -desktopName <name> as a parameter on the start for View Client. The user then enters their userid and password and they logon directly into the vitrual desktop.

0 Kudos
jpallanore
Contributor
Contributor

Hi Camek,

I adopt your solution but the user must encode his username and password. The View Client doesn't take the Windows Credential Logon.

0 Kudos
krismcewan
Enthusiast
Enthusiast

I have used this to get it to login as Current user.

"C:\Program Files\VMware\VMware View\Client\bin\wswc.exe" -loginascurrentuser true -serverurl "boker name" -desktopname "pool name" -noninteractive

thsi as a shotcut launches the client as the current logged in user and directs them to a pool.

A VMware Consultant in Scotland for Taupo Consulting http://www.taupoconsulting.co.uk If you think I'm right or helpful award me some points please
0 Kudos