Objective 2.11 – Configure the Environment for Kiosk Mode
For this objective I used the following resources
- VMware View Administration documentation
- VMware KB Article 1028287 – Configuring kiosk mode in VMware View Manager 4.5
Utilize vdmadmin (e.g, enable/disable Kiosk Mode, assign client to desktop, etc.)
Identify client device’s identification mechanism (MAC, custom name, etc)
Combining both of these sections as the process of setting up Kiosk Mode from start to finish will utilize the commands needed. You can use vdmadmin to perform administration tasks that are not possible from within the View Administrator interface or to perform administration tasks that need to run automatically from scripts. There is a long list of functions that can be used with vdmadmin, but I am going to focus on the command syntax around Kiosk Mode. For further examples refer to pages 321 thru 348 of the VMware View Administration documentation.
To setup Kiosk Mode via the vdmadmin command tool the bulk of the actions will utilize the –Q switch. For the examples I have used below I have prepped an Active Directory OU and Security group to hold the user accounts:
Step 1 – Setting the default OU and user group to hold the kiosk accounts:
Command – “vdmadmin –Q –clientauth –setdefaults –ou [DN] –noexpirepassword –group [group_name]”
Step 2 – Next we need to get the MAC address of the View desktop that will be used in Kiosk Mode. There are multiple ways to accomplish this task, since I am only working with a singe VM I collected the MAC from the VM settings. If you have used a naming pattern for your VM’s the “Custom-“ attribute can be used with the –clientid switch. See step 3 in the VMware KB article 1028287 “Configuring kiosk mode in VMware View Manager 4.5” for additional information.
Step 3 – With the MAC address obtained, create the needed user accounts:
Command – vdmadmin –Q –clientauth –add –domain [domain_name] –clientid [client_id] –group [group_name]
If you view the Security Group that was created you should now see the above user account as a group member:
Step 4 – Configure the connection server for use with Kiosk Mode:
Command – vdmadmin –Q –enable –s [connection_server]
Step 5 – Verify the accounts were added and the Connection Server is enabled for Kiosk Mode:
Command – vdmadmin –Q –clientauth –list
Just like that you have desktops ready for Kiosk Mode!