Windows offers two supported doors into the same room: type a key in Settings, or run DISM /Set-Edition from an admin command line. Both change the edition the same way underneath. They differ in who they suit, what they show you while working, and how they fail. Pick by situation, not by habit.
Ask two technicians and you will get two religions. The truth is boring and useful: the Settings route and the DISM route perform the same edition change — the same packages are swapped and the same restart completes it. What differs is the wrapper. This page compares feedback, scripting, error messages and recovery, so you can choose the route that fits the PC in front of you.
👆 Both routes end at the same restart and the same edition. Choose on feedback and repeatability, not on which feels more advanced.
Settings → System → Activation → Change product key (or run changepk.exe to open the same window) is the route this channel's video demonstrates, for good reasons:
For one PC, on a desk, with a human watching — this is the right default.
DISM /Online /Set-Edition:Enterprise /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula does the identical job from an admin command line, and earns its place when:
/Image: instead of /OnlineThe price of that power: a mistyped edition name or a non-admin window fails with a number, not an explanation.
Both routes refuse unsupported jumps, just in different voices. Settings says the key did not work or the edition cannot be upgraded. DISM returns an error code and a line in its log saying the edition cannot be set on this image. Read either refusal the same way: your source edition is not on the supported path to the target — most often a Home PC being handed an Enterprise key. Switching routes does not soften the refusal, because the rule underneath is identical. Fix the path (Home to Pro first), not the tool.
One PC, a person in front of it, a key from the organisation: Settings route. Many PCs, a script, a deployment bench, or a change you must prove later from logs: DISM route. A PC that will not boot into Windows at all: neither — that is offline servicing or a reinstall, a different job entirely. Whichever door you choose, the last step is the same: restart, then verify edition and activation separately in Settings, because a successful change and a successful activation are two different events.
Watch the Settings route performed live in the video — the same change DISM would make, with every screen shown.
▶️ Watch Full VideoNeither is better at changing the edition — the underlying operation and the restart are the same. Settings is clearer for a single PC. DISM wins when the change must be scripted, repeated or logged, and it is the only one of the two that also works on offline images.
It means your current edition is not on the supported in-place path to the target edition — classically, a Home PC aimed at Enterprise. No switch or flag overrides it. Move one supported step at a time, such as Home to Pro and then Pro to Enterprise, or clean-install the target edition.
Technically the command accepts a key, but writing a real organisation key into a readable script is poor practice — scripts get copied, logged and committed to shared folders. Keep real keys in your licence records, have scripts prompt or pull from a protected source, and remember volume PCs usually activate through KMS or Active Directory instead of a typed key.