You cannot permanently remove a Windows 10 digital license from the same device because the entitlement is retained for its hardware; formatting, reinstalling, or unlinking a Microsoft account does not delete it.
A digital license does not have to be linked to a Microsoft account. Windows reports this as “Windows is activated with a digital license”, and reinstalling the licensed edition can activate it automatically when the device goes online.^1^ The matching Microsoft Q&A case confirms that there is no user-accessible method to remove the hardware-based entitlement from Microsoft’s activation service.^2^
If you only need to deactivate the current installation
This removes the locally installed product key, not the digital entitlement stored for the hardware.
- Open Start, type Command Prompt.
- Select Run as administrator.
- Run:
slmgr.vbs /upk
slmgr.vbs /cpky
shutdown /r /t 0
-
/upkuninstalls the current edition’s product key and leaves that installation unlicensed after restarting.^3^ -
/cpkyremoves the product key from the registry to reduce the risk of it being retrieved by malicious software.^3^
Important: these commands change the local installation only. Once connected to the Internet, Windows may reactivate from the existing digital license or a manufacturer’s key embedded in the firmware. Windows is designed to use a firmware-injected OEM key automatically when the device comes online.^4^
If the goal is to use another genuine license
Do not try to delete the digital license first:
- Open Start → Settings → Update & Security → Activation.
- Select Change product key.
- Enter the new 25-character key and complete activation.
Microsoft documents Change product key as the supported way to activate an existing Windows 10 installation with another key.^1^
The new key must match the installed Windows edition—for example, a Home key cannot activate Pro. Because formatting and changing editions have already been attempted, repeating either will not erase the hardware entitlement.
If the computer is being sold
Reset or clean-install Windows to remove personal data, but do not expect that to remove its activation. If the license came preinstalled by the manufacturer, its automatic activation is part of that device’s licensing behavior. A purchaser may therefore receive Windows already activated after installation and Internet access.
References
- [Windows 10](https://support.microsoft.com/windows/activation/activate-windows#reactivate-windows-10-after-a-hardware-change)
- "How can I remove the digital license linked to my hardware so I can use a genuine product key?" - Microsoft Q&A
- Slmgr.vbs options for obtaining volume activation information
- How to validate the OEM activation key in Windows 10