PlainError

Free PowerShell script · MIT license

Windows 11 readiness check for one PC or the whole office

Find out which PCs can move to Windows 11, which need a firmware setting changed, and which need replacing, in plain English, with a CSV you can hand to whoever signs off on the budget.

Updated 2026-11-23 · read-only · Windows PowerShell 5.1 and PowerShell 7

Why this matters now

Windows 10 reached end of support on October 14, 2025. Microsoft no longer ships free security updates for it, and the one-year consumer Extended Security Updates program ended in October 2026. Organizations can still buy Windows 10 Extended Security Updates by the year (the price doubles each year, up to October 2028), but that only buys time. Every Windows 10 PC that is still online is one missed patch away from being the way in.

The catch is that Windows 11 has stricter hardware rules than any Windows before it. A PC that runs Windows 10 fine can still be blocked by its CPU, a TPM that is switched off, or a disk set up for Legacy BIOS. The first two are often a five-minute firmware change; the CPU is not. Knowing which is which, per PC, is the whole job.

What the script checks, and what each result means

CheckWhat it meansFix if it fails
CPUWindows 11 supports Intel Core 8th generation and newer, AMD Ryzen 2000 series and newer (not the first-gen Zen 2000 APUs), and recent Qualcomm Snapdragon chips, at 1 GHz or faster with 2 or more cores, 64-bit only. The script matches the model name offline and says uncertain for families where support depends on the exact model (some Xeon, Pentium, Celeron, Athlon and a few 7th-gen parts).Hardware only: replace the PC, or keep it on Windows 10 with paid Extended Security Updates while you plan the swap.
TPM 2.0A Trusted Platform Module stores encryption keys (BitLocker, Windows Hello). Most PCs from 2016 on have one built into the CPU (Intel PTT, AMD fTPM), but it is often turned off in firmware.Turn on Intel PTT or AMD fTPM in UEFI setup (Security or Advanced > Trusted Computing). TPM 1.2 sometimes upgrades to 2.0 with a firmware update.
UEFI firmwareWindows 11 boots only in UEFI mode. Older installs often run in Legacy BIOS (CSM) mode even on UEFI-capable hardware.Convert the disk with MBR2GPT, then switch the firmware from Legacy/CSM to UEFI.
Secure BootSecure Boot lets only signed boot loaders start. The PC must be Secure Boot capable; turning it on is strongly recommended.Turn it on in UEFI setup (Boot or Security tab). It needs UEFI mode with CSM off.
GPT system diskUEFI boot needs the Windows disk to use the GPT partition style. Disks set up for Legacy BIOS use MBR.mbr2gpt /validate /allowFullOS, then mbr2gpt /convert /allowFullOS: converts in place without wiping data.
RAM 4 GB+Windows 11's minimum is 4 GB. The script allows for memory the firmware or graphics reserves (a 4 GB PC often shows 3.8 GB).Add memory; 8 GB or more is the realistic minimum for office work.
Storage 64 GB+The system disk needs at least 64 GB. Feature updates need free space on top of that.Move to a larger SSD.
OS build and editionShows the current edition, version and build, and flags 32-bit Windows, which can't be upgraded in place because Windows 11 is 64-bit only.Upgrade through Windows Update or the Installation Assistant once the hardware passes; 32-bit installs need a clean 64-bit install.

What the output looks like

== PC-RECEPTION ==
  [FAIL] CPU: Intel Core i5-6500 CPU @ 3.20GHz is Intel Core generation 6; Windows 11 supports 8th gen or newer.
         Fix: A CPU cannot be upgraded in software. Options: replace the PC, ...
  [PASS] TPM 2.0: TPM 2.0 is present and enabled.
  [FAIL] UEFI firmware: Firmware is in Legacy BIOS (CSM) mode; Windows 11 needs UEFI.
         Fix: Convert the system disk to GPT with MBR2GPT, then switch the firmware ...
  [FAIL] GPT disk: System disk uses MBR; UEFI boot needs GPT.
  [PASS] RAM 4 GB+: 8 GB of RAM installed.
  [WARN] OS build: Microsoft Windows 10 Pro 22H2 (build 19045, 64-bit). Windows 10 reached end of support on October 14, 2025.
  Result: NOT READY

