Skip to content
Menu

Can This PC Run Windows 11?

Checks a Windows 10 PC against the Windows 11 hardware requirements: OS build, UEFI and Secure Boot, TPM 2.0, CPU, RAM and disk. Alerts on any that fail.

Can this PC run Windows 11? is free for members.

Enter your email to create your free account and get the file.

We'll email you the script and the weekly MSP Outpost email. Unsubscribe anytime. Privacy policy.

Already a member? Sign in.

Be the first to review Can this PC run Windows 11?. Tell other MSPs how it worked for you.

Write a Review

LanguagePowerShell
Runs onWindows 10, Windows 11; runs as SYSTEM
NeedsPowerShell 5.1, administrator rights
Read-onlyReads, changes nothing

What It Does

On a Windows 10 PC the script checks, one row each: a 64-bit Windows 10 of version 2004 or later; UEFI firmware and whether Secure Boot is on; TPM 2.0 present and enabled; a 64-bit processor with two or more cores at 1 GHz or faster when Windows reports a clock speed; at least MinRamGB of RAM; and a system disk of at least MinDiskGB. It alerts when any row fails.

The script uses UEFI as the Secure Boot pass criterion and shows the reported Secure Boot state separately. Secure Boot off on a UEFI machine passes. The CPU name is reported, but Microsoft's list of supported processor models is not checked and no guess is made.

A PC already running Windows 11 answers OK without checking, unless IncludeWindows11 is true. Windows Server is skipped, and Microsoft's compatibility holds are not checked.

Before You Run It

  • Compare the CPU names in the rows with Microsoft's supported list before you promise an upgrade.
  • Run it with administrator rights. The TPM cannot be read without them.
  • Export the rows across a client and you have the replacement list for the budget conversation.

Type and Risk

  • Type: Monitor. It checks one condition. It exits 1 when it finds the problem, so your RMM can alert on it, 0 when all is well, and 2 when it could not run.
  • Risk: Low. It reads and changes nothing.
  • Restart: It never restarts the machine.
  • Typical run: Under 15 seconds.
  • Example answer: "Not ready for Windows 11: TPM 2.0 missing; RAM 2 GB (needs 4)"
  • Tested before listing on Windows 11 with Windows PowerShell 5.1, run as SYSTEM, against its own test cases.

Inputs

Pass an input as an argument (-Name value), as an environment variable with the same name, which is how most RMMs pass script variables, or change its default in the param() block at the top of the script. An argument wins over an environment variable, which wins over the default.

  • MinRamGB: Minimum RAM in GB. Whole number, 1 to 4096. Default 4 (Microsoft's minimum).
  • MinDiskGB: Minimum size of the system disk in GB. Whole number, 1 to 100000. Default 64 (Microsoft's minimum).
  • IncludeWindows11: true to run the checks on a PC that already runs Windows 11 (default false: it answers OK without checking).

Every script also takes DryRun, OutputFormat (Text, Answer, Json or Csv), ExportPath and ResultField, which writes the answer to an RMM custom field.

License

Provided "as is" under the MIT License, without warranty of any kind. Test before production use. MSP Outpost and User First Digital Inc. accept no liability for any damage or loss.

The Script

test-windows11-readiness.ps1 · 868 lines · 44.8 KB

Free for Members

Create a free account or sign in to read, copy and download this script.

Welcome Back

Sign in to your MSP Outpost account.