We help IT Professionals succeed at work.

what is vm.tmp.vhdx ?

pyotrek asked
I have virtual machine running on Windows Server 2012 R2 hyperv. Today I was going to move it to different partition when I noticed that there is a large file with the same name as the name of the hard disk with .tmp,vhdx extention.

so in effect there are 2 file in Virtual Disks folder for that machine named:

vmachine.vhdx and vmachine.tmp.vhdx

What is this file?
Can I delete it (it is 150GB)
Watch Question

Distinguished Expert 2018
There is nothing in Hyper-V that creates such a file by default. If I had to guess, someone wanted to make a backup of the VHD while the VM was stopped before making some sort of change (a de-facto snapshot) and that is how they went about it.


Hmmm - it is only me who has access to it, and I usually in cases like that rename the file in different format (.copy.date.vhd)
I will try to move the file and attempt to start the VM.


I have started the VM with the .tmp.vhdx file moved out of the folder and nothing happened. All seems to be fine. Cliff Galiher's explanation must be correct.