---
title: Deploying virtual machines with Hyper-V on Scaleway Dedibox
description: This page provides information on how to deploy a virtual machine with Microsoft Hyper-V on Scaleway Dedibox.
tags: hyper-v dedibox virtual-machine
products:
  - dedibox
dates:
  validation: 2025-05-26
  posted: 2020-01-23
  validation_frequency: 12
difficulty: beginner
usecase:
  - resource-management
ecosystem:
  - third-party
---
import image from './assets/scaleway-click-on-install.webp'
import image2 from './assets/scaleway-distribution-options.webp'
import image3 from './assets/scaleway-install-windows.webp'
import image4 from './assets/scaleway-kvm-over-ip.webp'
import image5 from './assets/scaleway-disclaimer.webp'
import image6 from './assets/scaleway-idrac.webp'
import image7 from './assets/scaleway-hyperv_manager.webp'
import image8 from './assets/scaleway-hyperv_01.webp'
import image9 from './assets/scaleway-hyperv_02.webp'
import image10 from './assets/scaleway-hyperv_03.webp'
import image11 from './assets/scaleway-hyperv_04.webp'
import image12 from './assets/scaleway-hyperv_05.webp'
import image13 from './assets/scaleway-hyperv_06.webp'
import image14 from './assets/scaleway-hyperv_07.webp'
import image15 from './assets/scaleway-hyperv_08.webp'
import image16 from './assets/scaleway-hyperv_09.webp'
import image17 from './assets/scaleway-hyperv_10.webp'
import image18 from './assets/scaleway-hyperv_11.webp'
import image19 from './assets/scaleway-hyperv_12.webp'

import Requirements from '@macros/iam/requirements.mdx'


[Microsoft Hyper-V](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/hyper-v-on-windows-server) is a hypervisor that allows creating virtual machines on x86-64 systems.
It is available since the release of Windows Server 2012.

<Requirements />

