Настройка windows server 2019 на virtualbox

You wanted to test something in the windows server operating system; maybe you want to create a domain controller, a DHCP server, or even a DNS server. The best way to test the windows server configuration is to perform them on a LAB environment. And Some of you may not have lab access, so your …

You wanted to test something in the windows server operating system; maybe you want to create a domain controller, a DHCP server, or even a DNS server.

The best way to test the windows server configuration is to perform them on a LAB environment. And Some of you may not have lab access, so your available option would be to virtualize the windows server on a hypervisor.

That way, whatever you do on the machine will stay in a virtualized environment.  There are multiple hypervisors you can use to spin up the Windows server. And in my last article, we had covered how you can install the windows server on a KVM host. And In this blog, we are going to install the windows server on a VirtualBox.

Can you run Windows Server in VirtualBox?

You can run most operating systems with VirtualBox, provided it should be bootable or a virtual hard disk. Most of the users out there will have Windows server ISO file, and it works perfectly fine. However, you have a choice from Microsoft to download the virtual hard disk in VHD format. You can use that as well to install the windows server on the VirtualBox. And the windows server works great with the VirtualBox.

To get better performance after the installation of the windows, you will also have to install the VirtualBox guest additions. We will cover that as well in this article.

How do I download windows server images for VirtualBox?

You can go to Microsoft windows server evaluation center and download the Version of your choice. When you choose the Version, you will have multiple options; you can either select ISO or VHD. After choosing the Version, you will have to submit the form and post which you will get a link to download the software.

When it comes to the installation, compared to the ISO installation, the VHD file is the easiest way; however, the VHD file size is about 8GB, so you need to be mindful of that.

We will see how we can install the windows server 2019 with both the ISO file and the Virtual hard disk file.

Though we are installing the windows server 2019 in a VirtualBox, the steps mentioned here are identical for other Version of windows as well, such as windows server 2016,2012 and so on.

Prerequisite.

  • Download and install the VirtualBox.
  • Download the windows server image (Either ISO or VHD)
  • Installation using the ISO file.
  • How to install windows server using virtual hard disk (VHD) in VirtualBox?

Installation using the ISO file.

1.      Creation of Windows server VM in VirtualBox.

Open VirtualBox and click on New or CTRL+N to start the windows server VM installation.

A new Create Virtual machine window will pop up; you can choose either Guided Mode or Expert Mode. We are using the Guided Mode for our lab.

  • Enter the name of the VM.
  • Select the folder where you want to keep the VM Hard disk files, I left as a default folder.
  • Choose the Type as Microsoft Windows.
  • Version as Windows 2019 (64bit), for other Version of windows server you may choose them here. For Example, Windows 2016 (64bit)

After specifying the above, you may Click on Next.

2.      Specify the Memory.

You now have to define the Memory for the VM; since I most likely use it for a small Lab, I am fine with 2gigs of RAM. However, if you plan to do more stuff with it, you may need to increase the RAM accordingly.

3.      Create virtual Hard disk.

We will create a virtual hard disk for our VM; in the hard disk wizard. Select the option à Create a virtual hard disk now and Click on create.

By default, the hard disk type would be VDI, and you may choose the default Value itself if you are planning to use the VirtualBox as your permanent hypervisor.

But I would recommend choosing VMDK so that you have an option to move from the VirtualBox to other hypervisors of your choice.  Now Select VMDK and Click on the option Next.

On Storage on Physical hard disk, Choose the default value Dynamically allocated and Click on Next.

We will now define how much storage you want to provision for the windows server; I choose 50GB which is more than enough for me.

If you feel that you might need some extra space, you choose more based on your requirements and Click on Create.

You will be able to see the windows server VM instance is created.

4.      Increase the CPU.

By default, the VirtualBox would assign only one processor to the VM, and I need to add one more processor. That way, then the performance would be good. If you do not need more CPU, you may skip this step.

Right-Click on the VM and Click on settings.

Click on System and choose the Processor tab, and in the processor count, increase it to two.

5.      Attach the windows server image to the virtualbox.

On the same VirtualBox settings, Click on storage.

Under storage devices, Choose the Empty Disk.

In the attributes, Click on the Disk icon to choose a disk file.

And attach the ISO that we have downloaded earlier and Click on Ok.

Right-Click on the VM and Click on start.

From the start-up disk, choose the ISO image that we have attached and click on start. The VirtualBox instance will boot the windows server image.

6.      Begin the windows installation.

After a few seconds, you should see the windows installation screen, Choose the language, and Click on Next.

You can click on Install now.

7.      Choose the Version – GUI or CLI.

You will be presented with the different Versions of windows server 2019 on the screen. You must be a little careful here.

If you want to install the windows server with GUI, you may choose Desktop experience, or if you are ok with CLI, you may select the other options.

I need GUI access; hence I selected Windows server 2019 Datacenter evaluation (Desktop Experience)

