Skip to content

Windows 11 v24H2 Installation Guide

Before installing Windows 11, you need to:

  1. Go to the Microsoft website, download the 64-bit Windows 11 ISO image in the desired language, and upload it to Media.
  2. Download the latest stable version of the virtio drivers.

Preinstallation

  1. In Media, click Create new desktop on the Windows 11 ISO and fill in the form with this configuration; then click Create desktop (see Media):

    Recommended

    • Viewers: SPICE/VNC
    • vCPUs: 4
    • Memory (GB): 8
    • Videos: Default
    • Boot: CD/DVD
    • Disk bus: Default
    • Disk Size (GB): 160
    • Networks: Intel PRO/1000 isolated
    • Operating system template: Microsoft Windows 11 (if it is not available, Microsoft windows 10 with Virtio devices)
  2. Edit the desktop and, in the Media section, add these media:

    • Win11_24H2_Spanish_x64 (installer)
    • virtio-win-X (drivers)
    • Optimization Tools (optimization software for Windows operating systems)

Important

If you want network access during the installation, choose the Intel PRO/1000 isolated network. The RDP viewers are only added at the end, because they need the Wireguard VPN network and an already configured Windows.

XML Editing

The desktop XML must be edited; otherwise the installation does not proceed. Only the administrator role can edit the XML (see Roles).

Element os

In the os element of the XML, change the machine type (pc-i440fx-*) to q35 and add the following elements:

<os>
    <boot dev="hd"/>
    <type arch="x86_64" machine="q35">hvm</type>
    <loader readonly="yes" secure="no" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
</os>

Hyper-V

Add the following to the hyperv element, as Windows 11 recommends it for better performance:

<hyperv>
    <relaxed state="on"/>
    <vapic state="on"/>
    <spinlocks state="on" retries="8191"/>
    <synic state="on"/>
    <stimer state="on"/>
    <vpindex state="on"/>
    <tlbflush state="on"/>
    <ipi state="on"/>
</hyperv>

TPM

This is a Windows 11 requirement and must be added:

<tpm model="tpm-tis">
    <backend type="emulator" version="2.0"/>
</tpm>

Audio

For audio to work via SPICE, add:

<sound model="ich9">
    <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
</sound>
<audio id="1" type="spice"/>

Element channel

<channel type="spicevmc">
    <target type="virtio" name="com.redhat.spice.0"/>
    <address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>

Element devices: PCIe and USB

<devices>
    <controller type="usb" index="0" model="qemu-xhci" ports="15">
        <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
    </controller>
    <controller type="pci" index="0" model="pcie-root"/>
    <controller type="pci" index="1" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="1" port="0x10"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
    </controller>
    <controller type="pci" index="2" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="2" port="0x11"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
    </controller>
    <controller type="pci" index="3" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="3" port="0x12"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
    </controller>
    <controller type="pci" index="4" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="4" port="0x13"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
    </controller>
    <controller type="pci" index="5" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="5" port="0x14"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
    </controller>
    <controller type="pci" index="6" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="6" port="0x15"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
    </controller>
    <controller type="pci" index="7" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="7" port="0x16"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
    </controller>
    <controller type="pci" index="8" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="8" port="0x17"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
    </controller>
    <controller type="pci" index="9" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="9" port="0x18"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
    </controller>
    <controller type="pci" index="10" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="10" port="0x19"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
    </controller>
    <controller type="pci" index="11" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="11" port="0x1a"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
    </controller>
    <controller type="pci" index="12" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="12" port="0x1b"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
    </controller>
    <controller type="pci" index="13" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="13" port="0x1c"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
    </controller>
    <controller type="pci" index="14" model="pcie-root-port">
      <model name="pcie-root-port"/>
      <target chassis="14" port="0x1d"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
    </controller>
    <controller type="sata" index="0">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
    </controller>
    <controller type="virtio-serial" index="0">
      <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
    </controller>
    <serial type="pty">
      <target type="isa-serial" port="0">
        <model name="isa-serial"/>
      </target>
    </serial>
</devices>

Element devices: mouse and tablet

These parameters are important to enable RDP viewer connections from a mobile device.

<devices>
    <input type='mouse' bus='usb'/>
    <input type="tablet" bus="usb"/>
</devices>

Element memballoon

<memballoon model="virtio">
    <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
</memballoon>

