<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

How to Install Windows 10 Technical Preview in VirtualBox

Published on
10,994 Points
2,894 Views
16 Endorsements
Last Modified:
Approved
This tutorial is mainly about using a free tool called Virtualbox to create one or more virtual machines on your computer.  It's a bit geeky and there are the odd stages that could mess with your computer (although not permanently) so some prior knowledge is assumed.  Despite that feel free to ask!

1) Virtualization

This is the process of creating a virtual computer within your real one.  Once created it will behave exactly like a separate computer and programs running inside it will "think" that they are running normally inside a "real" PC.  The virtual computer shares some of the physical components of your "real" PC particularly memory, network connections and access to your CD/DVD drive and a USB port.

Terminology: some quick terms you need as they will be used extensively:

Virtual Machine or VM - This is the program behaving as if it is a computer, in fact the software we are going to use will support multiple VMs so if you get the bug for virtualization you can build several machines, and, if you've enough memory in your "real" computer run them all at the same time!

Host - this is your "real" computer that the virtualization software runs on. Remember if the Host fails all the VMs will fail too.

Can my computer support virtualization?

If it was built in the last 4-5 years, then the answer is almost certainly yes; if you have Windows 8, then the answer is definitely. Older computers are likely to be capable of running VMs but it depends on settings in your computer's BIOS (that "setup" area that you press F2 or Del etc to enter when it starts up).

The quick and dirty way to find out and set up virtualization capabilities is to go into your computer's setup menu and hunt around for the settings to enable - you're generally looking for options for the chipset described as "Virtualization technology" "Intel Vt-X" or "AMD-V".

Once found, check that these options are set to "Enabled".

VB10BIOS.jpgThe more formal way of doing this is to:
a) Use a utility to verify your computer is capable for running a VM, such as this one from Microsoft*.
*other tools are available

and

b) Check your manufacturer's user guide (or the motherboard manufacturer's manual) for the specifics of activating virtualization settings on your machine.

OK, I've got virtualization enabled, what do I do next?

Let's install some software to build and manage a virtual machine.

As we're going to install Windows 10 Technical Preview in this tutorial we're going to use Virtualbox from Oracle which is free to use. With some programs most recent is not necessarily best and currently Virtualbox (VB) is like this so we're going to install a recent but not newest version (version 4.3.12).

For Windows users you can get the download file directly from this link.

If you run Linux or MacOSX you can get the equivalent installer here.

For the purpose of this article I'm going to concentrate on a Windows install in Windows Vista SP2 or better.

Right-click on the downloaded installer and choose "Run as Administrator".

Allow the software to fully install, including the networking and USB add-ins (these are all set to install but each will need your approval). Bear in mind that when the networking components are installed your computer will lose its network/Internet connection for a few seconds so don't do this in the middle of a download you can't resume.

When Virtualbox finishes installing depending on what settings have been changed it will either ask you to restart your PC or it will offer to run Virtualbox automatically.  

Don't run Virtualbox yet; you still need to make a few changes. In all cases I recommend you restart your computer at this point anyway.

Once restarted find the launch icon for Virtualbox and again right-click on it. Choose the Compatibility tab ad set the program to run in Compatibility Mode for Vista SP2 and also to run as an Administrator.

VBCompat-1-.jpg
One further tweak to make before we run Virtualbox:

You need to make sure Data Execution Prevention is enabled in your Windows installation.

Click Start, type System into the search box and select System (Control Panel) from the search results.

Click on the link for Advanced System Settings, then the Advanced tab and click the button marked Settings in the Performance section at the top of that tab.

VBDEP-1-.jpgIn the window that opens select the Data Execution Prevention tab and ensure that the "Turn on DEP for all programs..." (the second option) is checked.  Click OK twice to close all the options boxes and then close the System window.

We're now ready to launch Virtualbox

Double click on the VB icon that you've already set to run in Vista compatibility and admin mode.

Check Virtualbox launches OK and you get no error messages. If you do it's most likely either the DEP or BIOS Virtualization settings earlier need reviewing. Check any changes have been saved.