After you decided on the versions, you may Click on Next.

Accept the license agreement and Click on Next.

Choose the installation as Custom.

Choose hard disk that we have defined earlier, Click on Next.

The windows server installation will now begin; this will take some time to finish.

8.      Setup the admin password.

After the installation, you will be prompted to enter the Administrator password. Set the administrator password and Click on Finish.

9.      Remove the ISO file.

Installation of Windows server 2019 in Oracle VirtualBox is completed; you may now log in to the windows server.

Let’s remove the windows server ISO file that we had attached during the installation.

On the bottom corner of the VirtualBox window, right-click and click on the disk icon and click on Remove disk from virtual drive.

10.      Installation of VirtualBox Guest additions.

Finally, we will have to install the VirtualBox guest addition, which will improve the performance of the windows server VM.

To install the VirtualBox guest additions, you may log in to the windows host.

Click on Input–> Keyboard–> Insert Ctrl+Alt+Del

You will be prompted to enter the admin password that we had set up earlier.

After logging in, Click on Devices > Insert Guest Additions CD image…

It will attach the Guest addition installation disk to the Windows server VM.

Open This PC, and you should see the VirtualBox Guest additions CD drive and double click on it.

Double click on the Virtualbox Guest addition installation setup file to install the VirtualBox guest additions on your windows server machine.

It is a typical software installation and nothing too complex here; you may click on next on all the drive installation prompt that you get.

After the installation, you may now go ahead and reboot the VM, and you should be good to go.

How to install Windows Server using Virtual Hard Disk (VHD) in VirtualBox?

We have successfully installed the windows server 2019 on the VirtualBox hypervisor using ISO image. We now will go ahead and install the virtual machine using the virtual hard disk. We already have a VHD file downloaded from the Microsoft site.

1. Creation of the VM.

On the VirtualBox, Click on New.

  • Name the VM and the location where you want to save the virtual machine.
  • Type as Windows.
  • Version: Windows 2019 (64bit)

2. Define the memory size.

We can provide a Memory of 2GB or more, and I am choosing 2GB for now.

3. Attach the Virtual Hard disk.

When we chose the ISO method of installation, we created a new hard disk in the VirtualBox.

But right now, we already have the virtual hard disk file, We need to attach that here.

Select use existing virtual hard disk file and click on the browse button next to the drop-down.

You will not see the virtual hard disk in the new pop up; Click on Add.

And Select the VHD file which we downloaded from Microsoft.

The new image is added under the not attached section.

Select the image and Click on Choose.

You need to make sure the new virtual hard disk is selected under ‘use existing hard disk file’

Click on Create.

4. Choose the region and Accept the license.

Once you power on the machine, you will get an option to Choose the region, Language, Layout and Click on Next.

You have to accept the license before you continue.

Follow the Step 8 above to set the admin password. Enter the password and Click on Finish.

Your VirtualBox is ready to use, and you still need to install the VirtualBox guest additions following Step 10 above which is important.

Oracle VM VirtualBox is a free and open-source hosted hypervisor for x86 virtualization, developed by Oracle Corporation. You may want to run multiple VMs on your operating system, with the type 2 virtualization type, this is possible. To achieve this, the following steps below need to be performed. To proceed, ensure you have VirtualBox installed on your device. On how to perform Post OS Installation configuration of Windows Server 2019 Properties, how to install Windows Server 2016 Operating System. Also, you may be interested in my YouTube video on how to setup Windows Server 2019 on a VMware Workstation. On how to install and configure Ubuntu Linux, see the visit link.

Part A: Prepare the Virtualbox environment to hold the windows folders for the new VM. Click on “New” from the Oracle VM VirtualBox Manager. See this guide for how to install Windows Server 2022 on VMware Workstation.

Enter the name, version, desired path to host the VMs and click on continue

Select the memory size as shown below. You can type in the memory size or use the bar to increase it as well.

Click on “create a virtual hard disk now”

This will open the hard disk type window as shown below.
– I will select VDI (Virtual Disk image)

Choose if you wish the hard disk to dynamically increase or use a fixed hard disk file size. I will be using a fixed size which will be entered in the next page

Enter the Hard Disk size of your choice as shown below
– You can also change the file location if you wish from here.

Next, this will create the VM as shown below

Now the VM creation process is complate and VM successfull created.

Part B: To access and attached the Windows Server 2019 ISO file, the following steps should be followed.

Click on the Server and Click or settings or
– Right click on the server and select settings

Click on storage
– Click on Empty under the control IDE
– Select the Disk icon and choose the Operating system you wish to install as shown below

As you can see below, the ISO image has been selected. We can now proceed with our installation.

– Click on “ok”. Next, select the VM and click on start to continue the installation of Windows Server 2019.

This will load windows and prompt for the steps in Part C below.

