Assign a user to a persistent desktop before first use
Usually the persistent desktop design offers a chance to assign a virtual desktop to a user on first connect/use. The administrator entitles the user or a user group which inherits the users account to a persistent desktop pool but the virtual desktop assignment would be done on first use. However sometimes it may require a pre assignment which can be done the following way.
To assign a specific user to a persistent desktop prior to first use you need to logon to the View Manager Server as an administrator via console or RDP connection. Open a command prompt and run the command:
cd "%ProgramFiles%\VMware\VMware VDM\Server\bin"
then press Enter.
After a successful change to the View broker’s program files directory please run the following command:
vdmadmin.exe -L -d <pool_name> -m <vm_name> -u <full_user_name>
<pool_name> must be chnage to the View Manager poolname, <vm_name> to the virtual machine name as seen in the vCenter, and <full_user_name> is the user name including the domain: DOMAIN\username.
An example would be:
vdmadmin.exe -L -d DesktopPool -m WIN-VM -u DOMAIN\user1