- A Dedibox account logged into the [console](https://console.online.net)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- A [Scaleway Dedibox](http://www.scaleway.com/en/dedibox) server that fulfills the hardware requirements of the [HyperV version](https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/system-requirements-for-hyper-v-on-windows) you have
- At least one [failover IP](/dedibox-ip-failover/concepts/#failover-ips) with a [virtual MAC address](/dedibox-ip-failover/concepts/#virtual-mac-address)

<Message type="important">
  - Microsoft has discontinued the free standalone Hyper-V Server product. The last version, Hyper-V Server 2019, reached the end of mainstream support in January 2024, with extended support continuing until January 2029.
  - Hyper-V remains available as a role within Windows Server operating systems. This tutorial is based on the 2019 version of HyperV running on [Windows Server 2019](https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2019).
</Message>

## Installing HyperV

A Windows distribution can be installed on a Scaleway Dedibox server in two ways: through the [Dedibox console](https://console.online.net/en/login) or through [KVM over IP](<https://en.wikipedia.org/wiki/KVM_switch#KVM_over_IP_(IPKVM)>).

### Via the Dedibox console

When installing Windows automatically via the console, a monthly subscription to a license is required.

Scaleway Dedibox offers monthly subscriptions to different versions of Microsoft Windows Standard Server licenses, but to benefit from HyperV it is recommended to install the **2012 R2 English (64-bit)** version.

1. Access the server page of your Dedibox on the console and click **Install**:
    <Lightbox image={image} width="600" alt="" />
2. Click **Server Distributions**:
    <Lightbox image={image2} width="600" alt="" />
3. Select **Windows** on the distribution menu, then **windows standard_2012_r2 64BITS** under **Choose a Version** and click **Install Windows**:
    <Lightbox image={image3} width="600" alt="" />
4. Complete the next steps by including your **Partitioning** and **System Configuration** preferences when requested and conclude installation.

### Via KVM over IP

Your server can also be booted from a Windows Server ISO file through a KVM over IP device if included in your Dedibox. This type of installation gives you the possibility of installing your own licenses or remote ISO files.

<Message type="tip">
  You can download Windows and HyperV ISO images from Microsoft's [evaluation center](https://www.microsoft.com/en-us/evalcenter).
</Message>

1. Access the server page of your Dedibox on the console and click **Install** to begin installation via KVM over IP.
2. Click **on KVM over IP**. A Disclaimer window pops up.
    <Lightbox image={image4} width="600" alt="" />
3. Click **I ACCEPT** once you have read and agreed to the terms displayed. You are redirected to your server's status page.
    <Lightbox image={image5} width="300" alt="" />
4. Click the third button on the right. The model of the KVM over IP device is determined by the brand of your Dedibox chassis. For a Dell chassis, use **IDRAC**.
    <Lightbox image={image6} width="600" alt="" />

The process from this step forward may differ according to the KVM model being used. Refer to the technical documentation of your machine to conclude the installation.

### HyperV on Windows

1. Connect to your server using the [Remote Desktop Protocol](https://en.wikipedia.org/wiki/Remote_Desktop_Protocol) once the installation is complete, and launch the Application **Hyper-V Manager** from the **Windows Administrative Tools** section of the start menu:
    <Lightbox image={image7} width="250" alt="" />

  <Message type="note">
    If you can not find the **Hyper-V Manager** application on your machine, the Hyper-V role might not be installed. You can [install the role](https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/install-the-hyper-v-role-on-windows-server) from the Windows Server Manager.
  </Message>

## Deploying a Virtual Machine

1. Click **New** in the **Actions** menu, then **Virtual Machine** in the Hyper-V Manager application to launch the virtual machine creation wizard:
    <Lightbox image={image8} width="800" alt="" />
2. Click **Next** to begin the configuration of the new virtual machine:
    <Lightbox image={image9} width="600" alt="" />
3. Choose a name and a location for the virtual machine. If no specific configuration is required from your side, leave the default value:
    <Lightbox image={image10} width="600" alt="" />
4. Choose the generation of the virtual machine. You can either use the older **Generation 1** for compatibility with older versions of Hyper-V, or the newer **Generation 2**. For more information about the different generations, refer to the [official documentation](https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v).
    <Lightbox image={image11} width="600" alt="" />
5. Assign memory to the virtual machine. You can either define a static value or enable dynamic memory allocation, depending on your workloads:
    <Lightbox image={image12} width="600" alt="" />
6. Choose the network for the virtual machine. If your Dedibox has more than one network interface, choose the public internet-facing network adapter from the drop-down list:
    <Lightbox image={image13} width="600" alt="" />
7. Connect the virtual hard disk to the virtual machine. Either create a new virtual disk or choose an existing disk to restore a machine from a previous backup. By default, all virtual disks are stored in the directory `C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\`. Choose the disk size for the virtual machine to your requirements:
    <Lightbox image={image14} width="600" alt="" />
8. Choose the installation options for the virtual machine. To create the machine without an operating system, specify a local ISO file or provide information for a network-based installation server. If you have downloaded an ISO file to install your OS, choose the second option and specify the file path before clicking **Next**. Then a configuration summary displays.
    <Lightbox image={image15} width="600" alt="" />
9. Click **Finish** to launch the creation of the virtual machine:
    <Lightbox image={image16} width="600" alt="" />
10. Assign a virtual MAC address to the failover IP from the [Dedibox console](https://console.online.net/en/login) to make sure that the virtual machine is able to communicate on the internet. Refer to the [dedicated documentation](/dedibox-ip-failover/how-to/create-virtual-mac/) for more information about how to create a virtual MAC address. Click **Settings** in the VM section of the menu.
    <Lightbox image={image17} width="800" alt="" />
11. Click **Network Adapter** (1), **Advanced Features** (2), then on **Static** in the **MAC Address** section. Enter the virtual MAC address of the failover IP in the form and validate by clicking on **Apply**, then **OK** to leave the settings window.
    <Lightbox image={image18} width="800" alt="" />
12. Start the Virtual Machine by clicking on **Start** in the side menu. The virtual machine will boot from the ISO file and the installation wizard of the operating system displays. Follow the steps of the wizard to complete the installation.
13. Configure the virtual networking as described in our [documentation](/elastic-metal/how-to/configure-flexible-ip/) once the installation of the guest OS has been completed. Then, you may run a ping test to check the connectivity of the virtual machine:
    <Lightbox image={image19} width="800" alt="" />