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:
Navigate to Scripted Actions > Azure runbooks.
Locate the script called Shrink OS Disk.
From the action menu, select Clone.
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.
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:
Navigate to Desktop Images.
Locate the desktop image you want to shrink.
From the action menu, select Run script.
From the drop-down menu, select the Azure runbooks script that was previously created to shrink the disk to 32 GB.
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.
Note: The OS Disk parameter now supports 32 GB, assuming the Desktop Image that you select is a 32 GB image.