Jump to content


Photo

Customizing Machine Creation Services

Started by Tyler Rindels , 26 May 2016 - 05:21 PM
1 reply to this topic

Tyler Rindels Members

Tyler Rindels
  • 1 posts

Posted 26 May 2016 - 05:21 PM

We recently started deploying Machine Creation Services to all of our Citrix deployments.  However, we have run into a snag in two of our mission critical objectives:

 

(1) Windows Patch Management:  We currently use our Remote Monitoring and Management tool to assess and apply regression tested, whitelist patches.  However, the RMM agent is not a portable application that will establish new connections to our NOC after the Update Catalog process.

 

Currently, we don't have our RMM tool installed on the master (gold) image and install the agent onto our Catalog via GPO / MSI deployment each time the catalog is updated.  This is our only option for deployment of the agent based on the application design.

 

(2) Backup and Disaster Recovery:  We use StorageCraft ShadowProtect to perform backups of all of our servers.  We have not been backing up our master images with this software because it has to be disabled and uninstalled from our deployed servers. Uninstalling the application with networking triggers the application to communicate with StorageCraft's licensing services and will disable our license on the active master.

 

My question is:  Is there a way to create custom tasks (i.e. application removal or scripting) that occur during the MCS Image Preparation Image Steps?

 

Any insight would be very helpful.  Thank you.



Mark Syms Citrix Employees

Mark Syms
  • 1,712 posts

Posted 01 June 2016 - 09:15 AM

Yes, in theory.

 

You can add one (or both) of the following MultiSZ registry values

 

HKLM\Software\Citrix\MachineIdentityServiceAgent\ImagePreparation\Before

HKLM\Software\Citrix\MachineIdentityServiceAgent\ImagePreparation\After

 

The values are expected to be an executable or script (PoSh or bat), returning 0 on success