-
-
Save mimicscott/64ee2b78082c0341754209fb09419486 to your computer and use it in GitHub Desktop.
Reset Windows Activation to pre-key state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Open a command prompt as an Administrator. | |
:: Enter slmgr /upk and wait for this to complete. This will uninstall the current product key from Windows and put it into an unlicensed state. | |
:: Enter slmgr /cpky and wait for this to complete. This will remove the product key from the registry if it's still there. | |
:: Enter slmgr /rearm and wait for this to complete. This is to reset the Windows activation timers so the new users will be prompted to activate Windows when they put in the key | |
slmgr /upk | |
pause | |
slmgr /cpky | |
pause | |
slmgr /rearm | |
pause | |
slmgr /ipk 7BNJT-PXJR8-J9G6D-DHJVQ-DV3KQ | |
pause | |
slmgr /ato | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment