查询、备份Windows10系统已激活密钥的方法

2025-07-19 13:16:50

1、查询、备份W坡纠课柩indows10系统已激活密钥的方法方法一:在注册表编辑器中查询已激活系统的密钥及备份密钥的方法在运行中脶巴躔炒输入regedit命令,打开注册表编辑器,复制\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\注册表路径,粘贴到注册表的地址栏中;

查询、备份Windows10系统已激活密钥的方法

2、当注册表路径粘贴好以后,按下桌面上的回车键,定位到SoftwareProtectionPlatform,在其对应的右侧窗口中找到:BackupProductKeyDefault,左键双击BackupProductKeyDefault;

查询、备份Windows10系统已激活密钥的方法

3、在弹出的编辑字符值对话框中可以看到BackupProductKeyDefault的数值数据为:VK7JG-......-3V66T,该数值数据即Windows10系统的激活密钥。

查询、备份Windows10系统已激活密钥的方法

4、可以将激活密钥复制到记事本中并保存。

查询、备份Windows10系统已激活密钥的方法

5、方法二:制作一个【密钥查询.vbs】文件查询已激活系蕙蝤叼翕统的密钥及备份密钥。将下面内容复制到记事本中:———————————————————————————————斑从腧笮—Option ExplicitDim objshell,path,DigitalID, ResultSet objshell = CreateObject("WScript.Shell")'Set registry key pathPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"'Registry key valueDigitalID = objshell.RegRead(Path & "DigitalProductId")Dim ProductName,ProductID,ProductKey,ProductData'Get ProductName, ProductID, ProductKeyProductName = "系统名称:" & objshell.RegRead(Path & "ProductName")ProductID = "产品ID:" & objshell.RegRead(Path & "ProductID")ProductKey = "已安装密钥:" & ConvertToKey(DigitalID)ProductData = ProductName & vbNewLine & ProductID & vbNewLine & ProductKey'Show messbox if save to a fileIf vbYes = MsgBox(ProductData & vblf & vblf & "要将密钥保存到文件吗?", vbYesNo + vbQuestion, "软媒魔方备份Windows密钥信息") thenSave ProductDataEnd If'Convert binary to charsFunction ConvertToKey(Key)Const KeyOffset = 52Dim isWin10, Maps, i, j, Current, KeyOutput, Last, keypart1, insert'Check if OS is Windows 10isWin10 = (Key(66) \ 6) And 1Key(66) = (Key(66) And &HF7) Or ((isWin10 And 2) * 4)i = 24Maps = "BCDFGHJKMPQRTVWXY2346789"DoCurrent= 0j = 14DoCurrent = Current* 256Current = Key(j + KeyOffset) + CurrentKey(j + KeyOffset) = (Current \ 24)Current=Current Mod 24j = j -1Loop While j >= 0i = i -1KeyOutput = Mid(Maps,Current+ 1, 1) & KeyOutputLast = CurrentLoop While i >= 0If (isWin10 = 1) Thenkeypart1 = Mid(KeyOutput, 2, Last)insert = "N"KeyOutput = Replace(KeyOutput, keypart1, keypart1 & insert, 2, 1, 0)If Last = 0 Then KeyOutput = insert & KeyOutputEnd IfConvertToKey = Mid(KeyOutput, 1, 5) & "-" & Mid(KeyOutput, 6, 5) & "-" & Mid(KeyOutput, 11, 5) & "-" & Mid(KeyOutput, 16, 5) & "-" & Mid(KeyOutput, 21, 5)End Function'Save data to a fileFunction Save(Data)Dim fso, fName, txt,objshell,UserNameSet objshell = CreateObject("wscript.shell")'Get current user nameUserName = objshell.ExpandEnvironmentStrings("%UserName%")'Create a text file on desktopfName = "C:\Users\" & UserName & "\Desktop\Windows密钥备份.txt"Set fso = CreateObject("Scripting.FileSystemObject")Set txt = fso.CreateTextFile(fName)txt.Writeline Datatxt.CloseEnd Function————————————————————————————————

查询、备份Windows10系统已激活密钥的方法
查询、备份Windows10系统已激活密钥的方法
查询、备份Windows10系统已激活密钥的方法
查询、备份Windows10系统已激活密钥的方法
查询、备份Windows10系统已激活密钥的方法

6、点击记事本左上角的【文件】,在下拉菜单中点击【另存为】;

查询、备份Windows10系统已激活密钥的方法

7、在打开的另存为窗口中,点击窗口左侧的【桌面】,在文件名(N)栏中输入:密钥查询和备份.vbs,再点击:保存;

查询、备份Windows10系统已激活密钥的方法

8、回到系统桌面,我们左键双击:【密钥查询和备份.vbs】文件图标,即可以打开:软媒魔方备份 Windows 密钥信息,可以看到已安装密钥:VK7JG-......-3V66T;如需要保存,则点击:是(Y);

查询、备份Windows10系统已激活密钥的方法

9、我们点击是以后,桌面上便出现一个【Windows密钥备份.bxt】图标,左键双击这个图标;

查询、备份Windows10系统已激活密钥的方法

10、点击【Windows密钥备份.bxt】图标后,可以打开一个记事本,记事本中保存的便是Windows10系统已安装的密钥:VK7JG-......-3V66T。

查询、备份Windows10系统已激活密钥的方法

11、以上即:查询、备份Windows10系统已激活密钥的方法,亲测有效。供朋友们参考和使用。

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