Clear Product Key from Registry in Windows  

    Clear Product Key from Registry in Windows

    Clear Product Key from Registry in Windows

    How to Clear Product Key from Registry in Windows
    Published by Category: Windows Update & Activation
    20 Aug 2018
    Designer Media Ltd

    How to Clear Product Key from Registry in Windows

    information   Information
    When you install and activate a retail copy of Windows, the product key is stored in the registry. This can be helpful to be able to use a program like ShowKeyPlus to view your installed product key if lost.

    However, having your installed product key in the registry could leave it vulnerable to being stolen from disclosure attacks by malicious software. Clearing the product key from the registry will prevent this, but you will need to make sure to keep a copy of your product key written down and kept in a secure location.

    This tutorial will show you how to permanently clear the product key from the registry to prevent it from being stolen in Vista, Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to be able to clear the product key from the registry.

    Note   Note
    This will not remove an OEM Windows 8/8.1/10 product key embedded in the UEFI firmware chip.

    If you run the slmgr /dli command in a command prompt, you will still be able to see the last 5 characters of the installed product key to help let you know what key you used to activate Windows with.

    Name:  slmgr_dli.png
Views: 9278
Size:  34.5 KB

    Here's How:

    1. Open an elevated command prompt.

    2. Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)

    slmgr /cpky

    Name:  Clear_product_key_from_registry-1.png
Views: 9024
Size:  10.6 KB

    3. Click/tap on OK when the product key has successfully been cleared from the registry. (see screenshot below)

    Name:  Clear_product_key_from_registry-2.png
Views: 8961
Size:  4.6 KB

    That's it,

  1.    04 Jan 2016 #1

    Hmmm... Shawn, makes me wonder... whether I should include an encryption function on the keys in the registry, that can only be decrypted with ShowKeyPlus?
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 35,226
    64-bit Windows 10 Pro build 18312
    Thread Starter
       04 Jan 2016 #2

    That would be a good idea to have that included.

      My ComputersSystem Spec


Tutorial Categories

Clear Product Key from Registry in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone

Related Threads
I would like to clear my Reliability history after doing some program testing that generated a lot of errors. I cleared out all of the Event logs, but a number of errors are still showing in the Reliability history. There was a tutorial in the...
How to Clear File Explorer History in Windows 10 Clearing File Explorer history deletes the information Windows saved about the files and folders you use as well as what you've typed in the address bar. This tutorial will show you how to...
Windows keeps a copy of all your folder, picture, video, and document thumbnails in a cache so they can be reused to quickly display when you open a folder instead of having to manually scan and slowly load them each time. The thumbnail cache can...
Solved How clear windows update hisotry in Windows Updates and Activation
Hi guys i was wondering if you can clear your windows update history like windows 8 or 7 in 10?
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 01:11.
Find Us