I was recently writing about setting up a VM with my development environment that I could hand out to other developers and how one of the challenges was removing the license keys. This post will be a continuation of that process, this time we’ll be resetting the registration in Windows 7 so that the next time it boots up it will request a registration key just like it was it’s first boot.
First, open command prompt as an Administrator and enter the following commands:
- slmgr /upk
- slmgr /cpky
- slmgr /rearm
After that you should almost immediately be prompted to enter a new registration key, just click Activate Later and it will continue to pop up periodically until you are ready to enter a new key.