Default location for Hyper-V gallery image downloads

Sys Admin 11 Reputation points
2022-12-08T16:27:00.15+00:00

In relation to old topic:

"How can I find where the image downloaded and stored automatically after I choose the option ' create quick...'"

https://social.technet.microsoft.com/Forums/ie/en-US/ebab4cf9-9e78-4ab1-8d2d-b1f6da1e11de/how-can-i-find-where-the-image-downloaded-and-stored-automatically-after-i-choose-the-option-?forum=winserverhyperv

The question actually was not answered. And I tried to find answer, but topic is locked and archived.

So after short search there is no clear answer of this question and what is provided in the above topic is wrong!

Default location for the virtual hard disks : C:\Users\Public\Documents\Hyper-V\Virtual hard disks\

This is the place where image is extracted! But actually archived virtual hard drives is downloaded and stay in windows temp folder!!!

C:\Users\User\AppData\Local\Temp

So images are extracted in the default VHD folder, but they are downloaded and stay in the default temp folder until manually deleted!!!

Tried to attach image but this image attachment dialog does not work for whatever reason right now.

In my temp folder now I have two image files ( because I did used two images from gallery Ubuntu 22.04 and Windows 11) .

Size and File name
22 163 162 773, 8C836DCC0B34DA12CB915D09C052E177C2801926BCEB7829D77E66925A3E4720.zip

2 484 769 532, eb6b904aa40f7214bdeade25e7b189db8c25a021b711677c1049d61867ff20cf.zip

And because I have this archives in my Temp folder even if I delete all the content of the VHD folder, and try to install same type of VM, I do not need to wait for 20GB file download, for Windows 11 image. But it start deployment immediately. But if I would like to clear the archive space I need to go to temp and delete it. Otherwise I have one extracted image in VHD folder and one archived VHD in the temp folder.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,866 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Derek Moss 0 Reputation points
    2023-05-07T06:08:27.7466667+00:00

    Thank you for this!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.