Part C: This step is similar to installing Windows 10, Windows Server 2008, 2012, 2016 on Virtualbox. On the Windows Setup page,
– Select the language to install
– Time and currency format
– Keyboard or input method

Click on Next and Click on “Install now

Note: Here you could click on repair your computer if this is the approach you need to take or use “Reset this PC”. See how to repair Windows 10 locally for similar steps. Select the operating system you wish to install and click on Next.

Accept the license agreement as shown below and click on next

Select custom install as shown below to install Windows
– Select Custom: Install Windows only (advanced)

Select the Drive to install Windows and click on Next
Note: You can create an additional drive and install Windows on it. You can also format, delete and extend drives in this window.

After this step, Windows will be installed unto the system.

When this step complete, the the device will reboot after few seconds
– Note: You can restart immediately

This will prepare and get windows ready as shown below

the customise settings window will be displayed. Enter the Password and click on finish to complete Windows Server 2019 Installation.

Now Windows Server 2019 setup is now complete as shown below.

To access the login windows, use the Contl+Alt+Del and enter your password to access Windows. Refer to this guide for the Post OS Installation and configuration of Windows Server 2019 Properties (Configure TCP/IP Parameters).

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

How to Install Windows Server 2019 in Virtual Box

In this post, we will see the process to install windows server 2019 in Virtual Box. But before we start installation let’s check minimum system requirement to install windows server 2019.

Minimum system requirement to install windows server 2019.

  • Processor: At least 1.4 GHz or faster 64-bit supported processor
  • RAM: 512 MB
  • Free Space: 32 GB of available free disk space.

How to install Windows Server 2019

First download Windows server 2019 Evaluation edition ISO image from Microsoft TechNet Evaluation Center. https://www.microsoft.com/en-US/evalcenter/evaluate-windows-server-2019

Link to download Oracle VirtualBox: Click Here

Start your VirtualBox and create one VM with below configuration.

  • Name: As you wish
  • Type:- Microsoft Windows
  • Version:- Windows 2016 (64-bit)
  • RAM:- 2048 MB
  • Create Dynamically Expanding VDI with size 100 GB

After creating VM click on start.

Mount the ISO image which we have downloaded earlier.

Step:1 On Windows Setup console select the installation language, time and currency format and keyboard layout. You can simply use default settings which will be OK.

1_choose_language

Step:2 Click on Install now to start the installation process.

2_click_on_install

Step:3 Select the operating system which you want to install. (First option will install windows server without a graphical user interface.)

If you want GUI to manage server select second option i.e. Windows Server 2019 Standard Evaluation (Desktop Experience).

3_select_server_edition_to_install

Step:4 Select Accept the license terms and click on next.

4_accept_licence_terms

Step:5 For a fresh installation of server 2019 we need to select the second option, Custom: Install Windows Only and then click on next.

5_select_clean_installation

Step:6 Select your virtual hard disk and click on New to create a new partition to install server 2019.

6_create_new_partition

Step:7 For this demo, I am creating only one partition of 100 GB in size.

7_specify_partition_size

Step:8 After creating a partition, Click on Next to continue.

8_choose_the_partition_to_install_os

The installation process will take some time to complete the process. Once installation completes server will restart automatically.

9_installation_progress

At next boot, you will see below screen asking to set Administrator account password for windows server 2019.

Step:9 Specify the password of your choice to protect Administrator account of Windows Server 2019.

10_setup_local_administrator_account_password

Congratulations! Now you are ready to log in first time on your newly installed Windows Server 2019.

Now press CTRL + ALT + Delete key combination.

11_press_control_alt_delete_key_combination

Specify the administrator account password and hit the enter key to login to Windows Server 2019.

12_type_administrator_password

Here we go.

13_system_information

We have successfully installed Windows Server 2019 in Oracle Virtualbox.

Post Views: 5,828

It is always advisable to install and test the new Operating Systems in the virtual platform before trying it in a live environment, especially the server version we use in production. In this guide, let me show the steps I followed to install Windows 2019 server LTSC and SAC versions on Oracle VirtualBox.  The Windows 2019 server OS was built on the firm foundation of the earlier Windows 2016 server. Windows 2016 was the most popular and fastest adopted Windows server Operating System ever, and Microsoft expects the 2019 version to overtake it.

You can check here to learn more about what is new in Windows 2019. As a Windows server administrator or a learner, you would love the new features it brings up.  The project Honolulu is something I’m incredibly interested in and happy to have.

Two Versions of Windows 2019

You must understand the significant difference between both Windows 2019 versions. I have shown how to install Semi-Annual Channel (SAC) and Long-Term Servicing Channel (LTSC) on VirtualBox with my Windows 10 computer. Find below the major differences between both versions.

1) Semi-Annual Channel (SAC)

  • It gets feature updates from Microsoft twice a year. Your organization should have Software Assurance to be eligible for the upgrade.
  • The Windows 2019 SAC doesn’t have GUI. So, it is like Windows Server Core or Nano installation. It is well secured and optimized, but management is not easy without GUI.

