Installing Windows 2022 Server in a Lab Environment

Download a free and legal copy of Windows Server 2022 (evaluation version) from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2022

Image of

Configure the VMware virtual machine, mount the .iso install image, start the VM, and log into the console (outside the scope of this document):

Image of

Select the language:

Image of

Select “Install Now”:

Image of

The Windows 2002 Server Standard Desktop Edition is selected to simplify management in a home lab environment:

Image of

Accept the license:

Image of

Perform a custom install in order to select the appropriate storage settings:

Image of

Select the appropriate disk for installation:

Image of

It takes about 5-10 minutes for the OS to install:

Image of

Still setting up:

Image of

Set the administrator password:

Image of

To access the console in VMware, send ctrl-alt-del from the Settings -> Guest OS -> Send Keys menu:

Image of

First thing, check for system updates in Settings -> Updates & Security -> Windows Update:

Image of

I prefer to manage lab devices from Remote Desktop. From Settings -> System -> Remote Desktop, enable remote desktop:

Image of

Allow Remote Desktop:

Image of

Give the server a meaningful name. From Settings -> System -> About, Rename this PC:

Image of

Restart required after name change:

Image of

Even in a lab environment, it is important to have accurate timestamps for troubleshooting and testing. Set the timezone in Settings -> Time & Language -> Date & Time:

Image of

Try to remote desktop:

Image of

Full desktop:

Image of

Even though this is a lab environment, it’s best practice to to use a non-privileged account for day-to-day administration. Using powershell, create a regular user account:

$Password = Read-Host -AsSecureString
New-LocalUser -Name "jemurray" -Password $Password -FullName "Jason Murray"
Add-LocalGroupMember -Group "Remote Desktop Users" -Member jemurray

Example output:

PS C:\Users\Administrator> $Password = Read-Host -AsSecureString
*********
PS C:\Users\Administrator> New-LocalUser -Name "jemurray" -Password $Password -FullName "Jason Murray"

Name     Enabled Description
----     ------- -----------
jemurray True

PS C:\Users\Administrator> Add-LocalGroupMember -Group "Remote Desktop Users" -Member jemurray