Skip to main content

Windows 10 to 11 Upgrade

Purpose

The solution aims to identify Windows 10 computers that are compatible with Windows 11 for an upgrade. It initiates the upgrade to Windows 11 for compatible computers.

Note: The solution employs a policy and package to automatically upgrade compatible Windows 10 computers. In cases where the upgrade policy fails, the Windows 11 Installer (Beta) task can serve as a backup script to facilitate the upgrade.

Update Notice: 21-April-2024

The Install Windows 11 Feature Update [Beta, Reboot] task has been added as an alternative solution for machines where the primary upgrade process encounters failures.

Update Notice: 9-November-2024

The solution has been updated to use a policy for the Windows 10 to Windows 11 upgrade. Remove the following content before going through the solution:

  • Custom Field: Windows 11 Upgrade Failed
  • Custom Field: Windows 11 Upgrade RunTime
  • Group: Windows 11 Compatibility Check Enabled
  • Task: Windows 11 Installation Validation
  • Monitor: Windows 11 Installation Failed

Associated Content

Custom Fields

ContentTypeLevelFunction
Enable Windows 11 InstallationFlagCompanyMark this custom field to enable Windows 11 installation for the Windows 10 machines of the company.
Exclude Windows 11 InstallationFlagSiteMark this custom field to exclude the endpoints of this site from the Windows 10 to 11 upgrade.
Exclude Windows 11 InstallationFlagEndpointMark this custom field to exclude the endpoint from the Windows 10 to 11 upgrade process.
Windows 11 CompatibleDropdownEndpointYes: Compatible. No: Incompatible. NA: Not Checked yet. Updated by the Windows 11 Compatibility Validation task.
Windows 11 Incompatibility BaseText BoxEndpointStores the result returned by the Windows 11 Compatibility Validation task for the incompatible machines.

Device Groups

ContentTypeDescription
Windows 10 MachinesDynamicWindows 10 machines. The Windows 11 Compatibility Validation task will be scheduled against this group.
Windows 11 Compatible MachinesDynamicHouses the Windows 10 computers that are compatible with the Windows 11 upgrade. It is a view-only group.
Upgrade Enabled Windows 11 Compatible MachinesDynamicA group of Windows 10 machines that are compatible with Windows 11 installation and upgrade, enabled through the custom fields.
Windows 11 Incompatible MachinesDynamicA group of Windows 10 computers that are not compatible with Windows 11.

Tasks

ContentTypeDescription
Windows 11 Compatibility ValidationScript EditorVerifies if a Windows 10 PC is compatible with Windows 11. Scheduled to run monthly against Windows 10 Machines.

Policies

ContentTypeDescription
Install Windows 11OS Patching DesktopPolicy to enable Windows 11 installation for Windows 10 machines.

Packages

ContentTypeDescription
Install Windows 11Policy GroupEnables Windows 11 installation for compatible Windows 10 computers.

Optional Tasks

ContentTypeDescription
Windows 11 Installer (Beta)Script EditorThis task can be used as a backup plan in case of Windows 11 installation policy failure. Installs Windows 11 on a compatible Windows 10 computer. The default nature of the script is to restart the computer to complete the upgrade. However, the NoReboot parameter provides an option to suppress the reboot. The computer should be rebooted at the earliest convenience to complete the upgrade.
Install Windows 11 Feature Update [Beta, Reboot]Script EditorThis task has been added as an alternative solution for machines where the primary upgrade process encounters failures.

Implementation

  1. Create the following custom fields:

  2. Create the following device groups:

  3. Create and deploy the following task:

  4. Create the following optional tasks:

  5. Create the following policy:

    Note of Caution:

    • This policy document is just for reference.
    • Do not create a new policy if a patch policy already exists and enable the OS Upgrade in the same policy.
    • Making a separate patch policy group just for upgrading the OS while leaving the rest of the patching off will override the existing patch policy for that machine, and that machine won't receive any patches EXCEPT for the OS upgrade.
  6. Create the following policy group:

    Note of Caution:

    • This policy group document is just for reference.
    • Use the existing policy in conjunction with the policy group if you have not created a new one.
    • The end goal here is to apply an OS Upgrade enabled policy against the Upgrade Enabled Windows 11 Compatible Machines group.