VMware UUID

Microsoft Platform Guide

Audience
Public
Source Type
Documentation

On some VMware environments, a Windows Server VM will not show the actual UUID of the disks. Attempts to do anything with these disks will result in an error that the disk is unsupported.

To test if the UUID is incorrect, run the following in PowerShell:

$disk = get-disk

$disk.uniqueid

The above image is not the proper UUID and ends with the hostname of the VM. If the uniqueid is like the above, the module will not work with VMware Virtual Volumes unless the VMX is modified.

The above image is a proper UUID.

One line needs to be added to the VMX file for each VM.

1) Power off the VM.

2) In vCenter, right click a VM, and select Edit Settings.

3) Select VM Options, and then expand Advanced by clicking the greater than sign '>' to the left of Advanced.

4) Scroll down and select Edit Configuration

5) Look for the disk.ENABLEUUID line, and change it to TRUE. Notice that you are unable to modify this line if the VM is powered on.

6) After the VM is powered off, go back to the Configuration Parameters and highlight False.

7) Change it to TRUE

8) If there is no disk.ENABLEUUID entry, select ADD CONFIGURATION PARAMS at the top of Configuration Parameters.

9) With no extra characters or spaces before or after type disk.ENABLEUUID under Name, and TRUE, under Value.

10) Select OK, then Power On the VM.

11) Rerun the PowerShell lines to enumerate the UUID and ensure they look like the following image, and not "SCSI\DISK*:<hostname>"