Skip to content

Windows 10 Installation Guide

Preinstallation

  1. Download the 64-bit Windows 10 ISO image and upload it to Media (see Media).

  2. In Media, click Create new desktop on the ISO and fill in the form with this configuration; then click Create desktop:

    • Viewers: SPICE
    • vCPUs: 4
    • Memory (GB): 8
    • Videos: Default
    • Boot: CD/DVD
    • Disk bus: Default
    • Disk Size (GB): 100
    • Networks: Default
    • Operating system template: Microsoft windows 10 with Virtio devices UEFI (if it is not available, Microsoft windows 10 with Virtio devices)
  3. Edit the desktop and, in the Media section, add the following media:

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

Installation

Windows 10 Pro

  1. Press the Ctrl+Alt+Del key combination and press any key on the keyboard on the second screen.

  2. Select the installation type.

  3. Load the operating system drivers.

System

  1. Stop the desktop and edit it to change Boot from CD/DVD to Hard Disk.

  2. Start the desktop. The operating system will take a few seconds to boot.

  3. Select the following options in the agent steps:

  4. Stop the desktop and edit it to leave only the following media (if you want to skip this step, you must still stop the desktop and start it again, do not restart it):

    • virtio-win-X (drivers)
    • Optimization Tools (optimization software for Windows OS)

Configuration

Update and install

  1. Install the two virtio drivers from the desktop media. Both installations are quick and you only need to click Next.

  2. Check for system updates. This process takes quite a while to download and install to be up to date with the latest version of Windows. The system will probably need to restart several times while looking for new updates.

  3. Install the following programs and save the installers in the new admin folder, at the C:\admin path:

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

Admin user and permission changes

In a Powershell with administrator privileges:

  1. Create the admin user in the Administrators group.

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

  2. Create the user user in the Users group.

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

  3. Change the permissions of the C:\admin folder.

    Disable inheritance for the folder and check the first option.

    Remove the other users with permissions to leave only Administrators.

Uninstall applications and modify Microsoft settings

  1. In a CMD with administrator privileges, uninstall Microsoft Edge:

    cd %PROGRAMFILES(X86)%\Microsoft\Edge\Application\9*\Installer
    setup --uninstall --force-uninstall --system-level
    
  2. In a Powershell with administrator privileges, uninstall the following packages and programs:

    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
    
  3. Open msconfig using the Windows + R keys or from a CMD, and disable the following services (restart the computer if required):

    • 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
  4. Open the Task Manager and in the Startup tab, disable the following (restart the computer if required):

    • Cortana
    • Microsoft OneDrive
    • Windows Security notifications
  5. Remove the items that appear on the right in the Start, Productivity, and Explore menus:

  6. Disable Windows notifications in Settings - System - Notifications & actions.

  7. Enable connections for Remote Desktop. Enable the first checkbox and disable the second checkbox in Advanced settings.

  8. Shut down and edit the desktop with this configuration, then click Save changes:

    • 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 login as the system starts, install Autologon.

  2. Extract the downloaded archive and run Autologon64.

  3. Enter the password set in Credentials.

Catalan (optional)

Before running the Optimization Tools, change the language to Catalan following the steps below; otherwise, this section can be skipped.

  1. In Settings - Time & language - Language, add Catalan as the Preferred language (log out if required).

  2. Replicate the change to the entire system (restart the computer if required).

Optimization Tools

  1. Open the executable of the media assigned to the desktop.

  2. Click the Analizar button and then Opciones comunes.

  3. Set the options as shown in the following images.

    Important

    • Windows Updates: If the "Deshabilitar Windows Update" checkbox is checked, updates cannot be installed. To allow them again, go to the "Update" section, uncheck the following boxes and select "Habilitar Windows Update".
    • Microsoft Store: If the Microsoft Store was not removed in point 2 of the «Uninstall applications and modify Microsoft settings» section, uncheck 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.

  4. Click the Optimizar button and wait for a screen similar to the second one with the result summary to be returned.

  5. Restart the system.

Windows Defender

Maximum CPU usage

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

Get-MpPreference | select ScanAvgCPULoadFactor
Windows 10 Windows 11

Specify maximum CPU usage in PowerShell

By running the Set-MpPreference -ScanAvgCPULoadFactor 25 (Microsoft Documentation) command in administrator mode, you can limit the usage to 25% of the CPU. You can specify the maximum percentage by entering a number between 5 and 100. The value 0 disables the limit.

Results

CPU usage in a Quick Scan

When performing a system scan, the results are identical whether on a machine configured to 100% (left) or one configured to 5% (right). In both cases, 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 swap files to exclusions