We're now ready to create and install your Windows 10 VM - you'll need to register with Microsoft and download the .iso image file for Windows 10 TechPreview.

Join the Windows Insider Programme here.

Part 2 - Creating a VM and adding the operating system.

This assumes you have successfully installed Virtualbox following the instructions above.

Time to run Virtualbox.

Double-click on the desktop icon for VB.

You now need to create a new VM so click on the blue cogwheel icon on the top-left of the toolbar.

VB10A-1-.jpg
Give the new VM a useful name to help you remember what you've installed.

As we're going to install Windows 10 you'll need to select the Windows version as 8.1 with the bit version matching your installation image (if you've downloaded the x64 version it won't install in a 32bit image).

In the example here I'm installing the Enterprise x64 version so have chosen Win 8.1 64bit as the version.

VB10B-1-.jpg
When you click "Next" VB will set up your basic virtual hardware based upon the needs of the Windows version you have chosen. Allow it to choose 2GB of RAM and then to create a virtual hard drive.

If you are new to all of this choose the offered .VDI format for the drive, if you are comfortable with VMs already you might want to configure a format you already use or are familiar with (like .VHD).

Choose a dynamically allocated HDD size. This will take up fewer resources on your Host drive, although the trade-off is it will run a little slower. If you have more hard drive space than you know what to do with selecting "Fixed size" will give you a better performing VM.

Go for the default location to store your VM on your Host. The default location on your Host computer is C:\Users\[ProfileName]\VirtualBox VMs

Although the VM setup window now closes you need to add one more feature before installing Windows 10:

With your new VM highlighted, click the yellow "Settings" cogwheel on the toolbar and then click "System" on the list of components on the left. Open the "Processor" tab and add at least 1 more processor so the total of Processors on the VM is at least 2. Click OK to save your change.

Congratulations, you've created a VM ready to install Windows on!

You now need to find your downloaded image of the operating system from the Windows Insider site.

You "power up" your VM by either highlighting it and clicking the green "Start" arrow on the toolbar or by simply double-clicking it from the list of VMs on the left-hand column.

You'll now be asked to add your image file as a virtual DVD. This is the VM equivalent of inserting a physical operating system DVD into a disk drive and then booting your machine.

