Skip to main content

Upgrade-WindowsToPro

Description​

Upgrades a Windows Home device to Windows Pro using a provided license key.

Requirements​

  • PowerShell 5+
  • Windows OS
  • Must be run as an Administrator
  • A valid Windows Pro product key

Usage​

Detects the current Windows edition and upgrades from Home to Pro using changepk.exe. If Windows Pro is already detected, no action is taken. A manual reboot is required after a successful upgrade.

.\Upgrade-WindowsToPro.ps1 -LicenseKey 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX'

Parameters​

ParameterAliasRequiredDefaultTypeDescription
LicenseKeyTrueStringA valid Windows Pro product key in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.

Output​

  • .\Upgrade-WindowsToPro-Log.txt
  • .\Upgrade-WindowsToPro-Error.txt

Changelog​

2026-06-11​

  • Initial version of the document