Last week, we posted a quick guide on how you can create bootable media for Windows 10.
After reading a lot of the comments, we’ve added a mini guide to creating USB media, with sections on using Rufus and Microsoft's own Windows 7 USB/DVD Tool. And here, we've put together a guide on how to create, boot to and install Windows on a VHD. So without further ado, let’s crack on!
Aug 01, 2017 Windows 10 dual boot menu Once you've set up the Windows 10 VHD and booted it to the desktop, you can restore the main OS as the default. The final installation phase - Windows Welcome - requires user input. The user must select the region and preferred keyboard layout as in any normal Windows 10 installation. Mount a VHD File in Windows 10. Make sure you have your VHD file accessible. Then bring up the hidden quick access menu and select Disk Management. Then click the Action Attach VHD. Navigate to the location of the VHD file. As I noted, I’m using a VHD file stored as a Windows System Image.
Up until now, using USB media on your desktop or laptop to install Windows 10 is a destructive process, unless you are dual booting to a secondary hard disk. But what if you don’t have a second hard disk and don’t want to have the Windows 10 installation destroy your existing Windows instance?
Those of you that work in IT will be well versed in virtualization. It’s still a buzzword, and with Windows 10 introducing Virtual Desktops, it will continue to be. The simplest, non-destructive way to test Windows 10 would be to download any number of the free Virtual Server apps out there. The most popular, free apps, would have to be VMware Player and VirtualBox. You should also know that Windows 8.1 has Hyper-V built-in in Pro and Enterprise versions.
While there are other more complex and complete solutions from VMware, Citrix and Microsoft themselves. If your computer has a half decent processor (i5 upwards), at least 6GB of RAM and 50GB of free space you’d be best installing either VMware Player or VirtualBox and start playing/learning.
We’ve already touched upon utilizing your existing hardware to install Windows 10 as a virtual machine on your host OS. But the problem with that is, you will have to take a slight performance hit (due to the Windows 10 OS sitting on the virtual stack of network, storage and hardware). What if you wanted to boot Windows 10 on your system, without formatting the hard disk? This is where VHDs (virtual hard disks) prove their worth.
We can create a VHD in Windows 7, 8 and 8.1 (not to mention Server 2008 R2 and up) and install to what is essentially a secondary hard disk, stored as a .vhd file, on your physical disk(s).
There are three ways that creating the VHD can be achieved: Computer/Disk Management Console, diskpart and PowerShell. Intouch wonderware software 9.0 free download. We’ll look at all three, but first let’s start with Computer Management. Smule magic piano hack apk.
- Open compmgmt.msc as an administrator
- Click/press Start, type compmgmt.msc, right click on the (likely) first result and choose Run as administrator
- Once in Computer Management, right click the Disk Management and choose Create VHD
- You will be asked to specify a location for the VHD, which we’ve chosen C:VHD and the filename Win10.vhd
- Set your disk size – we’ve gone with the standard 32GB
- Unless you’ve got space to spare, you don’t need to worry about make it a VHDX file
- Unless space is at a premium, choose Fixed size. This means the VHD will be 32GB in size
- Click OK and wait for the VHD to be created
- The VHD should automatically be attached, but if it’s not right click the Disk Management again, this time choosing Attach VHD
- Click Browse and choose the VHD to attach
- Click OK to finish
- As far as Windows is concerned, the VHD is a newly installed hard disk, so you don’t need to initialize and format it at all
Again, another simple process, with the lengthiest section taken up by the system creating the VHD. Time to see how the process is completed using diskpart.
- Open a command prompt as an administrator
- Click/press start, type CMD, right click on the (likely) first result and choose Run as administrator
- In the command prompt window, type diskpart and press enter
- Once at the diskpart command prompt, type create vdisk file=C:VHDWin10_2.vhd maximum=32768 type=fixed and press enter
- Be prepared to wait, again
- Type select vdisk file=C:VHDWin10_2.vhd and press enter
- Type attach vdisk and press enter
- Type exit and press return
There you have it folks, the exact same process as what was performed in Computer/Disk Management, only at the command line.
Finally, what about PowerShell? Any of you that work in IT and deal with Active Directory, Exchange, SharePoint, etc will know that Microsoft is investing heavily in moving towards a command line driven environment. That’s evident even on Windows 8, with PowerShell coming built in. However, to get the functionality of being able to manage things like Exchange or Hyper-V, you do need to turn on or install the relevant features on the management machine.
How to install the Hyper-V tools for creating VHDs with PowerShell on Windows 8/8.1
Windows 10 Vhd Ccboot
Now that you’ve done this, you can create the VHD using PowerShell.
- Open Windows PowerShell as an administrator
- Click/press start, type PowerShell, right click on the (likely) first result and choose Run as administrator
- Once at the command line, type New-VHD -Path C:VHDWin10_3.vhd -Fixed -SizeBytes 32GB
- Type the following command Mount-VHD -Path C:VHDWin10_3.vhd
- The disk will need initialised using Initialize-Disk -Number 2
- You can use the Get-Disk command to see the list of disks and their numbers
- Now that you know the disk number, use the following piped commands to partition, format and assign a letter to the drive: Get-Disk -Number 2 | New-Partition -AssignDriveLetter -UseMaximumSize | Format-Volume -FileSystem NTFS -Confirm:$false –Force
We’ve added a bit more detail to the PowerShell process, just to show you the ability of PowerShell compared with diskpart. However, you only need to create the VHD using the New-VHD command. And with each method, you don’t need to go as far as attaching the VHD as we do that during the Windows install process.
Now that our VHD is ready to install Windows onto, the final step is to install Windows 10. While there are methods for using the bcdedit command, it is now done for you using the Windows install process itself.
Do you have some more libraries which you want to integrate to your project? By downloading with all Maven dependencies you can avoid exceptions like java.lang.NoClassDefFoundError orjava.lang.ClassNotFoundException. Do you search for a possibilty to download JAR files withall dependencies? Jar files download for java. Then you are right. Each JAR file will be downloadedfrom the offical Maven repository.
- Insert your Windows 10 USB media into your laptop/desktop and boot from it
- Move through the language/regional options, license confirmation screens and installation type screens
- When you get to the Where do you want to install Windows screen, press Shift+F10 to get a command prompt window
- Here, type diskpart
- As we’ve already created vdisk(s) in the previous processes, we simply have to add them to the list of available disks
- select vdisk file=D:VHDWin10.vhd
- Type attach vdisk and press enter
- Close the command prompt and refresh your list of disks
- Choose the now added-to-the-list vdisk, ignoring the message saying Windows can’t be installed on it, and click Next
- Sit back and wait for the OS to be installed as normal, and once complete you should see this on boot
We’ve tried to cover enough across all three guides to allow you to install Windows 7, 8/8.1 and 10 on any platform. You can even use the above methods to dual boot Windows Server 2008 R2 upwards on a laptop or desktop machine.
Windows 10 Vhd Auto Mount
We do agree that most average users will never touch upon any of these processes. But seeing as Windows 10 is at the Technical Preview stage, designed for enthusiasts and IT Professionals, there's no harm in showing you the easy and the not-so-easy ways of installing an instance of Windows.