Want to format. Build an image with installed apps on virtual machine?

reyna12

New member
Local time
2:01 PM
Messages
16
Hi there,

I'm looking to wipe my PC, but ideally instead of formatting then re-installing everything one by one, i was wondering if i could just create a virtual machine, install all my applications and move essential files across then just build some sort of image from that that can be installed on a fresh, formatted hard drive?

Just so i can can continue working on my machine in the mean time while everything installs, to minimize disruption.

Thanks for your help.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device
Another idea is to install the OS and programs, set it up as you like and then capture the image. This keeps it smaller with only OS and programs and works especially well with a separate data partition for the User folders or linked via Libraries. The image isn't weighed down by out of data files but instead if it needs recovery in 20 minutes C is refreshed while your data is current and safe in its separate partition "vault." Of course you need to back up your files too.
User Folders - Change Default Location
Library - Include a Folder - Windows 7 Forums
Library - Set Save Folder - Windows 7 Help Forums
 
Apologies, not sure i understand your reply. I am aware of what a virtual box is (vmware or oracles free version).

I can install my windows disk on that, then install applications. How do i proceed from there?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device
I never mentioned virtual install. I suggested instead to go ahead and reinstall to C, set it up as you like without your files, keeping the image smaller and more manageable with your data kept in a separate partition.

Including your data in the image is cumbersome and also becomes out of data almost immediately.

Is there another reason you want to do this in a virtual machine instead of to C drive which is where you want the finished product anyway. I would use that bed to do your installation and setup, then image capture.
 
It's really so i can work on my current machine while building up the new install and transfer my files over to it. I was hoping i could just basically clone what i had on the virtual machine.

Starting from scratch is a painstaking process.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device
Yes, that should work too.

All of the things that must be remembered and other preparations, best practices for install, and the tools and methods which work best to get and keep perfect Win7 are compiled in Clean Reinstall - Factory OEM Windows 7 which applies to retail as well.
 
What i was wondering though, was once i have built up that virtual machine and installed everything. How to i make it in to some sort of installation that i can put on USB then format my hard drive and install from usb.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
This tutorial is exactly for scenarios like the one you want to do: http://www.sevenforums.com/tutorial...w-create-general-system-image-audit-mode.html

Just one change: if you want to prepare your image on a virtual machine, or on another machine than the one you will be deploying (installing) it to, in Step 3 you also need to tick the Generalize selection box in Sysprep dialog.

Kari

Thanks. Does this also save any documents etc? Or am i best just putting them on usb manually?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device
Before you do anything I suggest we discuss what kind of installation disc you have. Is it a retail or an OEM disc.

With the OEM system you could not move it from a virtual partition to a real PC. Those would be considered 2 seperate systems and would require 2 seperate OEM (or other) product keys.

With a retail disc, there would not be that problem.
 

My Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
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
I have a retail disk, custom built PC.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device
Thanks. Does this also save any documents etc? Or am i best just putting them on usb manually?
It is not a good idea to include your personal data to a general image. Follow the instructions in the tutorial, install Windows Updates and your software as told. Deploy the image to your PC and then restore your personal user data from an external backup.

In my previous post I told about one change you need to make if doing this on another PC or vm, not on the PC you will then use it. I forgot to mention about the other change: tutorial tells you to install all drivers, too, but that's something you should not do; the Generalize option I mentioned in my previous post removes all hardware related information and drivers in any case, to prepare your image so that it can later be deployed to any computer.

Before you do anything I suggest we discuss what kind of installation disc you have. Is it a retail or an OEM disc.

With the OEM system you could not move it from a virtual partition to a real PC. Those would be considered 2 seperate systems and would require 2 seperate OEM (or other) product keys.

With a retail disc, there would not be that problem.
Wolfgang, the tutorial I linked to shows how to create an initial, first system image in Audit Mode. When installing Windows 7 you enter Audit Mode from post-install OOBE dialogs, before any user accounts are created and before user has been asked for the product key. This way the image can be created without a product key, and even if the user has an OEM version of Windows 7, the key is only needed when the image is finally deployed.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Wolfgang, the tutorial I linked to shows how to create an initial, first system image in Audit Mode. When installing Windows 7 you enter Audit Mode from post-install OOBE dialogs, before any user accounts are created and before user has been asked for the product key. This way the image can be created without a product key, and even if the user has an OEM version of Windows 7, the key is only needed when the image is finally deployed.
Thanks Kari. I suppose that system would work OK for 30 days.
 

My Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
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
Wolfgang, the tutorial I linked to shows how to create an initial, first system image in Audit Mode. When installing Windows 7 you enter Audit Mode from post-install OOBE dialogs, before any user accounts are created and before user has been asked for the product key. This way the image can be created without a product key, and even if the user has an OEM version of Windows 7, the key is only needed when the image is finally deployed.
Thanks Kari. I suppose that system would work OK for 30 days.

That is totally wrong and I feel I need to clarify this to future readers of this thread. There's something quite essential you misunderstand here.

When you do a clean install install of Windows and it after last reboot comes to the first post-install OOBE dialog where it asks your username and computer name, press CTRL + SHIFT + F3:

183650d1321295239-windows-7-installation-prepare-pc-sold-audit_1.png

Windows reboots now to so called Audit Mode using built-in administrator account. At this point Windows has not asked any product key.

You can now prepare your system image, customize, install software, everything. Then create the image, which will be valid years if you want to, at least as long as the media you stored the image stays readable. You can then deploy this image to any Windows PC.

When the PC you installed this image is then turned on, it boots to this same post-install OOBE dialog you were when you pressed CTRL + SHIFT + F3, asking for the initial (first) username and computer name, and in next dialogs the product key, time zone and so on. The image itself has no traces of a product key nor any user profiles.

I am still using a Windows 7 Ultimate image created like this on 30th of October 2009, entering Audit Mode from post-install OOBE before it even asked the product key. The image has no user profiles, no product key and as it is done with the sysprep /generalizing switch in Audit Mode, it can be deployed (installed) on any PC capable of running Windows 7 and activated with any valid retail or never-before-used OEM key, or with an OEM key previously used on the same computer.

As I happen to know you are experienced with virtual machines, I recommend you to test it yourself. Remember, creating image as told in this tutorial you do not need a product key as you will not install Windows to keep, you just install it to create an image.

A more complete method also based on Audit Mode explained in this tutorial. Also this one does not require a product key while creating the image. I recommend at least you to watch the shorter of the two videos in this tutorial.

Kari.
 
Last edited:

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz8.00 GBAMD Radeon HD 6800 Series
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. Z77-DS3H
Memory
8.00 GB
Graphics Card(s)
AMD Radeon HD 6800 Series
Sound Card
(1) ATI HDMI Audio (2) Realtek High Definition Audio
Screen Resolution
0 x 0 x 0 bits (0 colors) @ 0 Hz
Hard Drives
ST3750630AS ATA Device
do partitions etc. matter. as i have set a 60gb partition for the virtual machine but have a 500gb hard drive

i presume once this image is created i just follow this? http://www.sevenforums.com/tutorials/675-system-image-recovery.html

Regarding partition size, only one thing matters: the resulting image can only be deployed to a HDD or SSD same size or bigger than the drive it was created. If you use a 60 GB VHD to create the image, it can be then deployed to any VHD, HDD or SSD which is 60 GB or bigger.

In case the target drive is bigger, only the 60 GB you used when creating the image will be allocated to C: and you need then after first Welcome boot when finally landing on Windows desktop use Windows Disk Management or any third party tool to expand the C: drive if needed.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Hmm, this is a lot fancier than I thought. You live and learn. Thanks again for the detailed explanation.
 

My Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
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
Reyna, do you want to make this installation "generalized" meaning you can install it on any PC, or is this just for reinstalls on the present computer? For reinstalls on the same PC there's no need to generalize. Just save the image after you set up Win7 on C.

But if you want to invest in a single image that can be transferred to any PC and then activated with the retail Product Key for that version or that PC's Product Key on COA sticker, then generalizing is worth it.

There is also another option which is to apply the image made for one PC to another PC and then Adjust Win7 to boot on new hardware with Paragon Adaptive Restore CD which is easy enough I use it instead of SysPrep Generalize.

So it depends on what your goal is for the image, and then you have a choice of methods.
 
Last edited:
Won't the image created from a virtual PC be using different (virtualized) hardware, and not the hardware that is actual on the computer? If so then Paragon Adaptive Restore would be need, right?
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Won't the image created from a virtual PC be using different (virtualized) hardware, and not the hardware that is actual on the computer? If so then Paragon Adaptive Restore would be need, right?

No, built-in Windows tools are fully capable in doing what's needed.

The "rules" using built-in Microsoft Windows 7 tools only:
  • If the image is created on a vm or any other machine other than the final target machine, sysprep /generalize takes care of the hardware independence and the image can be used for deployment on any machine capable of running Windows 7
  • If the image is created on the final target machine and will only be used on that same machine (not deployed to any other machine, virtual or physical), it does not need to be generalized
Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Back
Top