Need to run a server from Windows 10? Getting a certification? Learning Windows Server? You can easily host a virtual machine using Hyper-V. (You can use Hyper-V to experiment with Linux or other operating systems)
Navigate to the Control Panel. Click on Programs and Features. Click on Turn Windows Features on and off. Select Hyper-V. Allow Windows to install the feature and reboot.
Start the Hyper-V Manager. After starting the Hyper-V App, select the Virtual Switch Manager.
Want to know more about a Virtual Switch?
“The capabilities provided in the Hyper-V Virtual Switch mean that organizations have more options for enforcing tenant isolation, shaping and controlling network traffic, and employing protective measures against malicious virtual machines”
Name your Virtual Switch. Select External Network so that it will be on the same network as your host computer. Select the network card.
Next, right click on your computer name in the manager and create a New instance for a virtual operating system. The New Virtual Machine Wizard will guide you through creating your computer.
In this case, we have redirected (below) where our Virtual Machine will be stored.
Give your computer adequate resources such as memory and hard drive space without robbing your host. In the case below, we assign 2Gb of RAM from an 8GB computer.
Select the virtual switch that you created.
Create a virtual hard disk. Because this is a computer that will be used for SQL and testing of SQL, we only assign 40 GB of space.
During this installation, we are also using an ISO of Server 2008 R2 and will install after finishing the wizard.
Once you finish the wizard, you will see your Virtual Machine (pre-installation). When you are ready to start the installation, click on Start and then Connect.
The VM will start and installation will begin. Installation will be a simple step through procedure.
Once you login to the computer, the Server Manager will initialize.
Click on Add roles and features. As a minimum, install Desktop Experience to add desktop icons and .Net 3.5.
You can use the alternate Manage or Tools to add roles and features or access common items such as the control panel.
Selecting your features.
If you get an error, click on the menu and select Media and mount the ISO into the virtual DVD.
Click on Close and Reboot.
Note: If you use a virtual machine, monitor resources of the host and guest and always make sure that adequate cooling especially for laptops. Also if you want to disable Secure IE, Open the manager and click on the server icon. Click on IE Enhanced Security Configuration and disable.