2) Long-Term Servicing Channel (LTSC)

  • It is for organizations that prefer the more traditional release of feature updates in two to three years.
  • It comes with both Server Core and Desktop Experience (GUI) versions.

Let’s dive into the installation of the Windows 2019 server on VirtualBox.

I already published a guide showing how to install Windows 2012 R2 on VirtualBox with a pre-installed VHD file from Microsoft. At the moment, Microsoft Provides ISO and VHD files of the Windows 2019 server on their official website.

To continue further, you must be able to download the Windows 2019 ISO file from the Microsoft Windows Insider Program website. It will help if you have a Windows live account that is part of the Insider program (Free to join). Here is the URL to download Windows 2019 server version for testing and demo installation purposes.

Unfortunately, I could not use the VHDX file of both Windows 2019 SAC and LTSC versions on the VirtualBox. VirtualBox was unable to read the VHDX file properly. Therefore it can’t be used to boot the virtual machine from it.

It threw the following error while attaching the VHDX, “Failed to open the disk image file..” with the “MediumWrap” “E_FAIL”. It is still doubtful whether VHDX is supported in VirtualBox for reading and writing access. It looks like it supports only read-only as of now. As you know, VHDX files are mainly made for Microsoft Hyper-V hypervisor.

The Error Message When Open VHDX

VHDX to VHD

I used “vboxmanage clonemedium” command to convert the VHDX to VHD, and it succeeded and converted the Windows 2019 Server VHDX to VHD. Also, this time I managed to add the converted VHD disk to the new Virtual Machine. But it did not boot. It gave the error saying, “No Bootable medium found.” To reconfirm the readability of the converted VHD file, I attached the disk to another working Windows VM and managed to read the content on the VHD file. I’m yet to find the solution in mounting the preinstalled Windows 2019 Server VHDX on VirtualBox and see how it works.

At the moment, the final solution is to use the ISO file and do the fresh installation.

Read Also: Best Windows Home Server OS

Windows 2019 Semi-Annual Channel (SAC) on VirtualBox

It worked, but I’m not sure why you need to install a Server Core version in VirtualBox without Desktop experience. But for a full-fledged test lab setup, you can install it in multiple VMs to test the Windows 2019 server cluster and server farm feature.

I assume that you have already worked on the Server Core version. The installation is straightforward. Download the ISO file of Windows 2019 SAC from Microsoft and start installing.

1. Select the Operating System as “Windows 2016” or Windows 2019 based on your Oracle VirtualBox version.

Select The OS Version2. Make sure that Processor settings remain the same as below. By default, when you select the Windows 2016 version, it sets automatically.

Processor Settings3. Set the RAM; I allocated 4GB RAM and 50GB of new hard disk.

4. Attach the downloaded ISO and start the Virtual Machine.

Added Windows 2019 ISO5. Select the “Standard” or “Data Center” versions to install. I selected the Data Center version and continued the installation.

6. Once installation is completed, you will get the first screen to set up an administrator account. It will be the server core version; you must play with the command prompt and PowerShell. Mouse and keyboard integration works fine.

7. With the ‘sconfig’ command you can configure the Windows 2019 Core on VirtualBox.

Windows 2019 Server Core On VirtualBox8. Network worked without installing VirtualBox additions inside VM (NAT type, it should work with any type including Bridged or Internal only).

Working Network Inside VM Windows 2019 Server Core

Since it doesn’t have a desktop graphical interface, we do not need to install guest additions on this Server Core.

Windows 2019 Long-Term Servicing Channel (LTSC) on VirtualBox

The LTSC version of Windows 2019 Standard and Datacenter have desktop experience GUI and core installation. Here I selected the Datacenter with the desktop experience.

9. The installation steps are the same as the SAC server mentioned earlier. Select the correct version you want to test with the Desktop experience as mentioned

Desktop Experience On Windows 2019 Server10. You can leave the OS key, enabling your evaluation period once the installation is completed. You need to set a new complex password for the Administrator account. You will land on the Windows 2019 server desktop, almost identical to Windows 2016 and 2012 R2 versions.

Below is the first screen without VirtualBox guest additions. You can see the space between the console and Windows 2019 virtual machine desktop because no guest additions were installed hence the auto-size of the display is not working.

Desktop Without VB Additions

11. Click on Devices and mount the guest additions as shown below.

Mount Guest Additions12. It will be the DVD inside the VM. Open it and execute the 64-bit version (even you can execute the normal one which will detect the OS and install the appropriate version).

Windows 2019 server on VirtualBox with guest additions13. Click yes to install if the warning comes as not a trusted driver.

Trust The Application14. Reboot the VM after completion.

