Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-05-2017, 10:04 PM   #1
MrThrall's Avatar

Join Date: Apr 2017
Posts: 6
Exclamation How to use DISKPART to mount a .VHD file (With Screenshots)

Ok, so to beginners, this will look sorta Complicated, but trust me when I say that it's easier than it looks.

Shoutout to "zirkoni" for telling me about this method

Ok lets get on with it, shall we?

Step 1: Opening "command prompt"

Simple enough, right?

Step 2: Navigate to "C:\WINDOWS\System32" and run "DISKPART"

Again, simple enough. just use these commands:

"cd .." x2
"cd Windows"
"cd System32"
Sorry for the cluttered desktop BTW, I'm a heavy user.

Now one of 2 things should happen:

If you ran 'Command Prompt" as an Administrator, "Diskpart" should start in the command prompt window without any hassle.

Or if you ran it normally, you'll get a UAC or "User Account Control" window pop-up asking if you want to let DISKPART make changes to the disk... and then DISKPART should run in a separate window.

Step 3: Selecting and Mounting the .VHD file
This is where is can look complex, but it's really easy if you've done it before.

Now I'm gonna use my newly created Windows 98 VHD in the "Virtualbox VMs" folder. Ok, my name is Carter Nugent, and I'm only telling you this because I'm sick of having to make sure my name is censored in every screenshot.
Anyways, use this command to select the VHD file:

select vdisk file="c:\Users\{Username}\VirtualBox VMs\Windows 98 SE\Windows 98 SE.vhd"

And now it should say "DiskPart successfully selected the virtual disk file",
now from here all you need to type is:
attach vdisk
And your VHD should appear as any other drive (for me it actually popped-up as it was attached).

and you're done, that was easy right?
again, special thanks "zirkoni" for telling me this method .
If anything in my posts confuses you, lemme know either by PM or my email (cnugent9499@yandex.com) and I'll clarify...

And yes, my name is Carter Nugent, not a big deal, right? it's just annoying having to censor my name in every screenshot...
also, my avatar is my Minecraft skin... it's a shoutmon.

Last edited by MrThrall; 09-05-2017 at 03:31 PM. Reason: Fixed some grammar issures and typos
MrThrall is offline                         Send a private message to MrThrall
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount & Blade TheChosen Gaming Zone 21 22-05-2011 11:16 AM
Mount&Blade RP ianfreddie07 Forum Games 0 21-03-2009 02:56 AM
Mount And Blade TheGiantMidgit Gaming Zone 1 03-05-2005 12:24 PM
How to mount a CD-rom in DOSbox indigoboy Troubleshooting 10 30-03-2005 02:20 PM
How to mount a CD-rom in DOSBox Tom Henrik Troubleshooting Archive 0 25-08-2004 02:56 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

The current time is 02:56 PM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.