We want to use ZENworks Configuration Management to manage our Windows 7 FAT desktops and VDI desktops. In our environment we were struggling to get our non-persistent VMware Windows 7 desktops registered in the ZCM Zone. After the Quickprep process (VMware KB) some desktops did not register or registered with an extra guid in the machine name. Both resulting in an unmanageable device without the associated ZCM icons (bundles) on the desktop. After trying many different potential solutions (cleaning parent, logon scripts etc.) to correctly register the devices, we came up with a permanent solution. Register the desktop with a VMware Post-synchronization script and use an agent with custom deployment settings.
ZCM and Vmware View settings in a couple of steps:
1 - Device folder ZCM Because we do not need all the agent features in our VDI desktop. We added a new device folder for the (stateless) VDI desktops and selected the agent features needed.
2 - ZCM Registration key To register the desktops in this folder we defined a registration key:
3 - ZCM Reconcile setting After the user has logged out, the desktop will be deleted and recomposed. The recomposed desktop is unique with exception of the hostname, so ZCM has to re-use (reconcile) the device object on hostname. Set the reconcile setting on “Machine name” and enable Differentiation.
4 - Deployment package ZCM agent We do not want to use the build-in deployment packages (https://zenworksserver/zenworks-setup) because they register to the ZCM zone after installation or on first network connection. When using the build-in package the agent get registered in the VMware View composing process or when updating the parent if there is a network connection.
We added a deployment package without a server (delete all entries) and installed the agent in our parent image.
5 - VMware Post-synchronization script. In the Pool settings from the View Administrator we added the following Post sync script (VMware KB
We also use ZCM to manage our VDI-Clients. We use other process for VDI-Client lifecycle, but it works also. I have a question about a problem we have with ZCM-Agent and VDI. If a ZCM-Agent are installed the reconnect to a active VDI-Session is only from the same Device (zero-Client or Horizon-Client on a FAT Client) possible. If you switch to another Devcie and want to reconnect, the VDI-Client Session close and open a new Session on another VDI-Client. Our VDI-Clients are also non-persistent. Have you try this szenario?
Interesting to know is that the upcoming ZCM 11.4 release will allow you to set the reconciliation on the registration rule or key so it will be more flexible to work with both VDI and traditional desktops