15. Once it is rebooted and logged in, you will see a better display, mouse integration and performance enhancement inside the VM. Also, the auto display re-size will work fine.

Take a snapshot before you make any changes from this point.

There you go, you have both versions of the Windows 2019 server (LTSC and SAC) on your Windows 10 desktop or laptop by using Oracle VirtualBox. I hope this guide is useful for the testing or demo lab setup at home/office.

В этом видео вы научитесь устанавливать операционную систему Windows Server 2019 на VirtualBox.

 



  • Виктор Черемных



  • 16 января, 2021



  • No Comments

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Комментарий *

Имя *

Email *

Сайт

Группа в VK

Обнаружили опечатку?

Сообщите нам об этом, выделите текст с ошибкой и нажмите Ctrl+Enter, будем очень признательны!

Свежие статьи

Создание общего Samba ресурса на Astra Linux Special Edition 1.7

Создание общего Samba ресурса на Astra Linux Special Edition 1.7


30.01.2023

Добавление общей smb папки на Astra Linux Special Edition 1.7

Добавление общей smb папки на Astra Linux Special Edition 1.7


27.01.2023

Создание общей папки для Astra Linux Special Edition 1.7 на VirtualBox

Создание общей папки для Astra Linux Special Edition 1.7 на VirtualBox


25.01.2023

#10. Настройка оценок и отчетов в системе Moodle

#10. Настройка оценок и отчетов в системе Moodle


23.01.2023

Программный комплекс ViPNet Client

Программный комплекс ViPNet Client


23.01.2023

Облако меток

PrevМетоды психологического воздействия на человека | СИ

Лента задач в MS PowerPoint — вкладка «Главная»Next

Похожие статьи

Настройка файлового сервера на Windows Server 2019

Настройка файлового сервера на Windows Server 2019

В этом видео вы научитесь создавать и настраивать файловый сервер на Windows Server 2019.  

 

Создание виртуальных машин в Hyper-V

Создание виртуальных машин в Hyper-V

В этом видео вы научитесь создавать виртуальные машины, коммутаторы и диски в Hyper-V.  

 

Установка Windows Admin Center

Установка Windows Admin Center

В этом видео вы научитесь устанавливать Windows Admin Center для управления Windows Server.  

 

Установка, настройка и обзор Hyper-V на Windows Server 2019

Установка, настройка и обзор Hyper-V на Windows Server 2019

В этом видео вы научитесь устанавливать и настраивать гипервизор Hyper-V на Windows Server 2019.  

 

In this article, we will install Windows Server 2019 on Windows 10 with Oracle VM VBox virtualization program step by step.

How to Install Windows Server 2019 on Oracle VM VirtualBox

How to Setup Windows Server 2019 in Windows 10 PC using VirtualBox

Microsoft released the Server 2019 Preview version on March 20, 2018. The Windows Server 2019 full version will be available in the second half of 2018.

Windows Server 2019 is built on the powerful infrastructure of Windows Server 2016, and the most striking feature is Project Honolulu. Project Honolulu is a central console that allows you manage Windows Server 2019, 2016, and 2012 R2 using either the GUI or GUI-less. In the next article, we will examine the Project Honolulu installation and configuration in more detail.

For more information about Microsoft Server 2019, visit https://cloudblogs.microsoft.com/windowsserver/2018/03/20/introducing-windows-server-2019-now-available-in-preview/.

In the previous article, we installed Microsoft Server 2019 with the VMware Workstation program.

  • How to Install Windows Server 2019

After briefly discussing MS Server 2019 and Project Honolulu, let’s move on to the steps of setting up Server 2019 with Oracle VM.

How to Install Windows Server 2019 using Virtual Machine

You can install Microsoft Server 2019 on a physical server. Or you can use virtualization programs to install and experience it on your desktop or laptop computer.

Before installing Windows Server 2019 on a physical server, it is a good idea to build and test it in a virtual environment.

First of all, if you are using Windows operating system, install VirtualBox on Windows 10. But if you are using a Linux based Ubuntu/Debian/Linux Mint, install VirtualBox on Ubuntu.

Then, download the Server 2019 ISO file to your computer by clicking here. Finally, follow the steps below to run Microsoft Server 2019.

   Step 1

First, create a new virtual computer on VirtualBox. Select Windows Server 2016 (64-bit) in the operating system selection window in the steps for creating a VM. Next, open the Server virtual machine’s settings and click the System / Acceleration tab.

NOTE: Server 2019 is available in the virtual machine operating system selection window in 6.0 version of the Oracle VM program.

In the Hardware Virtualization section, select the Enable VT-x/AMD-V and Enable Nested Paging options, and finally, add the Microsoft Server 2019 ISO file to the virtual pc.

How to Install a New Virtual Machine in VirtualBox

   Step 2

After preparing the MS Server 2019 virtual machine, run the virtual machine by clicking the Start button.

Start Virtual Machine

   Step 3

