DEV Community

codewitgabi
codewitgabi

Posted on

Get windows activation key and activate windows

Do you currently face the issue where your windows activation key is expired and then you need to activate it? Tired of that regular popup asking you to activate your windows? Let me show you how to do that in less than 2 minutes.

Open the command prompt

Open the command prompt on your desktop by typing cmd on the search bar. Open it in Run as Administrator.

You should have something that.

Image description

You should have a black screen popup. In there, just type the below command or copy and paste it.



wmic path SoftwareLicensingService get OA3xOriginalProductKey
OA3xOriginalProductKey


Enter fullscreen mode Exit fullscreen mode

Once that's done, your activation code will be printed right there on the command prompt.

Next step

The next thing to do is to go to settings and activate your windows. Click on your search bar and type settings.

Image description

Click on Activation and Change product key. Enter your generated activation key there and click next.

Boom!!! That's all you need to do to activate your windows. Don't forget to leave a thumbs up and a comment if it worked for you.

Top comments (0)