Assigning Drive Letter to AppStacks and Writable Volumes Doesn’t Work

By 2 min read

Assigning drive letter to the AppStack/s or Writable volume fix few of the known issues. As example, assiging drive letter to Writable Volume fix the issue for Chrome extension. It also fix the issue with Microsoft OneDrive Syncing folder creation issue. The registry tweak VMware provided for the drive letter is not just assiging letters but also for hide those.

The registry setting in HKLM\SYSTEM\CurrentControlSet\services\svdriver\Parameters, the parameter is called “DriveLetterSettings”. It's a REG_DWORD key. By default this parameter is not present in the mentioned location, hence need to create and assign a value based on Writable Volume and AppStack drive letter requirement.

The values for the parameters are -

ValueDescription
0x0000001DRIVELETTER_REMOVE_WRITABLE. Do not assign drive letter for writable volumes.
0x0000002DRIVELETTER_REMOVE_READONLY. Do not assign drive letter for AppStack volumes.
0x0000004DRIVELETTER_HIDE_WRITABLE. Hide drive letter for writable volumes.
0x0000008DRIVELETTER_HIDE_READONLY. Hide drive letter for AppStack volumes.

To get the required result, we are required to add (+) the different values from the table above. In my example, I used (2+4 =) 6, that represents "Do not assign drive letter for AppStack volumes" and "Hide drive letter for writable volumes". The default value for the parameter is (1+2 =) 3, represent no drive letter for writable volumes or AppStacks. Please visit VMware documentation site for details.

Once I complete the task, I recompose my pool, and... NO, it's not working (at least not for me).

To make it works, I had to change the Writable Volume's drive letter attribute from diskpart.

Here are the steps I followed -

  • Take a VM without AppVolume Agent installed on it.

  • Power down and Edit the VM.

  • Add Existing Disk

VM Edit Settings dialog with New device set to Existing Hard Disk and the Add button highlighted
  • Select template_uia_plus_profile.vmdk or your own template from cloudvolumes\writbale_template location.
Select File dialog browsing the cloudvolumes writable_templates datastore folder for a template .vmdk file
  • Change the device mode to Independent - Persistent. And then Add.
New Hard disk settings with Disk Mode set to Independent - Persistent and the OK button highlighted
  • Power up the VM and then Login to windows.
  • From command prompt, run -
    • diskpart.exe
    • on diskpart -
      • run list volume command to find-out volume number
      • run select volume (number) command (in my case number is 3)
      • run attributes volume clear NODEFAULTDRIVELETTER command
      • and then exit to exit from diskpart.
Command Prompt running diskpart: list volume, select volume 3, then attributes volume clear NODEFAULTDRIVELETTER
  • Shutdown VM.
  • Remove the newly added template disk.
VM settings with Hard disk 2 highlighted and its Remove button shown
  • From AppVolumes, go-to Volumes, Writable tab and execute Rescan command.
App Volumes Manager Volumes page, Writables tab, with the Rescan button highlighted

Assign this new / updated to the users (to make it working for existing users, you will require to delete all assigned Writable volumes and create from this template).

The Writable Volume will get a drive letter (hidden) and OneDrive will work fine.

Related guides

App Volumes

VMware App Volumes - Redirect HTTP to HTTPS

Redirect HTTP requests to HTTPS on the VMware App Volumes Manager by editing nginx.conf, so users never see a 403 or 404 error after port 80 is disabled.

App Volumes

App Volumes 2.11 Known Issues

Known issues in VMware App Volumes 2.11, from AppStack attach failures on instant clones to Windows 10 search problems, with workarounds where available.