System Image - Extract Files Using Disk Management

How to Extract Windows 7 System Image Files Using Disk Management


   Information
When you create a system image, Windows 7 creates a Virtual Hard Disk VHD file that contains all of your files. This will show you how to attach (mount) this VHD file using Disk Management to manually extract and restore specific files of your choice from the system image instead of doing the default full system image recovery.
   Note
System images are saved in this format:

(selected backup location's drive letter)\WindowsImageBackup\(your computer name)\Backup (year-month-day) (time-hhmmss)

For example, if your computer name is Windows7-PC, your backup image location is on hard disk or partition (network or local) D: , and you backed up on September 14th 2008 at 4:39:45 AM (it uses 24 hour time), then that system image VHD file will be located in the D:\WindowsImageBackup\Windows7-PC\Backup 2009-09-14 043945 folder.





OPTION ONE

To Attach the VHD to Extract Files from System Image


1. Open the Control Panel (icons View).
A) Click on the Administrative Tools icon, and click on Computer Management.

B) Go to step 3.
OR

2. Open the Start Menu.
A) In the Search box, type compmgmt.msc and press Enter.
3. If prompted by UAC, then click on Yes.

4. In the left pane, right click on Disk Management, and click on Attach VHD. (See screenshot below)
NOTE: You can also click on Disk Management, Action on the menu bar, and Attach VHD.
Step1.jpg
5. Click on the Browse button. (See screenshot below)
Step2.jpg
6. Navigate to the drive or partition that you selected to save the created system image to, then select a listed VHD file for the disk that you want to extract files from. (See screenshot below)
NOTE: See the NOTE box at the top of the tutorial to see where to find your system image VHD file at.

   Note
There will be a VHD file for each hard disk that was included in the system image backup when it was created.

You will not be able to open the VHD for the 100 MB System Reserved partition if you had one created during the installation of your Windows 7.

Step3.jpg
7. Click on OK. (See screenshot below)
NOTE: Be sure to leave the Read only box unchecked if you wish to have more than read-only access.
Step4.jpg
8. You will now notice that the VHD file has been attached (mounted) as a separate virtual disk with it's own drive letter (ex: F: ) in Disk Management. Close Disk Management.(See screenshot below)
Step5.jpg
9. You may also get a AutoPlay pop-up window. Double click on the Open folder to view files option. (See screenshot below)
NOTE: If you did not get a AutoPlay pop-up, then you can open the new attached VHD virtual disk (ex: F) from the Computer window like any other hard drive or partition.
Step6.jpg
10. You can now copy any files that you want from the attached system image VHD disk (ex: F: ) to restore back to your Windows 7 C: drive. (See screenshot below)
Step7.jpg



OPTION TWO

To Detach the VHD in Disk Management


NOTE: This will show you to detach the VHD file in Disk Management from OPTION ONE above without affecting the system image.
1. Open the Control Panel (icons View).
A) Click on the Administrative Tools icon, and click on Computer Management.

B) Go to step 3.
OR

2. Open the Start Menu.
A) In the Search box, type compmgmt.msc and press Enter.
3. If prompted by UAC, then click on Yes.

4. In the middle pane, right click on the Disk # of the attached VHD (ex: F: ), and click on Detach VHD. (See screenshot below)
Detach_VHD.jpg
5. Click on OK. (See sreenshot below)
WARNING: DO NOT CHECK the Delete the virtual hard disk file after removing the disk box. If you do, you will destroy the created system image. Leaving this box unchecked will leave your created system image intact an unharmed so you can still be able to use it to do a full system image recovery.
Detach2.jpg
6. You will now notice that the VHD (ex: F: ) has been detached in Disk Management. (See screenshot below)
Detach3.jpg
7. Close Disk Management.
That's it,
Shawn





 
Last edited:
Did you manage to pick up any Vista backup images in the same way?

It should work with those too.

Nice tut as always.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Well, while Vista does not have the option to attach a VHD file like this, you should be able to do this from within Windows 7 to extract files from a Vista system image though.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Another fine tutorial Thank you.
 

My Computer

Computer Manufacturer/Model Number
Self Build 64bit
OS
Vista Ult64, Win7600
CPU
Intel Core 2 Quad Q6600 @ 2400 MHz 64bit OS
Motherboard
Asus P5E3 Deluxe WiFi @p 64 bit OS
Memory
4096 MB DDR3-SDRAM
Graphics Card(s)
ATI Radeon HD 3870 Series x2 Crossfired
Sound Card
Realtek on board
Monitor(s) Displays
Samsung SyncMaster - 23 inches
Screen Resolution
1680x1050 pixels at 60 Hz in True Colors
Hard Drives
Hitachi (250 GB)/Samsung 750 GB. /Barracuda 160 GB.
My Book 1 TB external..
PSU
Cooler Master 1000w
Case
Cooler Master Cosmos 1000.
Cooling
Fans and fresh air,
Keyboard
Wireless
Mouse
Wireless
Internet Speed
Never fast enough
Other Info
I use a Magnum.
Thanks Shawn , yes that's what I meant. May be useful for those who have both installed.

You have always been able to do it in Vista ( not natively - you need to use Virtual PC ).

That's why I figured you could easily pick up 7 backup images (and probably Vista ) using 7 create vhd function.

Is there a tut on VF about doing that with VPC ?

As if you aren't busy enough already, LOL.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Very nice, but....

I notice it doesn't work too well (at all) if you select read only.
 

My Computer

OS
windows 7 64bit
Hello Jdop, and welcome to Seven Forums.

