Any VM created in Azure is given a D drive; a temporary storage drive attached to the hypervisor; which gives better performance than the data disks as it's closer to the VM's compute resources. This comes at the cost of the contents not being persisted should the VM be deallocated / move to different host.
When you use Azure Migrate to move a VM from a non-Azure solution (e.g. an on-premise vmware solution) into Azure, no such temporary drive is created.
Is there a way to add such a drive to a migrated VM, so we can move the VM's pagefile there, and thus improve the performance of the migrated VM?
Best Answer
Get-ItemProperty 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' 'HideDrivesWithNoMedia'
should return0
.Get-PSDrive -PSProvider FileSystem | Format-Table Root, Description -AutoSize
.