Element console

 <console type="pty">
    <target type="serial" port="0"/>
</console>
XML example for Windows 11

"#" represent ids, each id is different

    <domain type="kvm">
    <name>#########</name>
    <uuid>#########</uuid>
    <metadata>
        <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
        <libosinfo:os id="http://microsoft.com/win/10"/>
        </libosinfo:libosinfo>
    </metadata>
    <memory unit="KiB">123456</memory>
    <currentMemory unit="KiB">123456</currentMemory>
    <vcpu placement="static">4</vcpu>
    <os>
        <boot dev="hd"/>
        <type arch="x86_64" machine="q35">hvm</type>
        <loader readonly="yes" secure="no" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
    </os>
    <features>
        <acpi/>
        <apic/>
        <hyperv>
        <relaxed state="on"/>
        <vapic state="on"/>
        <spinlocks state="on" retries="8191"/>
        <synic state="on"/>
        <stimer state="on"/>
        <vpindex state="on"/>
        <tlbflush state="on"/>
        <ipi state="on"/>
        </hyperv>
        <vmport state="off"/>
    </features>
    <cpu mode="host-model">
        <topology sockets="1" dies="1" cores="4" threads="1"/>
    </cpu>
    <clock offset="localtime">
        <timer name="rtc" tickpolicy="catchup"/>
        <timer name="pit" tickpolicy="delay"/>
        <timer name="hpet" present="no"/>
        <timer name="hypervclock" present="yes"/>
    </clock>
    <pm>
        <suspend-to-mem enabled="no"/>
        <suspend-to-disk enabled="no"/>
    </pm>
    <devices>
        <emulator>/usr/bin/qemu-kvm</emulator>
        <disk type="file" device="disk">
        <driver name="qemu" type="qcow2"/>
        <source file="/isard/groups/##############.qcow2"/>
        <target dev="vda" bus="virtio"/>
        </disk>
        <disk type="file" device="cdrom">
        <driver name="qemu" type="raw"/>
        <source file="/isard/media/###########.iso"/>
        <target dev="sda" bus="sata"/>
        <readonly/>
        </disk>
        <controller type="usb" index="0" model="qemu-xhci" ports="15">
        <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
        </controller>
        <controller type="pci" index="0" model="pcie-root"/>
        <controller type="pci" index="1" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="1" port="0x10"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
        </controller>
        <controller type="pci" index="2" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="2" port="0x11"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
        </controller>
        <controller type="pci" index="3" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="3" port="0x12"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
        </controller>
        <controller type="pci" index="4" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="4" port="0x13"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
        </controller>
        <controller type="pci" index="5" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="5" port="0x14"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
        </controller>
        <controller type="pci" index="6" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="6" port="0x15"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
        </controller>
        <controller type="pci" index="7" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="7" port="0x16"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
        </controller>
        <controller type="pci" index="8" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="8" port="0x17"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
        </controller>
        <controller type="pci" index="9" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="9" port="0x18"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
        </controller>
        <controller type="pci" index="10" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="10" port="0x19"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
        </controller>
        <controller type="pci" index="11" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="11" port="0x1a"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
        </controller>
        <controller type="pci" index="12" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="12" port="0x1b"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
        </controller>
        <controller type="pci" index="13" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="13" port="0x1c"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
        </controller>
        <controller type="pci" index="14" model="pcie-root-port">
        <model name="pcie-root-port"/>
        <target chassis="14" port="0x1d"/>
        <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
        </controller>
        <controller type="sata" index="0">
        <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
        </controller>
        <controller type="virtio-serial" index="0">
        <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
        </controller>
        <serial type="pty">
        <target type="isa-serial" port="0">
            <model name="isa-serial"/>
        </target>
        </serial>
        <console type="pty">
        <target type="serial" port="0"/>
        </console>
        <channel type="spicevmc">
        <target type="virtio" name="com.redhat.spice.0"/>
        <address type="virtio-serial" controller="0" bus="0" port="1"/>
        </channel>
        <interface type="network">
        <source network="default"/>
        <mac address="52:54:00:43:ba:0b"/>
        <model type="virtio"/>
        <bandwidth/>
        </interface>
        <interface type="bridge">
        <source bridge="ovsbr0"/>
        <mac address="52:54:00:0f:0f:a5"/>
        <virtualport type="openvswitch"/>
        <vlan>
            <tag id="4095"/>
        </vlan>
        <model type="virtio"/>
        <bandwidth/>
        </interface>
        <input type='mouse' bus='usb'/>
        <input type="tablet" bus="usb"/>
        <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
        <listen type="address" address="0.0.0.0"/>
        <image compression="auto_glz"/>
        <jpeg compression="always"/>
        <zlib compression="always"/>
        <playback compression="off"/>
        <streaming mode="all"/>
        </graphics>
        <sound model="ich9">
        <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
        </sound>
        <audio id="1" type="spice"/>
        <video>
        <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
        <alias name="video0"/>
        </video>
        <tpm model="tpm-tis">
        <backend type="emulator" version="2.0"/>
        </tpm>
        <redirdev bus="usb" type="spicevmc"/>
        <redirdev bus="usb" type="spicevmc"/>
        <memballoon model="virtio">
        <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
        </memballoon>
    </devices>
    </domain>

