Test the command on a desktop with the VMware View Client installed with the switches to ensure that the auto logon works and fire up Group Policy Management Console on a domain controller. Also note that if your virtual desktop’s name has spaces, use the quotes to enclose the name. Note that I have highlighted the custom parameters in RED so please change them as required. The command with switches I used is as follows:Ĭ:\Program Files\VMware\VMware View\Client\bin\wswc.exe -desktopName "Some Desktop Name" -serverURL -logInAsCurrentUser true Note that all of the switches are CASE SENSITIVE so if you make a minor mistake in the capitalization, the switches will fail. VMware’s documentation of the switches can be found here: confirmRollback Confirm rollback operation in non-interactive mode rollback Rolls back a check out (need -desktopName) printEnvironmentInfo Print information about the system connectUSBOnInsert XXX Connect a USB device to the foreground desktop when the connectUSBOnStartup XXX Connect all USB devices to a desktop when it is launche
logInAsCurrentUser XXX Log in as current user (true or false) serverURL XXX URL for the View Connection Server desktopLayout XXX Specify desktop screen size (e.g. desktopProtocol XXX Attempt to use the specified desktop display protocol smartCardPIN XXX PIN for smart card login nonInteractive Suppress error message boxes for fully scripted startup languageId XXX LCID of language to use (if available), e.g. file XXX File with additional command line parameters VMware View Client 5.0.0 build-481677 command line usage: The following are the switches available for VMware View Client (wswc.exe) which is located in the following directory:Ĭ:\Program Files\VMware\VMware View\Client\bin\Ĭommand line option must be followed by an option name The method I used to automate the logon process was the switches accepted by the VMware View Client’s executable as the options provided by the adm file via GPO was too confusing for me. First off, the lesson I learned is not to use a server to do any testing as I had plenty of issues with the correct syntax for the VMware View Client to automatically login.
The client I’m currently working with is trying to extend the life of their desktops that was around since I was still attending university and slowly move to thin-clients as they require replacement and one of the tasks this weekend was to automate the login process to their VMware View 5.0 virtual desktops upon logging into Windows with their Active Directory credentials.