How to open, unmount, or permanently attach a VHD file in Windows 10

Windows 10 has an excellent tool for managing your drives and partitions, called Disk Management. One of its best features is that it allows you to mount and unmount VHD files so that you can work with them as you need. In this guide, we show you how to attach and detach Virtual Hard Disk (VHD) images in Windows 10, as well as how to permanently attach a VHD file that’s always available. If we sparked your interest, read on:

Contents

  1. What is the use of VHD (Virtual Hard Disk)?
  2. How do I open a VHD file? (or how to mount a VHD image with Disk Management)
  3. How do I permanently attach a VHD?
  4. How to detach a VHD image using Disk Management (unmount VHD)
  5. How do you use VHD files in Windows 10?

What is the use of VHD (Virtual Hard Disk)?

A Virtual Hard Disk or VHD file is a virtual hard drive image that stores all the data from a hard disk partition or file system, all in a single file. VHD files are usually created and used by virtual machine software such as VirtualBox or Microsoft’s virtualization solution Hyper-V. Additionally, the old Windows Backup tool from Windows 7, which is still present in Windows 10, also saves system images as VHD files.

How do I open a VHD file? (or how to mount a VHD image with Disk Management)

First, open the Computer Management console on your Windows 10 PC. In it, select Disk Management on the left.

How to open, unmount, or permanently attach a VHD file in Windows 10

Disk Management in Computer Management

On the same left-side panel, right-click or press-and-hold on Disk Management and select the “Attach VHD” option.

How to open, unmount, or permanently attach a VHD file in Windows 10

Attach VHD in Disk Management

You can also find an “Attach VHD” option in the Action menu from Disk Management, as shown in the screenshot below.

How to open, unmount, or permanently attach a VHD file in Windows 10

Attach VHD in the Actions menu from Disk Management

Then, Disk Management loads a dialog window called “Attach Virtual Hard Disk.” Type the path to the VHD file that you want to mount or click/tap Browse to find it on your Windows 10 PC.

How to open, unmount, or permanently attach a VHD file in Windows 10

Attach Virtual Hard Disk

Locate the VHD file to mount and select it. Then press the Open button.

How to open, unmount, or permanently attach a VHD file in Windows 10

Browse Virtual Disk files and select the one to mount

You are now back to the “Attach Virtual Hard Disk” window. Our advice here is to let the “Read-only” box unchecked so that you can modify the files found inside the VHD image. If you check this box, you can open and copy files from the VHD, but you cannot alter them in any way. Click or tap on OK to open the VHD image.

How to open, unmount, or permanently attach a VHD file in Windows 10

Attaching a Virtual Hard Disk file

You should now see that the VHD file has been mounted as a separate disk drive, and it has its own drive letter assigned.

In our case, the mounted VHD image included three different partitions found on a Windows 10 system drive. Naturally, only the partition where Windows 10 was installed has a drive letter – I – as you can see in the screenshot below.

How to open, unmount, or permanently attach a VHD file in Windows 10

The VHD file has been mounted

Open File Explorer and click on the new partition to open it.

How to open, unmount, or permanently attach a VHD file in Windows 10

A partition from a VHD file shown in File Explorer

Now, you can easily manipulate the desired files from the attached VHD file.

How to open, unmount, or permanently attach a VHD file in Windows 10

Browsing a VHD file

How do I permanently attach a VHD?

If your question is “How do I permanently attach a VHD?”, here’s what you should do:

Open the Task Scheduler and click or tap on Create Task in the Actions panel.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: Create Task in Task Scheduler

In the General tab of the Create Task window, type a name for the VHD permanently mount task. Then, select the “Run whether user is logged on or not” and “Run with highest privileges” options, and choose Windows 10 in the “Configure for” dropdown list.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: General settings for the task

In the Triggers tab, click or tap on New.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: Triggers for the task

This opens the New Trigger window. In it, select “At startup” from the “Begin the task” list at the top. Then, click or tap the OK button.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: Trigger is At startup

Move on to the Actions tab from the “Create Task” window. On it, click or tap New.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: Actions for the task

In the “New Action” window, type powershell.exe in the Program/script field. Then, in the “Add arguments (optional)” text field, type this command: Mount-DiskImage “Path to the VHD file”.

