Trying to install bootable Windows 7 on a Virtual Hard Drive

Chrono

New member
Local time
6:26 PM
Messages
6
I'm trying to install 7 on a VHD using the command prompt. Now it does work but the problem is that it installs 7 Basic when I do it like this. I have Professional. Now I can use the Anytime Upgrade and use my product key to get Pro activated but because I'm in basic, 7 won't work on the VHD at boot. When it asks for my product key upon first time setup, it doesn't work since it's looking for a Basic product key.

Is there a way to get 7 Pro on the VHD through the CMD?
 

My Computer My Computer

OS
Windows 8 Professional x64
CPU
i7 920 3.8 GHz
Motherboard
MSI Pro x58
Memory
OCZ Gold
Graphics Card(s)
Two Gigabyte GTX 460s in SLI
Sound Card
ASUS Xonar DX
Monitor(s) Displays
Acer 21.5" 1920x1080
Hard Drives
WD Caviar Black 640GB
PSU
Corsair 750TX
Case
XClio Windtunnel
Cooling
Noctua NH-D14
Welcome to Seven Forums,

Is there a reason you have to do it through CMD?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate x64
CPU
AMD Phenom 9850 x4 2.50GHz
Motherboard
ASUS M4A785-M
Memory
4GB DDR2
Graphics Card(s)
nVidia GeFore 210
Sound Card
Onboard
Monitor(s) Displays
Samsung SyncMaster BX2031 20" LED
Screen Resolution
1600x900
Hard Drives
Western Digital Caviar Blue 500 GB SATA III 7200 RPM
PSU
450 Watt
Case
Raygo R12-40835 ATX Mid-Tower Case
Cooling
Air
Antivirus
Microsoft Security Essentials
Browser
Google Chrome
Other Info
Laptop:
Intel Core Duo T2450 @ 2.00GHz
2GB RAM
Windows 7 Ultimate x86
Thanks.

I'm trying to install it on a VHD, which is located on my C drive. When I try to boot with the disk and install, it doesn't detect the VHD partition. So without the option, I assume CMD is the best way to do it. Unfortunately, I only get Basic through that. I am using Imagex.exe to do it, if that makes a difference.

Also, I'm just trying to see if it'll work. It seems like a decent and quick way to install operating systems and using VHDs, there's a lot I can mess with.
 

My Computer My Computer

OS
Windows 8 Professional x64
CPU
i7 920 3.8 GHz
Motherboard
MSI Pro x58
Memory
OCZ Gold
Graphics Card(s)
Two Gigabyte GTX 460s in SLI
Sound Card
ASUS Xonar DX
Monitor(s) Displays
Acer 21.5" 1920x1080
Hard Drives
WD Caviar Black 640GB
PSU
Corsair 750TX
Case
XClio Windtunnel
Cooling
Noctua NH-D14
If I remember correctly, you can install Windows in a VHD through VMware.

Using VMware, a virtual machine manager, it would create and install Windows on a VHD which you could use for what you want.

I think you will have to change the default type of the virtual hard drive to a VHD instead of VMwares specific type.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate x64
CPU
AMD Phenom 9850 x4 2.50GHz
Motherboard
ASUS M4A785-M
Memory
4GB DDR2
Graphics Card(s)
nVidia GeFore 210
Sound Card
Onboard
Monitor(s) Displays
Samsung SyncMaster BX2031 20" LED
Screen Resolution
1600x900
Hard Drives
Western Digital Caviar Blue 500 GB SATA III 7200 RPM
PSU
450 Watt
Case
Raygo R12-40835 ATX Mid-Tower Case
Cooling
Air
Antivirus
Microsoft Security Essentials
Browser
Google Chrome
Other Info
Laptop:
Intel Core Duo T2450 @ 2.00GHz
2GB RAM
Windows 7 Ultimate x86
Well, I changed the "1" to a "3" in the CMD and got professional. Product key worked but it still won't boot into Windows using the VHD. Disappointing.

I'll check out the program you suggested and see what happens.

EDIT: Just found out that it won't boot from a VHD in Professional. It will only work in Ultimate or Enterprise. Very disappointing.
 

My Computer My Computer

OS
Windows 8 Professional x64
CPU
i7 920 3.8 GHz
Motherboard
MSI Pro x58
Memory
OCZ Gold
Graphics Card(s)
Two Gigabyte GTX 460s in SLI
Sound Card
ASUS Xonar DX
Monitor(s) Displays
Acer 21.5" 1920x1080
Hard Drives
WD Caviar Black 640GB
PSU
Corsair 750TX
Case
XClio Windtunnel
Cooling
Noctua NH-D14
Well, I changed the "1" to a "3" in the CMD and got professional. Product key worked but it still won't boot into Windows using the VHD. Disappointing.

