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:
Shawn

No drive letter was assigned to the .vhd after attaching it (at least not in Start --> Computer) in fact no drive even showed up in that section, It was "only" displayed in disc management.

As for a system restore from boot that is not an option as there is no restore point available according to my laptop at least (even though a restore point is created every week, I'm an Indie Game Dev so I need everything to be safe and secure :p).

Kaktussoft

There is no option for a factory reset on my laptop (apparently laptop's don't have them according to my local microsoft engineer or at least my brand of laptop doesn't) but yeah I guess so or just replace all the file's and regi's that are created during setup if at all possible (Don't really fancy paying £199.99 for a copy of windows 7 seem's the laptop only cost me £200, Additionally I can't afford to pay out for one, Damn I need a new computer :-s)

If you attach the vhd in disk management:
  • Is only 1 partition in vhd?
  • Look in windows explorer. When was vhd file created? Prior to buying laptop... so vhd is made by shop?
  • Assign a drive letter. Just right click in disk management on partition in vhd and assign drive letter P for example
  • In windows explorer: P has folders like windows, users etcetera. So looks like a win7 disk?
Make a new thread for this problem and post url here

Keep getting this error when I try to assign a drive letter or change path:-

ogc4.png


get the same error after restarting the laptop and refreshing the disk managment as well :-s

vhd file was created mid november last year (around about the same time I had a crash on the computer, So I'm guessing it was the microsoft engineer that fixed it who made it.

also 1 partition in vhd??? what do you mean?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
LENOVO 4151/200 Lenovo 3000 G530
OS
Windows 7 Professional Service Pack 1 (build 7601)
CPU
2.00 gigahertz Intel Core2 Duo
Motherboard
LENOVO JIWA1 REFERENCE
Memory
3034 Megabytes Usable Installed Memory
Graphics Card(s)
Intergrated
Hard Drives
143.99 Gigabytes Usable Hard Drive Capacity
53.20 Gigabytes Hard Drive Free Space

TSSTcorp CDDVDW TS-L633B [Optical drive]

Msft Virtual Disk SCSI Disk Device (111.57 GB) -- drive 1
WDC WD1600BEVT-22ZCT0 [Hard drive] (160.04 GB) -- drive 0, s/
Antivirus
Avast Free
Browser
Chrome (Latest Build)

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Anyway are you willing to do a factory restore? (i know it's not working yet)

So vhd has been created just before microsoft engineer fixed the issue (or maybe after fixing). I think before fixing so he could restore in case of faulty repair actions(?) Anyway you don't know the state of vhd!! So it's uses to restore
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
LENOVO 4151/200 Lenovo 3000 G530
OS
Windows 7 Professional Service Pack 1 (build 7601)
CPU
2.00 gigahertz Intel Core2 Duo
Motherboard
LENOVO JIWA1 REFERENCE
Memory
3034 Megabytes Usable Installed Memory
Graphics Card(s)
Intergrated
Hard Drives
143.99 Gigabytes Usable Hard Drive Capacity
53.20 Gigabytes Hard Drive Free Space

TSSTcorp CDDVDW TS-L633B [Optical drive]

Msft Virtual Disk SCSI Disk Device (111.57 GB) -- drive 1
WDC WD1600BEVT-22ZCT0 [Hard drive] (160.04 GB) -- drive 0, s/
Antivirus
Avast Free
Browser
Chrome (Latest Build)
Anyway are you willing to do a factory restore? (i know it's not working yet)

So vhd has been created just before microsoft engineer fixed the issue (or maybe after fixing). I think before fixing so he could restore in case of faulty repair actions(?) Anyway you don't know the state of vhd!! So it's uses to restore

Yes I am willing to do a factory restore if it is possible without the disc.

The microsoft engineer didn't actually fix the issue as I ended up having to run 6 different anti-viruses and delete a crap ton of stuff (also had to do a registry scan and fix) before it would work again (which I could of done without taking ti to him), But yes it was created about 30 minutes after I took it to the engineer.

No I don't know the state of the vhd? (I'm not too sure what you mean by this :-s)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
LENOVO 4151/200 Lenovo 3000 G530
OS
Windows 7 Professional Service Pack 1 (build 7601)
CPU
2.00 gigahertz Intel Core2 Duo
Motherboard
LENOVO JIWA1 REFERENCE
Memory
3034 Megabytes Usable Installed Memory
Graphics Card(s)
Intergrated
Hard Drives
143.99 Gigabytes Usable Hard Drive Capacity
53.20 Gigabytes Hard Drive Free Space

TSSTcorp CDDVDW TS-L633B [Optical drive]

Msft Virtual Disk SCSI Disk Device (111.57 GB) -- drive 1
WDC WD1600BEVT-22ZCT0 [Hard drive] (160.04 GB) -- drive 0, s/
Antivirus
Avast Free
Browser
Chrome (Latest Build)
Make your own thread for this problem. And post link here so I know where it is!

Is the VHD the state of computer you want to go back to? I don't think so. It's a backup just after bringing it to engineer. So actually just after delivering it. So must be the faulty state as it was!

You want a factory install... hmmm any important files on computer now? Backup them all first.

Factory install means: back to state when you bought it. So no extra applications on it! All has to be reinstalled! Is that a problem?

Do you have a win7 COA "Certificate Of Authenticity" on computer? Maybe below battery, maybe on back of laptop? Product key is on it
Something like this: https://www.google.nl/search?q=coa&...cp.r_qf.&fp=d80faf2dfabc1150&biw=1366&bih=600
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
LENOVO 4151/200 Lenovo 3000 G530
OS
Windows 7 Professional Service Pack 1 (build 7601)
CPU
2.00 gigahertz Intel Core2 Duo
Motherboard
LENOVO JIWA1 REFERENCE
Memory
3034 Megabytes Usable Installed Memory
Graphics Card(s)
Intergrated
Hard Drives
143.99 Gigabytes Usable Hard Drive Capacity
53.20 Gigabytes Hard Drive Free Space

TSSTcorp CDDVDW TS-L633B [Optical drive]

Msft Virtual Disk SCSI Disk Device (111.57 GB) -- drive 1
WDC WD1600BEVT-22ZCT0 [Hard drive] (160.04 GB) -- drive 0, s/
Antivirus
Avast Free
Browser
Chrome (Latest Build)
Thanks for the tutorial. I was able to follow it easily, however, I'm still having trouble accessing the VHD file.

I've attached the VHD file and assigned it's own drive letter, but when I opened the drive, it says "This folder is empty." Am I doing something wrong? I'm sure I followed everything to the T. Any advice is much appreciated.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium x64

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 for the quick reply!

I've attached screenshot, as advised. I don't think it's the wrong file, and I sincerely hope it's not corrupted! I really need some files in this backup, and I'm grasping at straws here...
 

Attachments

  • Attach VHD screenshot.jpg
    Attach VHD screenshot.jpg
    252.2 KB · Views: 153

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium x64
It looks ok. As a test, copy the VHD to your desktop, then mount it in Disk Management to see if it does the same.
 

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
I've copied it over and tried attaching the copy as a VHD, but it's still not working... It still says the folder is empty when I open it. :confused:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium x64
Ok. See if you may be able to open the VHD from within the free program 7-Zip.
 

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

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
I've tried opening the VHD files via 7-zip, but they're appear in some unknown application files (to me at least!) as shown in the screenshot below.

I've also tried using PartitionGuru, but when I selected "Open Virtual Disk File" for the VHD file, nothing happens. I'm sorry I'm so ignorant in this, but I really don't know what to do.
 

Attachments

  • VHD 7-zip screenshot.jpg
    VHD 7-zip screenshot.jpg
    279.9 KB · Views: 416

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium x64
Looks like it's a bad VHD image.

What do you see in the top two folders?
 

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
The first folder is empty. The second one is screenshot below.
 

Attachments

  • VHD 7-zip screenshot2.jpg
    VHD 7-zip screenshot2.jpg
    214.4 KB · Views: 323

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium x64
For whatever reason, the files for the system image are not in the VHD. :(

When you open the VHD, it should basically look the same as when you open the C: drive like the screenshot under step 10 Option One.
 

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

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
Read-only checkbox MUST be checked at first time at least

Nice tutorial and very handy.
7. Click on OK. (See screenshot below)
NOTE: Be sure to leave the Read only box unchecked.

Why not readonly? you only want to mount it and READ files from it.

Hello all,
I have tried mounting several VHD images and I have always to allow writing (Read-only unchecked) the first I mount a given image. Otherwise I get an uninitialized drive. After a first mount with writing permission, I can mount any image as read-only. I also noticed that the date stamps are updated for the images with writing permissions at the time of first mounting operation. So something has been written to the image, even I do not even open it in Explorer.

Some explanation for that?

Cheers from France
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude E6410
OS
Windows 7 Pro 64
CPU
Core i5 580-M
Motherboard
Dell
Memory
Samsung 1x4GB
Graphics Card(s)
Integrated Intel HD Graphics
Sound Card
Integrated
Monitor(s) Displays
LCD
Screen Resolution
1280 x 800
Hard Drives
Seagate Momentus 160 Go / 16 Mo / 7200 rpm
Internet Speed
ADSL 20 Mbps
Antivirus
MSE
Browser
IE11 / Firefox 31 (August 1, 2014)
Back
Top