Home Applications Automate VHD Offline Defrag for Citrix Provisioning Server

Automate VHD Offline Defrag for Citrix Provisioning Server

Automate VHD Offline Defrag for Citrix Provisioning Server

This article, Automate VHD Offline Defrag for Citrix Provisioning Server, shows you how to defragment your VHDX files with PowerShell.

When deploying VHDX files with Citrix Provisioning Server in combination with RAM Cache with Overflow to Disk, it is very important to defragment your virtual disks. In the article Size Matters: PVS RAM Cache Overflow Sizing, Citrix makes two very clear statements. The first one is:

“Defragmenting the vDisk resulted in write cache savings of up to 30% or more during testing.”

The second statement refers directly to offline defragmentation (as opposed to online defragmentation):

“Defragment the vDisk by mounting the .VHDX on the PVS server and running a manual defragmentation on it. This allows for a more robust defragmentation as the OS is not loaded. An additional 15% reduction in the write cache size was seen with this approach over standard defragmentation.”

In a fully automated installation process of your master target device, the automatic offline defragmentation of your VHDX file should be included as well. After the VHDX file has been created, you can continue, within the same PowerShell script, with the offline defragmentation of the newly created VHDX file.

Read the entire article here: Automate VHD Offline Defrag for Citrix Provisioning Server

Via Dennis Span at dennisspan.com

Dennis Span Dennis Span is an IT professional working for a large insurance company in Vienna, Austria. Born and raised in the Netherlands, he moved to Austria in 2004. He has more than 15 years of experience working with virtualization and server based computing technologies in large enterprise environments with a special focus on Citrix and automation. Dennis shares his knowledge on his own personal blog, Dennisspan.com, and MyCUGC. He is also active on Twitter (@dennisspan) and occasionally presents on international events. He speaks and writes Dutch, English, German, Slovak and Spanish. Dennis has a Bachelor of Economics (BEc.) and a Bachelor of Science in Engineering Management (BSc.). He also has multiple Citrix certifications such as CCE-V, CCIA, CCEA and more. In 2017, Dennis became a Citrix Technology Advocate (CTA).

Featured Resources:

Related Articles:


White Papers

    Application Lifecycle Management with Stratusphere UX – White Paper

    Enterprises today are faced with many challenges, and among those at the top of the list is the struggle surrounding the design, deployment, management and operations that support desktop applications. The demand for applications is increasing at an exponential rate, and organizations are being forced to consider platforms beyond physical, virtual and cloud-based environments. Users […]


      Download Commvault VM Backup and Recovery: end-to-end VM backup, recovery and cloud management

      Commvault’s ability to provide end-to-end VM backup, recovery and cloud management creates a significantly better way to build, protect and optimize VMs throughout their lifecycle. Our best-in-class software for VM backup, recovery and cloud management delivers a number of significant benefits, including: VM recovery with live recovery options; backup to and in the cloud; custom-fit […]

      On-Demand Webinars

        What’s Going on in EUC Printing – A Technical Deep Dive!

        The IGEL Community and ThinPrint invite you to watch the following technical deep dive webinar. The agenda is to technically bring you up to speed on what’s going on in the EUC Printing space today along with a deep dive into new methods, technologies, printing scenarios and a discussion on why printing still matters. You […]

        Latest Videos

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com
          Win big $$, visit ITBaller.com for more info!

          Visit Our Sponsors