Actually this might be dumb question but for some of the less techie or lower tier administrators this can be helpful in some situations.
Especially if we need help from other admins but do not want to release our passwords.
I have a workstation which I launch 2x viClient to the VMware PRD vCenter and VMware VIew VDI vCenter respectively.
- click on the viClient Shortcut
- Choose the vCenter from dropdown menu (or type it in)
- Enter User ID & PW (I normally use the Windows session credentials)
Is there a way to login automatically :
1. Launch the viClient to the VMware PRD vCenter when the Win7 Workstations boots up ?
2. Launch the viClient to the VMware View vCenter when the Win7 Workstations boots up ?
3. Launch the viClient to the VMware PRD vCenter via a shortcut or batch file ?
4. Launch the viClient to the VMware View vCenter via a shortcut or batch file ?
Try changing the properties of the shortcut to
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s Server -u Username -p Secret
or
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s Server -passthroughAuth
if you're using Windows authentication.
Haven't tried, but if you want the client to autostart it might work if you add the shortcuts to the Startup folder.
putting the shortcusts in the start bar should work.
But how to create the shortcuts such that the vCenter is already choosen and the viClients have the credentils entered ?
Also, we have to manually click on to the "login" button.
What I would need/hope for is a command line or batch where I can hardcode the details.
Try changing the properties of the shortcut to
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s Server -u Username -p Secret
or
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s Server -passthroughAuth
if you're using Windows authentication.
Haven't tried, but if you want the client to autostart it might work if you add the shortcuts to the Startup folder.
Thanks...worked like a charm...