How to get back the lost Windows Key or Office?
If you're trying to reinstall Windows with a genuine KEY but can't find the key to activate , you're lucky enough to be able to find it again in the Registry, but you can't go directly to the Registry and copy it anyway. out. So in this article, I will show you how to get them back.
As you can see in the picture above, your Windows active key is stored in the registry called DigitalProductId , but it is saved in binary, so you definitely cannot read it.
It is also unclear why Microsoft converted it into binary code, making it difficult to find, but placing it in the Registry, where it can be easily found and read by the soft. The only assumption is that they do not want someone to reuse these keys for another device.
But the great thing is you can get it back even if you can't boot into Windows anymore. All you need to do is access the hard drive through another working computer.
Note : It may not always work for OEMs, it depends on how they are activated. And for Office 2013, it cannot be found either.
Find Windows key without using software
Assuming that you can boot into your computer without a problem, you can create a VBscript to read the values in the Registry and convert it into the key you usually see.
Copy and paste the following code into Notepad:
Set WshShell = CreateObject ("WScript.Shell") MsgBox ConvertToKey (WshShell.RegRead ("HKLMSOFTWAREMicrosoftWindows NTCurrentVersionDigitalProductId")) Function ConvertToKey (Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWX = 14 = Cur * 256 Cur = Key (x + KeyOffset) + Cur Key (x + KeyOffset) = (Cur 24) And 255 Cur = Cur Mod 24 x = x -1 Loop While x> = 0 i = i -1 KeyOutput = Mid (Chars, Cur + 1, 1) & KeyOutput If (((29 - i) Mod 6) = 0) And (i <> -1) Then i = i -1 KeyOutput = "-" & KeyOutput End If Loop While i> = 0 ConvertToKey = KeyOutput End Function
Then go to File -> Save as, convert 'Save as type' to 'All file' and name it productkey.vbs or similar with the .vbs extension, then save.
Once saved, just double click on it, a window will appear and give you the key that Windows is using.
Tip: When the window appears, just press Ctrl + C to copy the entire content, then you can paste it into Notepad or somewhere to save it.
Use NirSoft's Produkey tool (Even if it can't boot into Windows)
The easiest way to get your key back is by using external software, and NirSoft has done a great job. The only minor problem is that the antivirus may block this tool, as some data-stealing malware also do the same thing.
All you have to do is download ProduKey here : http://www.nirsoft.net/utils/product_cd_key_viewer.html
After downloading, extract it and open it. Immediately, you will see your key inside.
If your computer cannot boot, you can mount it on a working computer, run ProduKey and go to File -> Select source, select Load the product keys from external Windows directory and navigate to the Windows directory. , then you can easily retrieve your key.
There are many copyright-conscious Windows users who want to reinstall Windows. But this way you can easily get your Windows Active Key and use it to Activate when reinstalling Windows.
Good luck.
You should read it
- Block access to Registry Editor on Windows 10/8/7
- How to Make and Restore a Backup of the Windows Registry
- How to Get Into a Computer Registry
- Use the .reg file to configure the Registry in WinXP
- 36 best free registry cleaning software 2018
- How to disable Windows Registry on Windows 10
- How to export the Registry key in Windows
- How to fix a corrupted Registry on Windows 10
May be interested
- Invite Neat Office experience - the $ 199.99 office suite for Windows 10 is free on Microsoft Storeneat office is an office suite that includes replacement tools for word, excel & powerpoint, google docs, sheets & slide ...
- Instructions for installing and using Office 2016along with windows 10 operating system, office 2016 is the latest version of microsoft office with a beautiful graphical interface, giving users many new and exciting experiences. today, tipsmake.com will guide you how to install and use office 2016 in the article below. please consult.
- How to uninstall Microsoft 365 Office on Windows 10if you are using the version of office that came with your microsoft 365 subscription (formerly office 365), you might finally need to uninstall it from windows 10. whatever the reason, you can uninstall it. office in at least two easy ways with the settings app or the support tools.
- What is Apple's Lost Mode?apple has made many improvements to keep your iphone and information as safe as possible, including lost mode.
- Try OpenOffice onlinealthough microsoft office is widely used, but not so that other office suites lost 'land', especially the openoffice suite with many features not inferior to ms office.
- Windows RT 8.1 has Office 2013 built-inthe full office suite will come free with windows rt 8.1 instead of cutting off the mail application and some advanced features like the old version.
- Microsoft Office 16 is coming soonaccording to the verge, recently released a series of leaked photos of office 16 from microsoft.
- Microsoft will launch a new Office application, preinstalled on Windows 10revealed in a press conference held on december 19, microsoft unveiled a new office application built on the office.com website that has recently been refurbished recently. .
- Lost Admin rights on Windows 10, this is how to fix itfor some reason, your windows 10 computer has lost admin rights. every time you open an application on the screen, you receive an error message. so how to restore lost admin rights, please refer to the article below,
- How to Get Your Windows 10 Start Menu Backif you recently updated to windows 10 and you can't find your start menu, all is not lost. there is a way to get it back. see if you have any right click options at the start menu location. if you do, select task manager.