I'll check out the program you suggested and see what happens.

EDIT: Just found out that it won't boot from a VHD in Professional. It will only work in Ultimate or Enterprise. Very disappointing.

Totally NOT true. I run 7, 8, Linux and XP from a Virtual HDD (VHD) without problems. Your problem comes from trying to boot to the VHD without a Virtual Machine Program installed on your system. With all virtual machines it need a HOST OS to work from. It can't boot without first loading the Host OS.
 

My Computer My Computer

OS
7 x64
Well, I changed the "1" to a "3" in the CMD and got professional. Product key worked but it still won't boot into Windows using the VHD. Disappointing.

I'll check out the program you suggested and see what happens.

EDIT: Just found out that it won't boot from a VHD in Professional. It will only work in Ultimate or Enterprise. Very disappointing.

Totally NOT true. I run 7, 8, Linux and XP from a Virtual HDD (VHD) without problems. Your problem comes from trying to boot to the VHD without a Virtual Machine Program installed on your system. With all virtual machines it need a HOST OS to work from. It can't boot without first loading the Host OS.

I got the idea to do this here:

Installing a Fresh Windows OS to a New Bootable VHD with no Host OS for Boot to VHD | John Papa

He says you can boot a VHD straight off the HDD without a host OS. I assume a Virtual Machine Program would be something like VMware?
 

My Computer My Computer

OS
Windows 8 Professional x64
CPU
i7 920 3.8 GHz
Motherboard
MSI Pro x58
Memory
OCZ Gold
Graphics Card(s)
Two Gigabyte GTX 460s in SLI
Sound Card
ASUS Xonar DX
Monitor(s) Displays
Acer 21.5" 1920x1080
Hard Drives
WD Caviar Black 640GB
PSU
Corsair 750TX
Case
XClio Windtunnel
Cooling
Noctua NH-D14
According to this thread...
http://www.sevenforums.com/tutorials/14422-compare-windows-7-editions.html
...you are correct, only the Ultimate and Enterprise flavors of W7 will boot to a VHD without a host OS. The author of that blog should edit it to state that upfront. It would save some people some time.

As far as using a VM program - yes, you can...
...load an OS (might need an OS license)
...then install VM software (like VirtualBox)
...then create a VHD to install W7 into (need W7 license).
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Okay, I downloaded Virtual Box. I suppose there isn't a way to install 7 via CMD with it? Haven't used it before. Also, using VB, I assume I need a host OS to use the Virtual OS file?
 

My Computer My Computer

OS
Windows 8 Professional x64
CPU
i7 920 3.8 GHz
Motherboard
MSI Pro x58
Memory
OCZ Gold
Graphics Card(s)
Two Gigabyte GTX 460s in SLI
Sound Card
ASUS Xonar DX
Monitor(s) Displays
Acer 21.5" 1920x1080
Hard Drives
WD Caviar Black 640GB
PSU
Corsair 750TX
Case
XClio Windtunnel
Cooling
Noctua NH-D14
Okay, I downloaded Virtual Box. I suppose there isn't a way to install 7 via CMD with it? Haven't used it before. Also, using VB, I assume I need a host OS to use the Virtual OS file?

Yes you need a host OS to to run the virtual OS.

As for installing, just use your Windows 7 install disc when your creating the virtual machine. The program walks you through it
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate x64
CPU
AMD Phenom 9850 x4 2.50GHz
Motherboard
ASUS M4A785-M
Memory
4GB DDR2
Graphics Card(s)
nVidia GeFore 210
Sound Card
Onboard
Monitor(s) Displays
Samsung SyncMaster BX2031 20" LED
Screen Resolution
1600x900
Hard Drives
Western Digital Caviar Blue 500 GB SATA III 7200 RPM
PSU
450 Watt
Case
Raygo R12-40835 ATX Mid-Tower Case
Cooling
Air
Antivirus
Microsoft Security Essentials
Browser
Google Chrome
Other Info
Laptop:
Intel Core Duo T2450 @ 2.00GHz
2GB RAM
Windows 7 Ultimate x86
Maybe I should have worded it this way:
As far as using a VM program - yes, you must:
1) Install an OS (might need an OS license)
2) Install VM software (like VirtualBox)
3) Create a VHD to install Windows 7 into (need Windows 7 license)
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Back
Top