What do you mean and are referring to? :confused:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Fantastic tut, Brink. I've read lots of your tutorials on the Vista side and now the Windows 7 side and have learned a lot from them.

Sorry I haven't posted on the worthiness of them before now. Just one of my many failings. :-)

Thanks again.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self build
OS
Windows 10 Home
CPU
Intel Core i5 3550
Motherboard
ASUS P8Z77-V LX (LGA1155)
Memory
Corsair Vengeance DDR3 16GB
Graphics Card(s)
Nvidia GEForce GTX 970 SSC
Monitor(s) Displays
Hanns-G 23.6", Acer 17"
Screen Resolution
1920x1080, 1440x900
Hard Drives
Sandisk SSD 256 GB
WD500GB
WD640GB
Seagage Ultra + 1TB ext.
BWD 800GB
WD 1TB ext
PSU
Antec 650w
Case
Cooler Master Centurion 534
Cooling
COOLER MASTER GeminII S524, 3 120 mm case fans.
Keyboard
Logitech MK300
Mouse
Logitech MK300
Internet Speed
Cable
Antivirus
MSSE, Malwarebytes
Browser
IE 10, Chrome
You're most welcome Cato, and welcome to Seven Forums. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Very cool Brink!

I soon will try it ;-)

Thanks!

zx81
 

My Computer

Computer Manufacturer/Model Number
Dell Inpspiron 1720
OS
Windows 7 Home Premium x64
CPU
Intel 1720 Core 2 Duo 2.00GHz,800,2M
Memory
4GB 667MHz DDR2 SDRAM (2x2048)
Graphics Card(s)
NVIDIA Geforce Go 8600M GT 256MB DDR2
Sound Card
SigmaTel
Monitor(s) Displays
17.0" Widescreen WXGA+ (1440x900) TFT with TrueLife
Screen Resolution
1440x900
Hard Drives
2x160GB 5400RPM Serial ATA
Mouse
Logitech
Hello Jdop, and welcome to Seven Forums.

What do you mean and are referring to? :confused:

What he meant was what I just tried :)
When I attached the VHD, (see attachment), there is a Read Only option (I circled it in red). I wanted to be sure that I could still use the system image as a system image if I ever had to restore my system. But when I do, it mounts as an unformatted drive. I had to unmount it, make sure Read Only was not checked, then it simply worked.

Do you (or anyone) know/tested that a system image does infact work after mounting it as a VHD? (Not making any changes to it, of course.) Because I think I remember, while doing some research on Win 7 before I got it, that if you messed with the windows system restore image file, it could never again be used as a system restore...
moz-screenshot.jpg
 

Attachments

  • vhd_ro.jpg
    vhd_ro.jpg
    17.8 KB · Views: 352

My Computer

OS
Windows 7 x64 Ultimate
CPU
Core I7
Memory
12 GB
Graphics Card(s)
GTX 275
Hello Sabre,

I have not tested it, but as long as changes were not made to the VHD, it should still be able to be used to restore the image with.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
even though the fix described above didn't work for me, it pointed me in the right direction until I found a solution for why my Win7 repair function couldn't find any image files. Here's what didn't work after my SSD boot disk failed and I re-installed Win7-64 bits, giving it the same computer name that I had originally chosen (win7-64):

* Opening the image files and copying them to C:\ - many open files prevented copying, as noted by someone in the thread

* booting up to WinXP and copying the files; some still wouldn't copy - with error message of "access not permitted" or some such.

* booting up in Linux (Ubuntu 9.04) and copying the files. All files copied to my Win7 boot partition, but still, after booting, my Win7-64 wouldn't open any of the dozens of programs that I had installed during the 4 months since I started using it. Hundreds of hours of my time down the drain? No . . .

After copying the files to C:\, I found that the repair function of the Win7 installation disk suddenly was able to see my images. I chose the latest and, after waiting for it to copy 91,000+ files, I'm now using that OS to write this. Joy!

I still have no idea why it couldn't see those image files previously. No matter - now I'm going to test the free BartPE image creation/recovery program that I've used with such success for several years with WinXP; I presume it will be more reliable than this questionable M$ backup system.
 

My Computer

Computer Manufacturer/Model Number
my own assembly
OS
win7-64bit
CPU
q6600
Motherboard
asus p5b
Memory
8gb
Graphics Card(s)
asus nVidia 9600GSO
Monitor(s) Displays
24" Dell 2305
Hard Drives
9
PSU
Corsair
Cooling
Arctic cooling
Thanks for these instructions

This is great. Exactly the information I needed in clear and very understandable steps. Thank you. This saved my evening.
 

My Computer

OS
Window 7 x64
You're most welcome Vavrajj, and welcome to Seven Forums. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Thanks Brink. A wonderful tut that worked great and made the family happy with a lot of recovered music and photos. Thanks again. :geek:
Flysjet
 

My Computer

Computer Manufacturer/Model Number
Home built
OS
Windows 7 64
CPU
Intel Quad
Motherboard
Gigabyte X38-DQ6
Memory
4 Gig DDR2
Graphics Card(s)
Two Sapphre HD2600 XT Crossfire configeration
Monitor(s) Displays
Samsung
Hard Drives
2 WD Caviar Blue in a Raid 0
Case
LIAN LI
Cooling
Four case fans, one power supply fan, one CPU fan
Keyboard
MS Natural Egronomic 4000
Mouse
Logitech Laser USB
You're most welcome Flysjet. I'm happy to hear that you were able to recover your music and photos. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
This is a very good tutorial. I just saw it for the first time. Thanks Brink. But it is really unfortunate that MS makes us jump thru all those hoops to look at our data. I now know why I will stick with Macrium.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Back
Top