TechBuzzPro

How to Deactivate Windows 11 (Unlink & Disable)

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Deactivating Windows 11 removes the digital license from your PC, turning it into an unactivated copy. This is useful if you plan to sell the computer, move the license to another device, or simply want to stop using a Microsoft account-linked activation. You don't need to reinstall Windows – deactivation just clears the activation status. You'll need administrator access to your PC and, if your license is linked to a Microsoft account, you'll need to sign in to that account online.

What You'll Need

  • Administrator account on the Windows 11 PC
  • Microsoft account credentials (if your license is linked to one)
  • Internet connection (for the online account steps)

Step-by-Step

  1. Unlink the digital license from your Microsoft account (if applicable). Go to account.microsoft.com/devices in any browser, sign in with the Microsoft account you used on the PC, find your device under “Your devices,” click “Manage,” then select “Unlink this device.” This removes the license association so you can reuse it elsewhere. If you skip this, the license stays tied to your account and may not be transferable.
  2. Open Command Prompt as administrator. Click the Start button, type cmd, right-click “Command Prompt” and choose “Run as administrator.” Click “Yes” if prompted by User Account Control.
  3. Run the deactivation command. In the Command Prompt window, type the following and press Enter:
    slmgr /upk
    This uninstalls the current product key from your PC. A pop-up window will appear confirming the key was uninstalled – click OK.
  4. Clear the activation status (optional but recommended). Type this command and press Enter:
    slmgr /cpky
    This removes the product key from the registry so it can't be easily recovered. Click OK on the confirmation pop-up.
  5. Reset the activation timer (optional). If you want to completely reset the activation state (so Windows shows “Not activated” immediately), run:
    slmgr /rearm
    This resets the activation grace period. A pop-up will tell you the command succeeded; click OK. Note: you can only rearm a limited number of times (usually 3).
  6. Restart your PC. Click Start > Power > Restart. After reboot, go to Settings > System > Activation (or Settings > Update & Security > Activation in older builds). It should now show “Windows is not activated” with an error code like 0xC004F213 or similar.

Common Mistakes

  • Skipping the account unlink. If you don't unlink the device from your Microsoft account, the license remains attached to that account, and you may not be able to activate a new PC with it later.
  • Running Command Prompt without admin rights. The commands will fail with an error if you don't run as administrator. Always right-click and choose “Run as administrator.”
  • Using the wrong command. Some guides suggest slmgr /ipk (install key) – that's for activation, not deactivation. Stick to /upk and /cpky.
  • Forgetting to restart. The activation status may not refresh until you reboot. Always restart after running the commands.

Tips

  • If you're deactivating to move the license to a new PC, do the unlink step first, then deactivate the old PC. After that, you can activate the new PC with the same Microsoft account or by entering the product key.
  • Write down your product key before deactivating if you think you might need it again. You can find it with a tool like ProduKey, but it's easier to just note it from your account page.
  • Deactivation doesn't delete your files or settings. Your PC will still work, but you'll see a watermark in the corner and some personalization options will be locked.
  • If you're selling the PC, consider a full reset (Settings > System > Recovery > Reset PC) after deactivating to wipe your data and give the new owner a clean start.

Troubleshooting

  • “Error: 0xC004F017” or “The Software Licensing Service reported that the product key was not found.” This usually means the key was already removed. Run slmgr /dlv to check the current activation status – if it says “Unlicensed,” you're done.
  • Command Prompt says “Access denied.” You're not running as administrator. Close the window, right-click Command Prompt again, and choose “Run as administrator.”
  • Windows still shows as activated after restart. Try running slmgr /rearm again (if you haven't used all rearm attempts), then restart. If it still shows activated, your license might be embedded in the firmware (common on OEM PCs). In that case, use slmgr /upk and then slmgr /cpky – if the firmware key persists, you may need to contact Microsoft support to remove it.
  • You can't unlink the device from your Microsoft account. Go to the device page and check if the “Unlink” option is grayed out. If so, sign out of the Microsoft account on the PC, then try again. If it still fails, contact Microsoft support.

Frequently Asked Questions

Will deactivating Windows 11 delete my files?

No. Deactivation only removes the license. Your files, apps, and settings remain untouched.

Can I reactivate Windows 11 later?

Yes, if you have the product key or your Microsoft account still has the license linked. You can go to Settings > System > Activation and enter the key, or sign in with the account.

How do I know if my license is linked to a Microsoft account?

Go to Settings > System > Activation. If it says “Windows is activated with a digital license linked to your Microsoft account,” then it's linked.

Will deactivation stop Windows updates?

No, you'll still receive security updates, but some optional updates and features may be restricted.

Can I deactivate Windows 11 without admin rights?

No. The commands require administrator privileges. You'll need an admin account or the admin password.

What if I don't have a Microsoft account?

If you used a local account, your license is tied to the hardware, not an account. You can skip the unlink step and just run the commands.