Configure the language, time settings, and keyboard layout for MS Server 2019 and click Next.

Language to install

   Step 4

Select the Windows Server Standard (Desktop Experience) version and click Next.

Windows Server Standard (Desktop Experience)

   Step 5

Accept the MS Server 2019 license agreement, and then click Next.

Server 2019 License Agreement

   Step 6

To install Windows Server 2019 without updating it, click Custom.

Custom: Install

   Step 7

Configure the virtual hard disk size for your virtual machine and click Next to select the partition you want to install Server 2019 on.

Disk 0 Partition 2

   Step 8

Wait while being installed Windows Server 2019 with VirtualBox…

Getting Files Ready for Installation

   Step 9

Wait while getting devices ready…

Getting Devices Ready

   Step 10

You need to set a complex password for your Administrator account. Type in a difficult and complicated password and click on the Finish button.

Customize Settings

   Step 11

Click on Input / Keyboard / Insert Ctrl-Alt-Del to open the account lock of Server 2019.

Insert Ctrl + Alt + Delete

   Step 12

Type your Administrator password that you created and press Enter.

Login to System

   Step 13

Once you have successfully completed the steps for setting up Server 2019, you can check the Server Manager information as shown in the following image.

Server Manager

How to Install Guest Additions on Windows Server 2019

After you install it with VirtualBox, you should install Guest Additions. To install guest additions for Windows clients, click on the image below to read our related article.

How to Install Guest Additions

How to Run Server 2019 Step by Step ⇒ Video

You can watch the video below to run it on VirtualBox virtual machine step by step, and also subscribe to our YouTube channel to support us.

   Final Word


In this article, we have installed MS Server 2019 Technical Preview step by step, a free and popular virtualization program. You can also install Windows Server 2019 on ESXi. Thanks for following us!

   Related Articles


What is VMware ESXi, vSphere, and vCenter?
How to Download Microsoft’s Project Honolulu for Server 2019
♦ How to Install Debian 9 in Oracle on Windows 10
♦ How to Enable Intel Virtualization Technology
♦ How to Install Server 2019 on VMware Software

Google Translate

SEARCH

Calendar

Archives

Archives

Blog Stats

  • 1,151,992 hits

Categories

Meta

In order to make posts about Active Directory and how it is become a core on many companies as authentication source, I try to Install Microsoft Windows Server 2019 on VirtualBox. I am also working on a company that uses Active Directory as authentication and authorization source such as application login credential, WiFi, company role matrix, and so on.

Because it is not wise to use the company resources as an experiment, so this Windows Server 2019 on VirtualBox will be my source of experiment from now on.

How to install Microsoft Windows Server 2019 on VirtualBox 6.0

Before we start, make sure you already meet the requirement for Installing Windows Server 2019 on VirtualBox.

1. Oracle VirtualBox already installed

2. ISO image of Microsoft Windows Server 2019

3. Minimum 2 GB of Memory and 40 GB hard disk space for Virtual machine

If you already meet the requirements, let’s start!

— Create New Virtual Machine, type the name of the Virtual Machine and choose the machine folder (I suggest you to change it to other partition than the system partition)

— Virtual machine type is Microsoft Windows and Version change to Windows 2016 (64-bit)

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Virtual machine type is Microsoft Windows and Version change to Windows 2016 (64-bit)

— Next, choose the amount of memory. For Core Server it’s need at least 800 MB when installing and can be reduced to 512 MB after installed. For Desktop Experience installation, you need the minimum of 2 GB of memory.

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Choose the amount of memory

— Next, create a new hard disk, type VDI and Dynamically allocated. For GUI Mode, you need at least 32+4 GB hard disk space. The recommendation is 50 GB.

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Create a new hard disk, type VDI and Dynamically allocated

— Next, go to the newly created Virtual Machine Settings

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Newly created Virtual Machine Settings

— On the Settings Window, navigate to ‘Storage’, Storage Device, choose optical drive icon and on the attributes, Choose Virtual Optical Disk file…

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Choose Virtual Optical Disk file…

— Find and choose the Microsoft Windows Server 2019 ISO image (download link above). Click Ok, and Start the Virtual Machine

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Find and choose the Microsoft Windows Server 2019 ISO image

Microsoft Windows Server 2019 Installation

— Choose the Language, Time and Currency format and Keyboard layout you prefer, and click Install now

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Choose the Language, Time and Currency format and Keyboard layout

— Select operating system you want to install, you can read the description for every option. For full GUI, choose the option with Desktop Experience…

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Select operating system you want to install

— Next, End user license agreement. Make sure you already read all the terms before «Accept» and click Next.

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
End user license agreement

— Next, Choose Custom: Install Windows Only (advanced) for new Windows Server 2019 Installation

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Choose Custom: Install Windows Only (advanced) for new Windows Server 2019 Installation

