Skip to content

Windows Server 2019/2022/2025 installation guide

Pre-installation

  1. Download Windows Server 2019 or 2022 or 2025 ISO image

  2. Generate a desktop from that media with the following virtual hardware:

    • Viewers: SPICE
    • vCPUS: 4
    • Memory (GB): 8
    • Videos: Default
    • Boot: CD/DVD
    • Disk Bus: Default
    • Disk size (GB): 100
    • Networks: Default
    • Template: Microsoft windows 10 with Virtio devices UEFI

Once at this point we can proceed with the installation in two different ways:

  1. Installing S.O. via Disk Bus SATA.
  2. Installing S.O. using the default Disk Bus.

Disk Bus SATA installation

This installation is shorter and more direct. We will have to follow the following steps:

Edit desktop and assign more Media, so that it will end up with the following:

  • Disk Bus: SATA
  • Networks: Intel PRO/1000 isolated
  • WinServer2022 - ES (or the installer's version we want)
  • Virtio-win-X (most recent drivers in the platform)
  • Optimization Tools (optimization software for Windows O.S.)

Installation

  1. Send "Ctr+Alt+Del" and press any keyboard key on second screen

  2. Installation type

  3. Define the disk where we are going to install the O.S.

    The previous step only appears in 2022 installation or before.

Disk Bus Default installation

This installation already installs drivers for the disk. We will have to follow the following steps:

Edit desktop and assign more Media, so that it will end up with the following:

  • Disk Bus: SATA
  • Networks: Intel PRO/1000 isolated
  • WinServer2022 - ES (or the installer's version we want)
  • Virtio-win-X (most recent drivers in the platform)
  • Optimization Tools (optimization software for Windows O.S.)

Installation

  1. Send "Ctr+Alt+Del" and press any keyboard key on second screen

  2. Installation type

    Always select the Desktop experience version

    Installation version

    Depending on the version of the Windows Server installer, it will proceed in one way or another.

    If we have 2019 or 2022 version, we must follow this steps:

    We select the version we are installing.

    In the case of having the 2025 version, we will follow these steps:

    We select the version we are installing.

    It is necessary that we make the disk online, otherwise the installation can not be done correctly and the disk will not be detected.

Configuration

Once the process is over and the UEFI page hits us again, it will mean that the installation had finished. In that moment, we can start with the configuration:

  1. Shut-down the desktop and edit it with the following virtual hardware:

    • Viewers: RDP and Browser RDP
    • Login RDP:
      • User: Administrator
      • Password: Aneto_3404
    • vCPUS: 4
    • Memory (GB): 8
    • Videos: Default
    • Boot: Hard Disk
    • Disk Bus: Default
    • Networks: Default and Wireguard VPN
  2. Start the desktop, it will take a few seconds to start the operating system

  3. Assign Aneto_3404 password to Administrator user

Virtio Controllers

  1. Install Virtio drivers from assigned desktop Media. Both installations are fast and have to only press Next button.

  2. Enable Remote Desktop connections. Enable first checkbox and disable second one, at Advanced settings

  3. Check system updates, which will take a long time to download and install, in order to be up to date with the latest version of Windows Server (it may be necessary to reboot the system several times to check for new updates).

Optimization tools

  1. Run file from desktop assigned media

  2. Press button Analyze and then Common options

  3. Configure options as in images below

  4. Language : If a language is used that is not the one selected during the installation, to avoid deleting the downloaded language packs, it is filtered by the word language and the following 3 options are disabled.

  5. Press button Optimize and wait until a second screen shows up with result resume

  6. Reboot the system

Windows Server 2022 (2 simultaneously local users) English

Scheme

Using a desktop based on a Windows Server 2022 template, it is possible to allow two simultaneous local users' connections via RDP (Remote Desktop Protocol). If we wanted more simultaneous sessions, we would have to acquire as many licenses as new users wanted.

stateDiagram-v2
    state "WindowsServer2022\nwith DataBaseApp\n+\nLocal_UsersCredentials" as Server
    state "Desktop_1(RDP)\n\nLocal_User1\nPsw1" as D1
    state "Desktop_2(RDP)\n\nLocal_User2\nPsw2" as D2

    Server --> D1
    Server --> D2

This can be very useful in case that we want to share a database loaded on this server, from two devices at the same time.

Procedure

In order to load these local users, we will have to follow some steps.

  1. Let's turn on our desktop. And we will enter the User "Isard" with the password "pirineus".

  2. It is necessary to load those users' credentials in our server. To do this, we must follow the next steps:

    2.1 Open the "Control Panel" and click where "User accounts".

    2.2 Within this section we must click where it says "Manage another account" and we will add a new local account.

    2.3 We will fill in the fields and we will save our credentials for later.

    You can put something easy to remember in the "Password Hint" field in case you forget the password. And we hit "Finish".

    2.4 We will now have created a local account and we will be able to log in to check that it has been done correctly.

  3. This step can be repeated with as many local users as we need. Always bearing in mind that only 2 users can be used simultaneously.

    We will do the demonstration with 3 different ones. (isard½/3)

  4. Before being able to connect, we will have to give permissions to these accounts. So, we'll go to Settings > Remote Desktop > user accounts > add.

    And using the "CTRL" key and clicking on the three local accounts we can select these. Once marked in blue, we will hit accept.

    We check that we have all 3 accounts and click on "accept".

    Accept.

  5. To log in with different users at the same time using the same RDP file, it will be necessary to modify this file.

    As follows:

    1st. We will have to make sure we have RDP activated, we can check it by entering the desktop settings and checking that the RDP function is active. And we will start it by RDP.

    When downloading the file, we will get a file with .rdp extension. This file must be opened with a text editor, such as Notepad or any other plain text editor available on your computer.

    Then, once opened, we will edit these two parameters with the username and password of the local accounts that we have created, in which case we will have to edit this file 3 times.

    Every time we edit, we will have to download the file again, otherwise we would be rewriting the same one. Therefore, we should have 3 modified ".rdp" files at the end.

Please note

The credentials to access the viewers, by default, are isard/pirineus. If you want to use other credentials, you will need to modify the virtual desktop. This happens because desktops have Autologon settings enabled with default credentials so they can log in directly without asking for credentials.

Since you're downloading the same file multiple times with the same default name, we recommend renaming each file to something that clearly indicates which user it belongs to. This will help you stay organized and avoid confusion.

  1. Once the changes in the corresponding files have been made, it will be possible to log in simultaneously with two users. If you want to connect a third user, it must do so through SPICE or RDP, being sure that one of the two previous users has previously disconnected. Otherwise, it will not be possible to establish a new session.

    There should always be a maximum of 2 users connected at the same time.