AppSense

Prepping a golden image with AppSense in a Citrix Provisioning Services (PVS) environment

Here’s a little script I wrote to help me prep golden images in provisioned environments (pooled VMs) with AppSense DesktopNow. There is an excellent best practices guide on Citrix Provisioning Server and AppSense but I’m not sure it’s publicly available because I couldn’t find it on myappsense.com or I would link to it. I got it directly from an AppSense SE a while back. This script clears the CCA GUIDs for you as recommended in this best practices guide. If you don’t clear the GUIDs then all your standard images come up and check in with the AppSense Management Server with the same GUID which can lead to very weird behavior like missing data or settings. You can burn it right into an admin tools folder in your private golden images or run it remotely, whatever you prefer. When I’m ready to go from private to standard, I just run this bat file before shutting down. Works great for me.

Once it runs check the registry and you’ll see the keys are now blank:

Advertisement. Scroll to continue reading.

If the code above runs off the page, just highlight the entire block of code and paste into Notepad to see it all. Alternatively, here’s the script as a .txt file so you can see the whole thing or even rename it to .bat and use it as is (make sure you right click – save as):

ClearCCA.txt

Hope this helps. Let me know if you have any PVS + AppSense best practices questions or suggestions.

Advertisement. Scroll to continue reading.

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Apache

Today I would like to go over proper URL redirection when using SSL but first I would like to preface this by describing what...

Exchange 2003

A useful Exchange 2003 guide I wrote for a friend’s blog originally but I am posting it here on mine now for your viewing...

Citrix Workspace

You can use FIDO2 hardware security keys plugged into your physical desktop over the Citrix HDX remoting protocol for use with virtualized Windows Desktop...

Cloud Design Architecture

The community-driven paperback book initiated by my friends Bas van Kaam and Christiaan Brinkhoff is available for sale on Amazon. If you haven’t picked...

JasonSamuel.com was launched in 2008 as a platform to give back to the IT community by sharing knowledge and expertise. Over the years, it has become a trusted global resource for the latest insights, how-to guides, and forward-thinking leadership on enterprise mobility, security, virtualization, cloud architecture, automation, and other cutting-edge technologies. Today, it serves as a go-to reference hub for IT professionals, attracting hundreds of thousands of unique visitors from around the world each month. Learn more on the About Me page.
Copyright © 2008-2025 JasonSamuel.com

Exit mobile version