Each PC ends with one result: READY, CHECK WARNINGS (for example, Secure Boot off or a CPU the script can't place with certainty), NOT READY, or NOT CHECKED (couldn't connect). Every line, with its fix, also goes to a CSV file.

How to run it

  1. Unzip the download, then open Windows PowerShell or Terminal as administrator in that folder.
  2. Unblock the downloaded file: Unblock-File .\Test-Win11Readiness.ps1
  3. This PC: .\Test-Win11Readiness.ps1
  4. Several PCs: .\Test-Win11Readiness.ps1 -ComputerName PC01, PC02, or a list: .\Test-Win11Readiness.ps1 -Path .\computers.txt -CsvPath C:\Temp\win11.csv

Remote PCs need WinRM enabled (Enable-PSRemoting, or the Group Policy setting) and an account that is an admin on them; add -Credential (Get-Credential) to use a different one.

Checking one PC by hand

No script needed if it's just your own PC:

CPU, RAM and storage
Settings > System > About shows the processor and installed RAM. Settings > System > Storage shows the disk size.
TPM
Press Win+R, type tpm.msc, Enter. Look for Specification Version: 2.0 and The TPM is ready for use. In an admin PowerShell: Get-Tpm.
UEFI and Secure Boot
Press Win+R, type msinfo32, Enter. BIOS Mode should say UEFI and Secure Boot State should say On. In an admin PowerShell: Confirm-SecureBootUEFI returns True when it is on.
GPT or MBR
Right-click Start > Disk Management, right-click the disk (not the partition) > Properties > Volumes, and read Partition style. Or run Get-Disk and read the PartitionStyle column.
All at once
Microsoft's PC Health Check app gives a yes/no for one PC. It doesn't cover a list of PCs or export results, which is what the script is for.

Fixing the usual blockers

TPM turned off

Restart into UEFI setup (usually F2, F10, F12 or Del at power-on, or Settings > System > Recovery > Advanced startup > UEFI Firmware Settings). Look for Intel Platform Trust Technology (PTT), AMD fTPM or Security Device Support and enable it. Save, reboot, and check tpm.msc again.

Legacy BIOS and an MBR disk

Back up first and suspend BitLocker if it is on (manage-bde -protectors -disable C:). In an admin prompt run mbr2gpt /validate /allowFullOS; if it passes, run mbr2gpt /convert /allowFullOS. Then reboot into firmware setup, switch boot mode from Legacy/CSM to UEFI, and turn on Secure Boot. Windows should boot normally; resume BitLocker afterwards.

Secure Boot off

Once the PC boots in UEFI mode, enable Secure Boot in firmware setup. If the option is greyed out, set a firmware supervisor password or choose “restore factory keys”.

Unsupported CPU

No setting fixes this. Put those PCs first on the replacement list, and keep them patched with Extended Security Updates until they're gone. If the script says uncertain, check the exact model on Microsoft's supported-processor list or run PC Health Check on that PC.

Seeing “This PC can't run Windows 11” on a single machine? Read This PC can't run Windows 11: causes and fixes.

Questions

Is the script safe to run on production PCs?
Yes. It only reads WMI/CIM data and two registry values (firmware type and Secure Boot state). It never runs MBR2GPT, changes firmware, or installs anything; it only tells you what to do.
Can it check every PC in the office at once?
Yes. Pass names with -ComputerName or a TXT/CSV list with -Path. Remote PCs are checked over CIM (WinRM, falling back to DCOM). If a PC is off or unreachable it is marked NOT CHECKED and the rest still run.
Which PowerShell do I need?
Windows PowerShell 5.1, which is built into Windows 10 and 11, or PowerShell 7. Run it as administrator so it can read the TPM.
Is it free? What's the license?
Free, under the MIT license: use it, change it and share it. You get the download link right after signing up for the weekly fix list, and you can unsubscribe any time.
What if my CPU isn't supported?
There's no software fix. Organizations can buy Windows 10 Extended Security Updates by the year while they replace PCs; otherwise plan the replacement. Registry bypasses exist but are unsupported and not a good idea on business PCs.

Provided as-is under the MIT license; test in your environment first. Microsoft, Windows and BitLocker are trademarks of Microsoft Corporation. PlainError is not affiliated with Microsoft.