Installation

Windows 11

Open the desktop with SPICE or with VNC in the browser:

Viewers

  • With SPICE, when this screen appears, go to "Send key" and press Ctrl+Alt+Del.
  • With VNC Browser, click the "Send Ctrl+Alt+Del" button at the top right.

When you click the button, this message will appear:

At this point, press any key inside the console, for example Enter, to force the Windows 11 installer to start.

The UEFI boot and the loading of the Windows installer appear:

  1. Installation type

  2. Load operating system drivers

System

  1. Stop the desktop and edit it to change Boot to Hard Disk.

Intel PRO/1000 isolated

For the installation to work correctly, it is important that the networks are configured only with the Intel PRO/1000 isolated interface.

  1. Start the desktop again. The system may take a few minutes to boot.

  2. Choose the following options. The screen may not resize correctly at this point and you may need to move the content up or down.

  3. Stop the desktop, remove the Windows 11 installation image and leave these media:

    • virtio-win-x (drivers)
    • Optimization Tools (optimization software for Windows operating systems)

Configuration

Catalan Language (Optional)

Before running the Optimization Tools, you can change the language to Catalan with the following steps. If not needed, this section can be skipped.

  1. In Configuración → Hora e idioma → Idioma, add Catalan as the Idioma preferido (sign out if the system asks for it).

  2. Apply the change to the whole system (restart the computer if the system asks for it).

Update and Install

  1. Install the two virtio drivers from the desktop media (virtio-win-x).

  2. Check for system updates and install them to be up to date with the latest version.

  3. Install the following software and keep their installers in a new folder called admin, at the path C:\admin.

    Software

    • Firefox
    • Google Chrome
    • LibreOffice
    • GIMP
    • Inkscape
    • LibreCAD
    • Geany
    • Adobe Acrobat Reader

Admin User and Permission Changes

In a PowerShell with administrator permissions:

  1. Create an admin user in the Administrators group.

    $Password = Read-Host -AsSecureString
    New-LocalUser "admin" -Password $Password -FullName "admin"
    Add-LocalGroupMember -Group "Administrators" -Member "admin"
    

  2. Create a user user in the Users group.

    New-LocalUser "user" -Password $Password -FullName "user"
    Add-LocalGroupMember -Group "Users" -Member "user"
    

  3. Change the permissions of the C:\admin folder: right-click the folder and choose "Properties". Disable inheritance on the folder and remove all users who are not Administrators.

