How to Install Windows Server 2019 on a Virtual Machine - Step by Step Guide

In this article, I am going to show you how to install windows server 2019 on a virtual machine in easy steps.

Steps:

  1. Download and Install VMware 
  2. Download Windows Server ISO File
  3. Create VM in Vmware
  4. Install Windows Server
  5. Install Vmware Tools (Optional)
  6. Enable Nested Virtualization (Optional)

1. Download and Install VMware 

    Go to VMware website and download the latest version of VMware Workstation Player

    Download Vmware







    




    Once it is downloaded then double click on the downloaded file to install it on your computer.

2. Download Windows Server ISO file:

    Go to Microsoft Evaluation Center website and download the ISO file for your platform and   language. For me this was English(United States) 64 bit edition.

    Download Windows Server 2019 ISO


1. Create VM in VMware

    Open Vmware workstation player that you installed in first step and click on Create a New Virtual Machine


    This will open a new Virtual Machine Wizard. On this wizard select the last option (install operating system later).

    Click Next and Select Microsoft Windows as Guest OS and Select Windows Server 2019 in version


    Click Next and Select the location where you want to save this VM
    
    
    Enter Disk Size. Minimum size should be 60 GB. 60 GB is enough for me. You can increase this    depending on your needs

    Click Next and Select Customize Hardware
    
    
    A new window will pop up. On this window adjust memory size at 4GB
    


Now close this window and click Finish to complete the creation of VM. Once the VM is created successfully, you can see this in VMs list. Click on the VM you just created and go Edit Virtual Machine Settings

In Virtual Machine Settings window go to CD/DVD(SATA) and select Use ISO Image file and then browse the ISO that you downloaded in Step No. 2.

 Click Ok to save the settings. Now you can install windows server 2019 on this Virtual Machine.

4. Install Windows Server
    In VMware Select the VM that you created in the previous step and click Play Virtual Machine. This will start the virtual machine and take you to the installation wizard.


    On the next page select the version you want to install. If you want the Desktop version then select the 2nd or last option. 
    

    Click Next and check I accept the license terms check box and then click next. On next page select Custom Install
    

    On next page select the drive where you want to install windows
    

    This will start installation of windows server on your VM
    
    
    Once the installation is complete, you will be prompted to enter the password for your account. Set any password that you can remember later on and then click finish.
    
    
    Now you can login to windows server 2019, send ctrl+alt+del input to virtual machine from icon highlighted in screenshot and login
    
    That's it, Now you are ready to use your freshly installed windows server on your machine.

5. Install VMware Tools (Optional)
    This step is not necessary, but it is very handy to manage communication between your host and VM. Foe example, share files between your VM and host, or copy and paste between host and VM
To install VMware tools login to your guest OS (windows server 2019) and either install these from the popup bar beneath the VM window or in guest os press windows key + R to open run menu. And type D:\setup.exe and click ok.


    Install with all the default options and then restart the VM.

1. Enable Nested Virtualization (Optional)
    Note: This is only needed if you want to enable virtualization in your guest operating system or you want to use the containerization feature. Otherwise you can skip this step.
To enable nested virtualization, go to your virtual machine settings from VMware and select processors. And check the first and last checkbox. Then click ok and start your VM again.
 

Comments

Popular posts from this blog

Run Docker Linux Containers on Windows Server 2019 (LCOW) - Step by Step Guide

Develop a CRUD Application using Django and React (Part 1) - Backend

Develop a CRUD Application using Django and React (Part 3) - Frontend