Windows 2022 guest best practices - Proxmox VE (https://pve.proxmox.com/mediawiki/opensearch_desc.php) (Proxmox VE (en)) (https://pve.proxmox.com/mediawiki/api.php?action=rsd) (Proxmox VE Atom feed) (https://pve.proxmox.com/mediawiki/index.php?title=Special:RecentChanges&feed=atom) (https://pve.proxmox.com/wiki/Windows_2022_guest_best_practices) Windows 2022 guest best practices From Proxmox VE Jump to navigation Jump to search Contents 1 Introduction 2 Install 2.1 Prepare 2.2 Launch Windows install 3 Install Guest Agent and Services 3.1 Guest Agent 3.2 Drivers and Services 3.3 Check for missing drivers 3.4 Installing WSL(g) 4 Further information 4.1 Disk-Image Format: raw vs qcow2 4.2 VirtIO drivers 5 See also Introduction This is a set of best practices to follow when installing a Windows Server 2022 guest on a Proxmox VE server 8.x. Install Prepare To obtain a good level of performance, we will install the (https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers) (Windows VirtIO Drivers) Windows VirtIO Drivers during the Windows installation. Create a new VM, select "Microsoft Windows 11/2022/2025" as Guest OS and enable the "Qemu Agent" in the System tab. Continue and mount your Windows Server 2022 ISO in the CDROM drive For your virtual hard disk select "SCSI" as bus with "VirtIO SCSI" as controller. Set "Write back" as cache option for best performance (the "No cache" default (https://pve.proxmox.com/wiki/Performance_Tweaks#Disk_Cache) (Performance Tweaks) is safer, but slower ) and tick "Discard" to optimally use disk space (TRIM). Configure your memory settings as needed, continue and set "VirtIO (paravirtualized)" as network device, finish your VM creation. For the VirtIO drivers, upload the driver ISO (use the stable VirtIO ISO, (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso) download it from here ) to your storage, create a new CDROM drive (use "Add -> CD/DVD drive" in the hardware tab) with Bus "IDE" and number 0 . Load the Virtio Drivers ISO in the new virtual CDROM drive. Now your ready to start the VM, just follow the Windows installer. Note for Older Version of Windows like Windows-2012 (use the stable older version of VirtIO ISO - virtio-win-0.1.189.iso, (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.189-1/virtio-win-0.1.189.iso) download it from here ) Launch Windows install After starting your VM launch the noVNC console Follow the installer steps until you reach the installation type selection where you need to select "Custom (advanced)" Now click "Load driver" to install the VirtIO drivers for hard disk and the network. Hard disk: Browse to the CD drive where you mounted the VirtIO driver and select folder "vioscsi\2k22\amd64" and confirm. Select the "Red Hat VirtIO SCSI pass-through controller" and click next to install it. Now you should see your drive. Network: Repeat the steps from above (click again "Load driver", etc.) and select the folder "NetKVM\2k22\amd64", confirm it and select "Redhat VirtIO Ethernet Adapter" and click next. Memory Ballooning: Again, repeat the steps but this time select the "Balloon\2k22\amd64" folder, then the "VirtIO Balloon Driver" and install it by clicking next. With these three drivers you should be good covered to run a fast virtualized Windows Server 2022 system. Choose the drive and continue the Windows installer steps. HINT: There is a (https://www.proxmox.com/en/services/training-courses/videos/proxmox-virtual-environment/install-windows-2016-server-on-proxmox-ve) video showing the process for a Windows Server 2016 installation which is the same as for Windows Server 2022. Install Guest Agent and Services Guest Agent If you enabled the Qemu Agent option for the VM the mouse pointer will probably be off after the first boot. To remedy this install the "Qemu Guest Agent". The installer is located on the driver CD under guest-agent\qemu-ga-x86_64.msi. Drivers and Services (https://pve.proxmox.com/wiki/File:Win10_virtio_guest_tool_installer.png) (https://pve.proxmox.com/wiki/File:Win10_virtio_guest_tool_installer.png) (Enlarge) VirtIO guest tools installer The easiest way to install missing drivers and services is to use the provided MSI installer. It is available on the driver CD since version "(https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/) virtio-win-0.1.173-2 ". Run the "virtio-win-gt-x64.msi" file located directly on the CD. If you do not plan to use (https://pve.proxmox.com/wiki/SPICE) (SPICE) SPICE you can deselect the "Qxl" and "Spice" features. Restart the VM after the installer is done. After all this the RAM usage and IP configuration should be shown correctly in the summary page of the VM. For more information and configuration about ballooning, see (https://pve.proxmox.com/wiki/Dynamic_Memory_Management) (Dynamic Memory Management) Dynamic Memory Management Check for missing drivers See also: (https://pve.proxmox.com/wiki/Paravirtualized_Block_Drivers_for_Windows) (Paravirtualized Block Drivers for Windows) Paravirtualized Block Drivers for Windows (https://pve.proxmox.com/wiki/File:Win10_unknown_dev.png) (https://pve.proxmox.com/wiki/File:Win10_unknown_dev.png) (Enlarge) Unknown device in device manager (https://pve.proxmox.com/wiki/File:Win10_update_driver_cd_selection.png) (https://pve.proxmox.com/wiki/File:Win10_update_driver_cd_selection.png) (Enlarge) Make sure to include subfolders Go to the Device Manager to see if there are any drivers missing. For any unknown device: Right click an select "Update driver". Select "Browse my computer for driver software". Select the Driver CD. Make sure that "Include subfolders" is checked. Once a driver has been found you might be prompted with a security warning asking if you "Would like to install this device software". Click "Install". Installing WSL(g) To run WSL (Windows Subsystem for Linux) you need to enable (https://pve.proxmox.com/wiki/Nested_Virtualization) (Nested Virtualization) Nested Virtualization . Make sure to set your processor to 'host'; if you already set up your VM and did not select 'host' as processor, you can change it in the 'Hardware' section of your VM in the web interface. Follow the (https://learn.microsoft.com/en-us/windows/wsl/install) official instructions . If you are using a GPU via PCI(e) passthrough, you might need to add args: -cpu host,kvm=off to your config file at /etc/pve/qemu-server/.conf , see (http://vfio.blogspot.com/2014/08/vfiovga-faq.html) the vfio blog Further information Disk-Image Format: raw vs qcow2 Raw file format provides slightly better performance while qcow2 offers advanced features such as copy on write and (https://pve.proxmox.com/wiki/Live_Snapshots) (Live Snapshots) Live_Snapshots . Since V2.3, qcow2 is the default format. VirtIO drivers Make it really easy: Build your ISO with drivers already included: (https://pve.proxmox.com/wiki/Windows_guests_-_build_ISOs_including_VirtIO_drivers) (Windows guests - build ISOs including VirtIO drivers) Windows guests - build ISOs including VirtIO drivers Latest iso with VirtIO driversĀ : (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/) https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/ See also (https://pve.proxmox.com/wiki/Windows_2019_guest_best_practices) (Windows 2019 guest best practices) Windows 2019 guest best practices (https://pve.proxmox.com/wiki/Windows_2016_guest_best_practices) (Windows 2016 guest best practices) Windows 2016 guest best practices (https://pve.proxmox.com/wiki/Windows_11_guest_best_practices) (Windows 11 guest best practices) Windows 11 guest best practices (https://pve.proxmox.com/wiki/Windows_10_guest_best_practices) (Windows 10 guest best practices) Windows 10 guest best practices Retrieved from "" (https://pve.proxmox.com/wiki/Special:Categories) (Special:Categories) Category : (https://pve.proxmox.com/wiki/Category:HOWTO) (Category:HOWTO) HOWTO Cookies help us deliver our services. By using our services, you agree to our use of cookies. (https://www.proxmox.com/en/privacy-policy) More information (OK) OK Navigation menu (https://pve.proxmox.com/mediawiki/index.php?title=Special:UserLogin&returnto=Windows+2022+guest+best+practices) (You are encouraged to log in; however, it is not mandatory [alt-shift-o]) Log in (https://pve.proxmox.com/wiki/Windows_2022_guest_best_practices) (View the content page [alt-shift-c]) Page (https://pve.proxmox.com/mediawiki/index.php?title=Talk:Windows_2022_guest_best_practices&action=edit&redlink=1) (Discussion about the content page (page does not exist) [alt-shift-t]) Discussion (https://pve.proxmox.com/wiki/Windows_2022_guest_best_practices) Read (https://pve.proxmox.com/mediawiki/index.php?title=Windows_2022_guest_best_practices&action=edit) (This page is protected. You can view its source [alt-shift-e]) View source (https://pve.proxmox.com/mediawiki/index.php?title=Windows_2022_guest_best_practices&action=history) (Past revisions of this page [alt-shift-h]) View history (More options) Search (Search Proxmox VE) (Search Proxmox VE [alt-shift-f]) (Search the pages for this text) (Search) (Go to a page with this exact name if it exists) (Go) (https://pve.proxmox.com/wiki/Main_Page) (Visit the main page) (https://pve.proxmox.com/wiki/Main_Page) Proxmox VE (https://pve.proxmox.com/pve-docs/) Documentation (current) (https://pve.proxmox.com/pve-docs-7/) Documentation (7.x) (https://pve.proxmox.com/wiki/Downloads) Downloads (https://pve.proxmox.com/wiki/Installation) Installation (https://pve.proxmox.com/wiki/Get_support) Get support Sites (https://www.proxmox.com/) proxmox.com (https://forum.proxmox.com/) Support forum (https://bugzilla.proxmox.com/) Bugtracker (https://git.proxmox.com/) Source code (https://pve.proxmox.com/wiki/FAQ) FAQ Tools (https://pve.proxmox.com/wiki/Special:WhatLinksHere/Windows_2022_guest_best_practices) (A list of all wiki pages that link here [alt-shift-j]) What links here (https://pve.proxmox.com/wiki/Special:RecentChangesLinked/Windows_2022_guest_best_practices) (Recent changes in pages linked from this page [alt-shift-k]) Related changes (https://pve.proxmox.com/wiki/Special:SpecialPages) (A list of all special pages [alt-shift-q]) Special pages (Printable version of this page [alt-shift-p]) Printable version (https://pve.proxmox.com/mediawiki/index.php?title=Windows_2022_guest_best_practices&oldid=12105) (Permanent link to this revision of this page) Permanent link (https://pve.proxmox.com/mediawiki/index.php?title=Windows_2022_guest_best_practices&action=info) (More information about this page) Page information (https://pve.proxmox.com/mediawiki/index.php?title=Special:CiteThisPage&page=Windows_2022_guest_best_practices&id=12105&wpFormIdentifier=titleform) (Information on how to cite this page) Cite this page This page was last edited on 16 December 2024, at 09:28. (https://pve.proxmox.com/wiki/Proxmox_VE:Privacy_policy) Privacy policy (https://pve.proxmox.com/wiki/Proxmox_VE:About) About Proxmox VE (https://pve.proxmox.com/wiki/Proxmox_VE:General_disclaimer) Disclaimers (https://www.mediawiki.org/) (Powered by MediaWiki) ()