Uninstall Applications and Modify Microsoft Settings

  1. In a PowerShell with administrator permissions, uninstall the following packages and software:

    Important Information

    Uninstalling this software makes Windows run faster and frees up space. Note that the Microsoft Store will also be removed. If you do not want to remove it, omit the command:

    Get-AppxPackage -Name Microsoft.WindowsStore | Remove-AppxPackage -ErrorAction SilentlyContinue
    

    Commands to uninstall software in PowerShell

    Get-AppxPackage -Name Microsoft.Xbox* | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Bing* | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.3DBuilder | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Advertising.Xaml | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.AsyncTextService | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.BingWeather | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.BioEnrollment | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.DesktopAppInstaller | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.GetHelp | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Getstarted | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Microsoft3DViewer | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.MicrosoftEdge | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.MicrosoftEdgeDevToolsClient | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.MicrosoftStickyNotes | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.MixedReality.Portal | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Office.OneNote | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.People | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.ScreenSketch | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Services.Store.Engagement | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Services.Store.Engagement | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.SkypeApp | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.StorePurchaseApp | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.Wallet | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.WindowsAlarms | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.WindowsCamera | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.WindowsFeedbackHub | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.WindowsMaps | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.WindowsSoundRecorder | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.WindowsStore | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.XboxGameCallableUI | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.YourPhone | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.ZuneMusic | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Microsoft.ZuneVideo | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name SpotifyAB.SpotifyMusic | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name Windows.CBSPreview | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name microsoft.windowscommunicationsapps | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage -Name windows.immersivecontrolpanel | Remove-AppxPackage -ErrorAction SilentlyContinue
    

  2. Open msconfig with the Win+R keys or from a CMD and disable the following services (restart the computer if the system asks for it):

    Services

    • Xbox Live Auth Manager
    • Security Center
    • Windows Defender Firewall
    • Mozilla Maintenance Service
    • Microsoft Defender Antivirus Service
    • Windows Update Medic Service
    • Windows Update
    • Adobe Acrobat Update Service
    • Google Update Service (gupdate)
    • Google Update Service (gupdatem)
    • Google Chrome Elevation Service

  3. In the Task Manager, under Startup apps, disable the following items:

    Software

    • Cortana
    • Teams
    • Microsoft OneDrive
    • Windows Security notifications

  4. Disable Windows notifications in Settings → System → Notifications & actions.

  5. Enable Remote Desktop connections: turn on the first checkbox and turn off the second one in Advanced settings.

  6. For better mouse pointer visibility, it is recommended to select the inverted mode:

  7. Disable these taskbar items:

  8. For improved Windows 11 graphics:

    1. Turn ClearType back on

      Press Win+R, type cttune.exe and press Enter.

      Check that the Turn on ClearType checkbox is selected.

      Follow the wizard steps to configure text smoothing.

      Click Finish.

    2. Check the system performance options

      Press Win+R, type SystemPropertiesPerformance and press Enter.

      In the "Visual Effects" tab, select "Adjust for best appearance":

      Click Apply and then OK.

  9. Shut down the computer and edit the desktop with this configuration; then click Save changes:

    Recommended

    • Viewers: RDP and RDP Browser
    • Credentials (used by the RDP viewers; they must match the Windows user):
      • User: isard
      • Password: the one set in the template
    • vCPUs: 4
    • Memory (GB): 8
    • Videos: Default
    • Boot: Hard Disk
    • Disk bus: Default
    • Networks: Default and Wireguard VPN

Autologon

  1. To enable automatic logon, install Autologon.

    Info

    If the autologon ISO image has already been added to the desktop media section, there is no need to download it.

  2. Extract the downloaded file and run Autologon64. Enter the password set in Credentials.

Optimization tools

  1. Click the Analyze button and then Common options. Configure the options as shown in the following images.

    Important

    • Windows Updates: If the "Deshabilitar Windows Update" checkbox is ticked, updates cannot be installed. To allow them again, go to the "Update" section, untick the following checkboxes and select "Habilitar Windows Update".
    • Microsoft Store: if the Microsoft Store was not removed in step 1 of the «Uninstall Applications and Modify Microsoft Settings» section, untick the "Aplicaciones de Store" checkbox.
    • Language: if a language other than the installation one is used, to avoid deleting the downloaded language packs, filter by the word idioma and disable the following 3 options.

  2. Export the resulting file to the C:\admin folder.

Windows Defender

Maximum CPU Usage

By default, the Microsoft Defender antivirus uses a maximum of 50% of the CPU. This can be checked with the following PowerShell command:

Get-MpPreference | select ScanAvgCPULoadFactor
Windows 10 Windows 11

Specifying Maximum CPU Usage in PowerShell

Using the Set-MpPreference -ScanAvgCPULoadFactor 25 command (Microsoft Documentation) in administrator mode, you can limit the usage to 25% of the CPU. By changing the number, you can specify the maximum percentage with a value from 5 to 100, and 0 to disable it.

Results

CPU Usage in a Quick Scan

When performing a system scan, with one machine configured to 100% (left) and another to 5% (right), the results are the same and the quick scan uses 25% of the processor.

Exclusions

The following low-risk file types and directories are added to the exclusion list:

Note

Windows does not allow adding the swap files to the exclusions