About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
One of the side effects of using sysprep to prepare an image is that drive letter assignments are reset to default. This behaviour is documented in a knowledge base article.
I previously solved this by running a diskpart script but that needed a custom script for each system (if the disk or partition order differs the script needed to be adjusted). So I needed to run a restore with sysprep determine the drive layout after sysprep, change the script, test by restoring again. So I wrote a commandline tool that can change a drive letter assignment based on the volume label.
eg. the partition with the Apps label is assigned D and the partition with the label Profiles is assigned E and so on.
This the syntax:
ChDrvLetter LABEL Letter
ChDrvLetter DATA D
You cannot change the drive letter for the boot/system partition.
LABEL is case insensitive and the first match is used.
ChDrvLetter DELETEONLY Letter can be used to delete a drive letter
.NET .NET FrameWork Active Directory Altiris Apple Automation Manager Citrix Dell Delphi Excel Exchange Exchange2003 Exchange2010 Hack HP iOS Java LinkedIn Linux Lync MSI Office Office 2010 Passat Password PowerPoint PowerShell RES RNS510 SasLibEx SCOM Security Terminal Server ThinApp TSAdminEx VBS VCDS Visual Basic Visual Studio VMWare Volkswagen VW Windows PE Wordpress XenApp