VB10C-1-.jpg
Click on the folder icon to the right of the Host Drive DVD location (your downloaded .iso file). If you have a physical DVD to install from (because you've already made a DVD from the downloaded .iso) insert it now and the VM will use it directly. Click "Start" when the .iso file has been located.

The Win 10 images take a while to load so be patient.  You'll see "DVD Drive" activity at the bottom of the screen indicated by a green dot on the disk icon, as long as that is flashing everything is still OK.
VB10G-1-.jpgEventually you will see the circle of dots Microsoft has animated as an hourglass replacement below the blue Window which tells you the installer is running.

If you get an error at this point it is likely to be a 0000005D error. This means the virtual environment or DEP settings on the host are still not configured correctly. Go back though the list in the first section and check you have made all the relevant changes and that they were saved. If you get a different error post here or in a separate thread for help.

VB10H-1-.jpg
Once the installer launches:

- Add your locale, language and keyboard type then click "Next"
- Click "Install Now"
- Accept the License
- Choose Custom Install
- You'll be offered a 25GB unallocated drive (you created this a few minutes ago!), simply click "Next"

Now let the Windows installer set everything up for you. You can minimise this window and use your computer for other things while this is running. The installer will automatically restart your VM once it has completed.

The Settings Page

VB10I-1-.jpg
Assuming you want to hand over the minimum amount of information to Microsoft at this stage choose "Customise".

If you're connected to a network you trust (i.e. your Home Network) select "Yes" at the next page (you can change any of these settings later if you want to.

Choose the update and browser settings you want as default.

Decide on what info you want Microsoft to see to help them with developing the new operating system. (I generally set all these to "Off").

Setting up your account

Like Windows 8 you can secure your operating system with your Microsoft Account password. What Microsoft don't advertise is you can also set up a local account - they don't make it easy either!

Signing up with an email account is certainly more secure. If you're putting this on a portable device you can change your password remotely by changing the password for that email account.  However you've just installed this as a VM in a "test" environment - you don't really need that added layer.

Try clicking on "Don't have an account" (even if you do!)

VB10J-1-.jpg
Spot that link at the bottom of the page that almost blends in with the background?

VB10K-1-.jpg
Let's "Sign in without a Microsoft account" !!

VB10L-3-.jpgThe Username you select will be used as the profile name for your account. Not that I'd particularly advocate it but you don't need to add a password (remember, if someone really wanted to get in here they need to be able to access your VM and your Host and the Host machine account is already password protected - isn't it??).

VB10M-1-.jpg
Congratulations!  That's Windows 10 installed in your Virtualbox Virtual Machine!!

One more thing, now go to the Start button on the bottom left of Windows 10, Type "Windows Update" into the search box and click on the icon to run it.

VB10N-1-.jpg
You'll probably see that "No Updates are Available", but just to be sure click "Check for updates" on the left. There will be at least two "Important updates" waiting for you - make sure you install those!

Like any other newly installed system you just have basic anti-virus protection through Windows Defender so take care with your security.

Enjoy and do give feedback so Microsoft get to hear what you like and don't like about Windows 10 before it is launched to the public next year!!

(Images are from VirtualBox by Oracle and Windows 10 TechPreview by Microsoft)
16
  • 3
  • 2
  • 2
  • +2
9 Comments

Expert Comment

by:William Polymenakos
Have you had any luck getting the VirtualBox Extensions to work in Windows 10 Technical Preview? I've tried several method and haven't made any progress. I'd like to get the video drivers working so I have more resolutions options. Most likely, an update to the extensions will be necessary.
0

Expert Comment

by:Wayne Markel
Trying to install VirtualBox on Vista SP2, but do not get option to select Vista.  I selected XP.  See attached.

Install errors out.  See attached
VirtualBox-Config-Problem.docx
0
LVL 65

Author Comment

by:☠ MASQ ☠
The Extensions don't work in Win 10 yet - I understand Oracle are working on it  - but as mouse capture etc is supported anyway there are no huge advantages in installing them.
0
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

LVL 65

Author Comment

by:☠ MASQ ☠
If you are installing onto Vista SP2 just select "Run as Administrator"

The stop error you're getting suggests you might be short of RAM on the host, which bit version of Vista have you installed VB on?
0

Expert Comment

by:Wayne Markel
Running Vista Home Premium SP2.

As shown in my attachment.  The "Run the Program as an Administrator" is grayed out.
0

Expert Comment

by:Robert Brenneman
Actually, MASQ, I beg to differ re the importance of VB Extensions working for the Win10 TP. Because they're not working, I can't use my native graphics adapter (Intel HD 4000) in the virtual machine. Unfortunately, the default Microsoft Basic Display Adapter doesn't support an optimal resolution for my display (1440x900, 32 bit). Although this is not a killer as far as evaluating Win10, it does make one-to-one comparisons with Win8,1 difficult, whether you like Win8.1 or not.
I do appreciate knowing that Oracle is working on a version of Extensions that will support Win10.
Thanks.
0
LVL 65

Author Comment

by:☠ MASQ ☠
Robert, you may find that you can install the VB graphics driver from additions manually via Device Manager.

Load the Additions .iso then launch a command window, change to the virtual CD drive and run
VBoxWindowsAdditions-amd-x64 /extract /D=C:\Drivers

Open in new window

Then go to Device Manager open the graphics adapter and update the driver pointing at the C:\Drivers folder.

If the Additions driver is found and updated you should be able to resolve your resolution problem with your display.
0

Expert Comment

by:Robert Brenneman
Thanks, MASQ, I'll try that. In the meantime, and as much as I like Virtualbox, I created a virtual machine in VMware Player (didn't know this was possible) and everything (including the 1440x900 graphics) worked.
0

Expert Comment

by:Ronald Hine
Followed instructions to the letter and got it going without any problems. Windows 10 looks great, and I have only been running it for 10 minutes.
0

Featured Post

Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month