32 GB OS Disk Support

32 GB OS Disk Support

Starting with version 3.1, Nerdio Manager supports highly-optimized 32 GB disks to save on the cost of OS disk storage.

Warning: It is very difficult to reduce the size of a typical Windows OS, and all its applications, and still have enough free space on the system drive (C: drive), so that it all fits well within 32 GB. It is possible on some highly-optimized images.

Create a Script to Shrink the OS Disk to 32 GB

The first step is to create a script to shrink the OS disk to 32 GB. To do this, you simply need to clone and modify the built-in script that shrinks the OS disk.

To create a script to shrink the OS disk to 32 GB:

  1. Navigate to Scripted ActionsAzure runbooks.

  2. Locate the script called Shrink OS Disk.

  3. From the action menu, select Clone.

  4. Change the following information:

    • Name: Type "Shrink OS Disk to 32 GB."

    • Description: Type "Resize VM OS disk to 32 GB."

    • Script: Locate $DiskSizeGB and change the value to 32.

  5. Once you have made the changes, select Clone.

    The new script is ready to be used.

Shrink a Desktop Image

The next step is to shrink a desktop image.

Note: Before you perform the following steps, first make all the necessary changes so that usage on the C: drive is well below 32 GB. Only then should you follow these steps to shrink the disk for C: drive.

To shrink a desktop image:

  1. Navigate to Desktop Images.

  2. Locate the desktop image you want to shrink.

  3. From the action menu, select Run script.

  4. From the drop-down menu, select the Azure runbooks script that was previously created to shrink the disk to 32 GB.

  5. Select Run now.

    The desktop image's OS disk size is shrunk to 32 GB.

Deploy Session Hosts Using the 32 GB Image

The last step is to deploy session hosts using the 32 GB desktop image. This is done using the standard procedure for creating a new host pool.

See Create Dynamic Host Pools and Create Static Host Pools Without Auto-Scaling for the full details.

Note: The OS Disk parameter now supports 32 GB, assuming the Desktop Image that you select is a 32 GB image.

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.