— Next, Choose the drive where the Windows Server will be installed and click Next. (we can do the partitioning later after installed)

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Choose the drive where the Windows Server will be installed

— Next, the installation process take 20 minutes before it restarts several times in this tutorial. Just wait.

— Create new password for Administrator user. Read this article from Microsoft for Password Complexity Requirements. Or just use at least 8 characters with uppercase, lowercase and number. You can change it later.

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
Create new password for Administrator user

— Wait for Finalizing Windows Installation.

— To login to Windows Server 2019, you need to press «CTRL+ALT+DEL». In VirtualBox «CTRL+ALT+DEL» replaced with «Host+DEL» (Default host key is Right CTRL key)

How to install Microsoft Windows Server 2019 on VirtualBox 6.0
VirtualBox «CTRL+ALT+DEL» replaced with «Host+DEL» (Default host key is Right CTRL key)

— Insert your Administrator Password and you are done Installing Microsoft Windows Server 2019 on VirtualBox 6.0.

In this step by step, I will teach you how to setup active directory directory services with a domain using VirtualBox. The demos are based on  Windows Server 2019 and Windows 10.

We’ll cover the following in this part

  1. Install VirtualBox and add Virtual Machines
  2. Install Windows Server 2019 on the new Virtual Machine
  3. Configure Active Directory Directory Services
  4. Create the Domain and Configure the Domain Controller

1. Install VirtualBox and add Virtual Machines

Step 1 – Download and install VirtualBox VM. Get it free from here.

Step 2 – Download Windows Server 2019  and Windows 10 Enterprise. I’m using the 90 days trial version. I think this is enough time to  get used to it.

  • Get Windows Server here
  • Get Windows 10 here

Make sure the download the ISO files. Save them in a folder

Step 3 – Open the VirtualBox and click on the New button

Step 4 – Enter the name. Then choose the type and version as shown below.

Creating New Virtual Machine in VirtualBox

Creating New Virtual Machine in VirtualBox

Step 5 – Set the Memory Size to 2048 MB

Step 6 – Ensure the ‘Create a virtual hard disk now‘ is selected under disk. Click Create.

Step 7 – Choose VDI(VirtualBox Disk Image) in the ‘Hard disk file type’ and also select ‘Dynamically allocated’

Step 8 – Set the Hard disk size to 30GB

2. Install Windows Server 2019 on the new Virtual Machine

Now we would use the ISO file we downloaded to install Windows Server 2019 in the new virtual machine we created. Follow the steps

Step 1 – Start the new Virtual Machine (Right-click > Start)

Step 2 – Select the ISO file you downloaded and click Start

Selecting the disk image

Selecting the disk image

Step 3 – Follow the onscreen prompt to install windows. Ensure to choose ‘Windows Server 2019 Standard Evaluation(Desktop Experience)”

Also ensure to choose Custom Install from the next screen. Then wait for the installation to complete

Step 4 – Choose an Admin password in the Customize setting window as shown. Click next to complete the installation

Step 5 – Now you can log on to Windows. The Server Manager Dashboard opens up as shown below.

Step 6 – First install ‘Virtual Box Guest Additions’. This would allow you to set the VM screen to full screen. See the video.

Server Manager Dashboard

Server Manager Dashboard

3. Configure the Active Directory Directory Services(AD DS)

Now we would set up this computer as a domain controller. We do this by installing the AD DS role to the server.

Step 1 – Click on Add Role and Features in the Dashboard. This opens the Add Roles and Features Wizard.

Add Roles and Features Wizard

Add Roles and Features Wizard

Step 2 – Click on Next > Next until you have a list of Features

Step 3 – In the list, check Active Directory Directory Services as shown below

Step 4 – Then complete the installation by clicking on Next > Next until the installation completes.

4. Create a Domain and Configure the Domain Controller

To complete the process of creating a domain, we need to promote the sever to a domain controller. Follow the steps below to do that.

Step 1 – Click on the yellow triangle at the upper right and click ‘Promote this server to domain controller’. The ‘Active Directory Domain Services Configuration Wizard’ opens up as shown below

Step 2 – Click on ‘Add a new forest’ and  enter a name for the domain and add .local suffix. For this example, I’m using KTG.local

Creating a new Forest

Creating a new Forest

Step 3 – Click on next and then enter a password. Click Next

Don’t worry about DNS because it would choose it’s own

Step 4 – Allow the default Netbios domain name which is the same same but without .local suffix.

Click on Next to complete the installation. Allow the system to restart.

Step 5 – You can now login with KTGAdminstrator. Enter the password you set.

At this point, you have created a domain as well as  a domain controller. Congrats!

But we are not done yet. We’ll proceed to Part 2 where we would then create user,  set up the network and join computers to the domain.

Here we are going to install Windows Server 2022 LTSC preview version on VirtualBox virtual machine to try its latest features…

