skip to content
Maathuran's Blog
Installing Server Core 2022

Installing Server Core 2022

/ 2 min read

Last Updated:

Presetup

Follow the same instructions as Installing Windows Server 2022 21H2 on Proxmox to get Windows Server ISO and Virtio Drivers.

On PV03, create a new VM with the following options.

GeneralSetting
NameADC01
OSSetting
StorageLocal
ISO Imageen-us_windows_server_2022
TypeMicrosoft Windows
Version11/2022
SystemSetting
EFI Storagelocal-lvm
TPM Storagelocal-lvm
Version2.0
DiskSetting
Bus/DeviceSCSI
Storagelocal-lvm
Disk Size32
CacheWrite back
DiscardTrue
CPUSetting
Sockets1
Cores1
Typehost
MemorySetting
Memory4096
NetworkSetting
ModelVirtIO (paravirtualized)

Installing

Under the new VM, go to Hardware -> Add -> CD/DVD PX10

For the Bus/Device, choose IDE, and for ISO Image, select virtio-win.iso, then click on Add. PX10

Click on Console, then Start Now. PX11

After the ISO loads, click on Windows Setup [EMS Enabled]. PX

Keep the Language, Time, and Keyboard the same and click on Next. PX

Press Install now PX

You can skip the Product Key. PX

You can choose Standard. PX

Agree to the terms and click on Next. PX

Choose Custom as there is no OS installed PX

Once you load, windows won’t be able to find the virtual drive as VirtIO drivers are not installed by default; click on Load Driver. PX

Click on Browse PX

Select the virtual CD drive virt-win-x.x.xxxx PX

Browse to amd64 then the 2k22 folder and click on OK. PX

After some time, the correct driver will load. Select it and click on Next. PX

On this page, select the new Drive 0 and click on Next. PX

Wait until Windows copies the file; it will reboot several times to finish the installation. PX

After the VM comes back, only you will be asked to update the admin password PX

You will need to use the tab and enter keys to confirm PX PX

After the ‘Desktop’ loads, we will need to install the driver for VirtIO and install the guest agent; type in 15 to exit to powershell PX

Run the following to install VirtIO Drivers

# Install Base Drivers for Network, Ballon and Serial
pnputil -i -a D:\NetKVM\2k22\amd64\*.inf
pnputil -i -a D:\Balloon\2k22\amd64\*.inf
pnputil -i -a D:\vioserial\2k22\amd64\*.inf
PX
# Install Guest Agent
msiexec /i  D:\guest-agent\qemu-ga-x86_64.msi

# Install Baloon Exe
D:\Balloon\2k22\amd64\blnsvr.exe -i
PX

Setting Static IP

Disabling IPv6

run the following to get all the adapters with IPv6

Get-NetAdapterBinding -ComponentID ms_tcpip6
PX

To turn off IPv6 on that network, run the following

Disable-NetAdapterBinding -Name "Ethernet" -ComponentID ms_tcpip6

Setting IP, Subnet and Default Gateway

New-NetIPAddress –IPAddress 10.0.220.10 -DefaultGateway 10.0.0.1 -PrefixLength 16 -InterfaceIndex (Get-NetAdapter).InterfaceIndex
PX

Setting DNS

Set-DNSClientServerAdress –InterfaceIndex (Get-NetAdapter).InterfaceIndex –ServerAddresses 1.1.1.1,1.0.0.1
PX