ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Creating a Windows 2022 Server VM on Proxmox 7

    IT Discussion
    windows server server 2022 proxmox 7 proxmox
    1
    1
    958
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      Creating a VM is an easy enough task that can be left to defaults a lot of the time. But if you want the best performance/options under Proxmox, you will have to go through a few minor hoops as Windows Server 2022 (or prior) does not have the drivers needed for everything built in.

      • Click on Create VM to get the dialog box. First click on Advanced if it is not already checked.
        61d2eb12-74d6-4b3b-8344-466a09e7d095-image.png

      • Give the VM a name (2), ID (1), Start on boot (3), and order/delay (4) as desired. Then hit Next.

        • Everything below the line is hidden if you have not checked Advanced.
          1a7faaf6-d754-4397-9ef7-59035119be17-image.png
      • Choose your ISO and Guest OS Type, then hit next.
        3396d1a1-3d71-4fda-b832-b8992b04ee10-image.png

      • Since you specified a modern version of Windows, Proxmox automatically uses UEFI and you will need to specify EFI and TPM storage locations.

        • I always keep them on the same disk that will house the boot storage.
          95401764-637a-492d-a37f-56b81dea16b8-image.png
      • By default, it will use VirtIO for storage, you want this, but will have to add a driver during the Windows install itself. Also enable the Qemu Agent, again the guest agent will have to be installed after Windows setup completes.
        159de397-558f-46af-b212-6e43b4da721b-image.png

      • Change the default IDE disk to SCSI (1), set the storage location (2), and your desired disk size (3).
        d1726fd5-4a38-428d-b433-1981c6b5ab96-image.png

      • Assign the number of cores you need.
        7e22d1f2-e3d1-4846-ad2c-2ec00885cd63-image.png

      • Set your max memory (1), minimum memory (2), and ensure Balooning device (3) remains checked.
        475c5d4f-8166-47dc-8771-1b28b5a57f80-image.png

      • Change the network adapter model to VirtIO (1). You will not have a working network on boot up. The VirtIO drivers will need installed first.
        4330d73d-9ebf-48cc-8658-fd1ab4eccdef-image.png

      • Review and hit finish. Do not check Start after created.
        cdf70445-8bf7-4b27-a39d-f1b551edf2ee-image.png

      • Select the VM and click on Hardware (1) and then Add (2)
        169a784d-1318-4ebb-8e2d-4dcdadf3316a-image.png

      • Choose CD/DVD
        ef989b4e-35bf-4ae8-9936-394cfac8c475-image.png

      • Add the virtio-win ISO, you will need this mounted to add the storage driver during install.

        • Current stable ISO can be found here
          34b7ac3f-972c-4251-8efa-27a50c4374a1-image.png
      • You can verify your boot order if you want, but it should still be correct.
        77d58e8f-5a02-49b4-b7c2-dc04e0882c35-image.png

      • Open the Console
        9d9975e4-acea-4a37-8142-9c3d020d6757-image.png

      • Click Start Now
        6d886208-c861-46f9-a991-448d7c5a183d-image.png

      • Click in the window and press a key, because Microsoft still thinks all of us are fucking stupid.
        c4722198-166d-4cb7-89c7-dca86b349115-image.png

      • Set your options and hit Next.
        49457952-f3d3-45e7-9fc4-8fe7f6dc3905-image.png

      • Hit install now.
        451c5043-2c41-428f-b03e-c3db03d21bf0-image.png

      • Choose your OS options and hit next.
        8dc9e587-bdaf-43ca-becb-4d5f4cae3b2c-image.png

      • Accept the license and hit next.
        c2ce2d63-a256-4575-8ec6-f001524e538b-image.png

      • Choose Custom since Microsoft thinks a new install is an advanced task.
        e7a211e8-d4d3-4d84-9477-b6722b8c5625-image.png

      • Finally, you can load the VirtIO driver (1)
        94434902-ddbc-4d31-9a2c-a6f98b61e863-image.png

      • Click Browse.
        ee6eb413-c957-4230-a2c4-c4f48603add1-image.png

      • Expand the virtio CD Drive
        0e809cea-fbe4-4b53-8eef-88c38b96a0db-image.png

      • Expand amd64 folder (1), click on 2k22 (2), and click OK (3)
        b1d5f1fc-6d96-4a90-a0a7-6168bfc14f93-image.png

      • Click on Next and it will rescan for the disk, no need to click on rescan yourself.
        3c18de1e-af85-46bd-b7d9-f148eb74fb4f-image.png

      • Now the disk is available, click next
        a1500400-36c4-4465-8a70-e8cbbc5c8c54-image.png

      • Windows will finish the install like normal and reboot.
        49104acc-6047-49e0-87ef-1f9562627b78-image.png

      • wait for it..... It will reboot again
        17732bae-41b3-48ba-8ba6-cbbc2aeabaf4-image.png

      • Create a password for the account you will delete anyway and click Finish. Because you don't leave Administrator do you?
        384f6f58-ccaf-4600-b701-a89115b4d2b4-image.png

      • This example uses the Desktop Experience, so login and wait for the desktop. Close Server Manager and the WAC pop up.
        5ed7dfca-aa08-4018-87cb-80d9bc5a55a0-image.png

      • Open Device Manager
        efe871fd-2df0-417f-a661-085d160df53b-image.png

      • You will see three things to fix.
        3236b489-8a10-4b5e-b05d-c93785bcbbed-image.png

      • Right click and choose update driver for the Ethernet Controller.
        4e7d4fe8-4740-4e59-b241-12758e2933bf-image.png

      • Choose Browse
        7f195d68-769e-44bd-a3ae-7d1eebb16e69-image.png

      • Browse again
        9e136a99-cf52-4279-9e95-175c5e73c737-image.png

      • Expand the virtio ISO disk (1), expand netkvm (2), and select 2k22 (2), then click OK.
        006522af-cfe4-4424-ab4a-a57405a10c09-image.png

      *Hit next and it will install the driver.
      7f32efda-7e62-4bd7-92ba-5e6d3f14df2e-image.png

      • Before you hit cose, you will want to hit yes on the Network discoverability screen for most use cases.
        a3cd2b0c-b0c3-4e7b-a4c8-d55c23ada201-image.png

      • Repeat the process for the remaining two items.

        • PCI Device is the Baloon folder
          4f95e4c6-c471-4b86-a624-7c8681a52e52-image.png
          0f18c101-68cc-4a1a-bb27-6392c5b7c48e-image.png
        • PCI Simple Communications Controller is the vioserial folder
          93468da4-2dd2-4193-9916-527ed78fd4b2-image.png
          70bc7965-c8b6-45a7-b95c-23d6a9ff9da4-image.png
      • Now you have all the drivers for the ssytem devices.
        9866c039-f13f-4341-a6ae-971426179dda-image.png

      • Finally, browse to the CD drive in Windows Explorer and install the guest agent
        9bebf0e4-4e0a-4df1-ae50-e4e8cde65c10-image.png

      • You will know the guest agent is properly installed is you see the IP addresses on the Proxmox Summary screen.
        3cf3f46c-57da-4c0c-b067-272881b4bad0-image.png

      • Shut down the VM
        2ab25930-1d3b-4167-8a7e-e6493eb2605e-image.png

      • Remove the extra CD drive
        0f45e200-045f-4ec6-adeb-d171fe7fd768-image.png

      • Unmount the Windows ISO.
        c9358d3d-59bc-417f-897f-853e62eaad39-image.png
        11ecb18b-63f7-4b40-929d-fb8fc80c6e2a-image.png

      • Start the VM back up and setup the server for the task you installed it for

      1 Reply Last reply Reply Quote 7
      • 1 / 1
      • First post
        Last post