As per the virtual Ignite 2021 conference announcement done by Microsoft, they are planning to release the final version of Windows server 2022, later this year. Whereas the Trial versions of Windows Server 2022 preview are already available for Windows Insiders.

The upcoming Windows Server’s Long Term Servicing Channel Release (LTSC) will receive security updates for ten years. The current version is Windows Server 2019 LTSC. The innovations of Windows Server 2022 include multi-layer protection against threats, which can be activated via Secured Core Server. Besides, the new version enables HTTPS via TLS 1.3 ex works to support secure connections for business-critical data.

Furthermore, the updated version of Windows Admin Center and the possibility to manage Windows Server in your own data center with Azure Arc.  As per the official blog, now it becomes easier to manage virtual machines. Besides, the Storage Migration Service receives a new scenario for migrating file servers from its own data center to Azure. For more information, the user can refer to the official announcement.

Windows Server 2022 installation on VirtualBox Virtual machine

1. Download Windows Server 2022 ISO

To get the preview ISO file of the Server 2022, the user can visit the official Windows Insider page of Microsoft. Or else see our step by step article on this – How to get Server 2022 ISO or VHDX image

2. Install VirtualBox

Although if you are here for this tutorial then you would already have VirtualBox installed on your system, if not, then download it from virtualbox.org. It is available for all popular platforms. Where for Linux see our tutorials such as Redhat and Ubuntu

3. Create a Virtual machine for Windows Server 2022

Run the installed VirtualBox and follow the below steps to create Microsoft Server 2022 virtual machine.

  1. Click on the New button.
  2. Give some name to your VM, here we are installing the server version, thus, we name it the same i.e Windows Server 2022.
  3. Select Microsoft Windows as OS type and Windows 10 64-bit as version.
  4. If you want to use the Desktop GUI version then at least 2GB RAM should be assigned, however, we recommend 4GB or more depending upon what are you planning to install for better performance.
  5. Create a Virtual Hard disk. When it asks for file type go for VHD so that later you can use the same virtual disk image in Hyper-V as well.
  6. Select Dynamic Allocated, this will not allocate all the assigned VHD space at once, instead steadily as our virtual disk starts growing.
  7. In the next steps, use the slider bar and allocate the amount of space for the VHD file. Here we are stipulating 50 GB but you can more if you are planning to deploy some enterprise features/applications.
  8. Finally, finish and you will have your Server 2022 Virtual machine on VirtualBox.

name the server operating system Assign RAM for Windows server 2022 on VritualBox Virtual hard disk storage space Create New Windows Server 2022 virtual machine on VirtualBox

4. Start Virtual Machine

Now, select the created VM from the left panel of VirtualBox and click on the Start button given in the Menu… after that the Vbox will ask you to select the startup disk. Here we have to choose the ISO file we have downloaded for Windows Server 2022 at the first step of this article.

Select the folder icon to open the File Explorer window of your respective OS.

Assign Startup disk on Oracle VBox

⇒ Click on the Add button to select the downloaded Microsoft Server 2022 ISO image as bootable or Startup disk medium.

Add Server 2022 ISO to VirtualBox

⇒ When the ISO image appears in the disk display area select it and then click on the Choose button.

Choose Window Server Insider Preiview vNEXT ISO

⇒ Finally, hit the Start button to move forward for the installation of Microsoft Server 2022 on Virtualbox VM.

Start Windows Server 2022 virtual machine

5.  Install Microsoft Server 2022

Select “I don’t have license key” when the installation setup asks for it.  Moving forward, you will see multiple setups to install, that are:

  • Windows Server 2022 Standard
  • Windows Server 2022 Standard (Desktop Experience)
  • Windows Serbger 2022 Datacenter
  • Windows Server 2022 Datacenter (Desktop Experience)

If you have some application that requires Graphical User Interface or you want to experience the Server with GUI, then select the Desktop Experience one. Whereas those who want to manage their server (without GUI) installation using Windows Admin Center can go for the Standard or DataCenter option.

Select Windows server with GUI desktop

As here we are not upgrading any previous Windows server installation, thus select the Custom Install.

Custom installation

Select the available hard drive, we have created on VirtualBox. If you want to create partitions then select the NEW option otherwise click on the NEXT to let the Server use the whole drive to install the OS.

Seelkct Virtual Hard disk to format and install server 2022

6. Set Admin Password

Once the installation is complete, the setup will ask you to type a password to secure a built-in Administrator account.

Later press – Ctrl+Alt+Del to login.

Set Admin Account

WIndows Server 2022 Installad virtualbox

Понравилась статья? Поделить с друзьями:
  • Настройка басов на windows 10 программа на русском
  • Настройка wifi через командную строку windows 10
  • Настройка басов в наушниках на windows 10
  • Настройка windows server 2019 для удаленной работы
  • Настройка wifi на ноутбуке windows 10 чтобы не терял сигнал