查找Windows 7产品密钥


19

我正在进行硬盘升级,它可能会再次询问我产品密钥。我该怎么找到它?

Answers:


19

您的机器附带的贴纸和/或介质盒上的贴纸。

你也可以试试 Nirsoft ProduKey 对于软件方式。


Windows 7附DVD。 CD作为Windows操作系统的分发手段是过去的事情。 :)

哦,来吧!......但我想是的!
William Hilsum

3
Magic Jellybean FTW!
atroon

2
魔法果冻豆很棒。它立即显示Windows 7的产品密钥以及我系统上安装的其他Microsoft产品。
Phenom

1
请注意其安装程序尝试安装一些crapware浏览器工具栏并弄乱您的默认主页。
Piku

8

产品密钥查找器 是一个免费工具,将显示已安装的Windows产品密钥和其他重要的Windows系统信息。产品密钥查找器使用以下内容 视窗 操作系统(2000,2003,XP,Vista,2008, 7 32位和64位

在这里找到替代方法:

如何查找Windows 7产品密钥代码

您可能还想备份Windows激活文件:

如何备份和还原Windows 7和Server 2008 R2激活状态


1
ottsolutions的“产品密钥查找器”很不错,因为它不需要安装,也不安装任何crapware。
mivk


1

这个简短的PowerShell脚本由 Winaero 可以使用。

博客文章 如果您不熟悉PS,请逐步进行操作。

function Get-WindowsKey {
    ## function to retrieve the Windows Product Key from any PC
    ## by Jakob Bindslet (jakob@bindslet.dk)
    param ($targets = ".")
    $hklm = 2147483650
    $regPath = "Software\Microsoft\Windows NT\CurrentVersion"
    $regValue = "DigitalProductId"
    Foreach ($target in $targets) {
        $productKey = $null
        $win32os = $null
        $wmi = [WMIClass]"\\$target\root\default:stdRegProv"
        $data = $wmi.GetBinaryValue($hklm,$regPath,$regValue)
        $binArray = ($data.uValue)[52..66]
        $charsArray = "B","C","D","F","G","H","J","K","M","P","Q","R","T","V","W","X","Y","2","3","4","6","7","8","9"
        ## decrypt base24 encoded binary data
        For ($i = 24; $i -ge 0; $i--) {
            $k = 0
            For ($j = 14; $j -ge 0; $j--) {
                $k = $k * 256 -bxor $binArray[$j]
                $binArray[$j] = [math]::truncate($k / 24)
                $k = $k % 24
            }
            $productKey = $charsArray[$k] + $productKey
            If (($i % 5 -eq 0) -and ($i -ne 0)) {
                $productKey = "-" + $productKey
            }
        }
        $win32os = Get-WmiObject Win32_OperatingSystem -computer $target
        $obj = New-Object Object
        $obj | Add-Member Noteproperty Computer -value $target
        $obj | Add-Member Noteproperty Caption -value $win32os.Caption
        $obj | Add-Member Noteproperty CSDVersion -value $win32os.CSDVersion
        $obj | Add-Member Noteproperty OSArch -value $win32os.OSArchitecture
        $obj | Add-Member Noteproperty BuildNumber -value $win32os.BuildNumber
        $obj | Add-Member Noteproperty RegisteredTo -value $win32os.RegisteredUser
        $obj | Add-Member Noteproperty ProductID -value $win32os.SerialNumber
        $obj | Add-Member Noteproperty ProductKey -value $productkey
        $obj
    }
}

那应该是公认的答案!简单,无需额外工具!
andreee
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.