Obviously, change the “Path to the VHD file” with the real path to the VHD file that you want to mount permanently. Once you’re done, press OK.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: Use PowerShell to run Mount-DiskImage

Press OK once more to save the “permanently mount VHD” task.

How to open, unmount, or permanently attach a VHD file in Windows 10

How to permanently attach a VHD: Saving the task in Task Scheduler

The final step is to enter the Password of your Windows 10 user account. Type it and press OK.

How to open, unmount, or permanently attach a VHD file in Windows 10

Entering the password of the user account

The attached VHD file is available to use for as long as you want, even if you restart your Windows 10 PC. If you decide you no longer need to access it, you can detach the VHD file (unmount VHD) by following the steps in the next section of this tutorial.

How to detach a VHD image using Disk Management (unmount VHD)

After you are done working with the mounted virtual image, you might want to unmount it. Open Computer Management and select Disk Management again. Then, right-click or press-and-hold on the attached VHD and choose the “Detach VHD” option.

How to open, unmount, or permanently attach a VHD file in Windows 10

Unmount VHD in Windows: Detach VHD

Click or tap on the OK button to finish.

How to open, unmount, or permanently attach a VHD file in Windows 10

Detach Virtual Hard Disk

You should now see that the disk and all its partitions have been removed from the Disk Management window.

How to open, unmount, or permanently attach a VHD file in Windows 10

The VHD file has been detached (unmounted)

The next time you open File Explorer, you will notice that the detached VHD partitions are no longer shown there either.

How do you use VHD files in Windows 10?

There are times when you need a single file or folder from a VHD file or system image created by Windows Backup. Using the Disk Management utility, you can easily mount the VHD file and copy the files and folders you need. Also, this allows you to add folders and files to any image. Depending on the usage scenario – this feature can be useful. In the end, you’ve seen that using Disk Management to mount and unmount VHD files is not complicated at all. If you have any other tips to share, let us know in a comment.

Sign up and earn $1000 a day ⋙

How to pin comments on TikTok

How to pin comments on TikTok

How to pin comments on TikTok, TikTok allows users to pin comments easily. Here's how to pin comments on TikTok videos.

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook, Recently, Facebook has launched the feature to create a Q&A session, when you post a question for everyone to answer.

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee, Likee is an application that supports extremely beautiful and impressive video recording, and is loved by many young people today. The following,

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom, How to take attendance on Zoom is not difficult, it even allows you to export the list of students participating in the class.

How to change font on Xiaomi

How to change font on Xiaomi

How to change font on Xiaomi, Want to create a new image for Xiaomi device? Just follow the instructions below to change the font style and size above

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart, Picsart is an application where users only need to perform a few simple steps to transform the photo.

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word, Can't find the font you want to use for documents in Microsoft Word? Don't worry, you can install new fonts for Word according to these steps

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still have the computer running, How to turn off the PC screen and still have the computer running on Win 10/11? Very simple. Here's how to turn off the computer screen

How to fix facebook error logging in 3/2024

How to fix facebook error logging in 3/2024

To fix the “An unexpected error occurred” issue when logging in to Facebook, you can try the following steps

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Users reported that their Facebook, Messenger and Instagram accounts were suddenly logged out and could not be accessed again, both on the app and web version.

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple. Tiktok is a famous application for recording and creating short videos on social networks. However, this application also

How to find and get Instagram links

How to find and get Instagram links

How to find and get Instagram links, Instagram is one of the most popular and easy-to-use social networking platforms today. However, because it is designed specifically for mobile,

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks, Instructions for turning on/off the mouse cursor lock feature when playing games in the BlueStacks App Player emulator.

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC, Simple and easy instructions on how to install and use the Faceapp face editing app using an emulator on PC

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook, Creating a cover photo group is a feature that helps users set Facebook cover photos with many different images (maximum of 6 photos).

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Learn how to effectively use the Stochastic Indicator for technical analysis on Bubinga. Explore advanced techniques to enhance your trading strategies

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt, PicsArt is a photo editing application used by many people today. Today WebTech360 will introduce the article

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo. This article WebTech360 will guide you to turn off the Just accessed notification under your Zalo chat name.

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok. Similar to other social networking applications, TikTok also allows users to block someone's account

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook, Today, WebTech360 will introduce some steps to post a long status with a colorful background on Facebook,