Me pehea te kimi i te hua hua Windows 10

I muri tonu i te tukunga o te OS hou, ka timata nga tangata katoa ki te uiui me pehea e kitea ai te matua o te Windows 10 i whakauruhia, ahakoa i te nuinga o nga waa kaore i hiahiatia. Engari, he mea tika tonu te mahi, me te tuku i nga rorohiko me nga rorohiko rorohiko i mua i te whakatuwheratanga a Windows 10, e whakaaro ana au ka nui ake te tono.

Ko tenei akoranga e whakaatu ana i nga huarahi ngawari ki te kimi i to maatau taonga Windows 10 ma te whakamahi i te raina whakahau, Windows PowerShell, me nga papatono tuatoru. I te wa ano ka korerotia e au he aha i whakaatu ai nga momo rereke i nga raraunga rereke, me pehea te tiro motuhake i te matua OEM i roto i te UEFI (mo te OS i te tuatahi i runga i te rorohiko) me te matua o te punaha kua oti te whakauru.

Tuhipoka: mehemea i hangaia e koe he whakahoutanga korekore ki a Windows 10, a inaianei ka hiahia koe ki te mohio ki te mahinga whakahoahoa mo te taunga horoi i runga i te rorohiko kotahi, ka taea e koe te mahi, engari kaore e tika ana (mehemea kei te whai koe i te matua kia rite ki era atu tangata riro te tekau ma rima i te whakahou). A, no te whakanoho i te Windows 10 mai i te puku kopae, i te kōpae ranei, ka tonohia koe ki te whakauru i te matua hua, engari ka taea e koe te peke i tenei taahiraa ma te panui "Karekau he hua hua" i roto i te matapihi uiui (a ka tuhia e Microsoft ko te mea tenei e hiahiatia ana).

I muri i te tāuta me te hono atu ki te Ipurangi, ka whakahohe aunoa te pūnaha, mai i te mea kua "herea" te whakahohe ki tō rorohiko i muri i te whakahou. Koinei, ko te mahinga urunga matua i roto i te hōtaka whakauru Windows 10 kei te wa anake mo nga kaihoko o nga putanga hokohoko o te pūnaha. Kōwhiringa: mo te taunga o te Windows 10, ka taea e koe te whakamahi i te matua hua mai i te Windows 7, 8 me te 8.1 i mua i te rorohiko. Ētahi atu e pā ana ki tenei whakaohotanga: Te whakahohenga o Windows 10.

Tirohia te matua hua o te Windows 10 i whakaurua me te maama OEM ki ShowKeyPlus

He maha nga papatono mo nga kaupapa e whakaaturia ana i konei, ko te nuinga o era kua tuhia e ahau ki te tuhinga Me pehea e kitea ai te matua hua o te Windows 8 (8.1) (e tika ana mo te Windows 10), engari i ahuareka tonu ahau ki a ShowKeyPlus, e kore e hiahiatia te tautuhinga me te whakaatu i te motuhake E rua nga taviri: te pūnaha kua oti te whakauru me te mahinga OEM i UEFI. I te wa ano, ka whakaaturia ki a koe ko tehea putanga o Windows te matua UEFI mo. Ano, ma te whakamahi i tenei papatono, ka taea e koe te kite i te matua mai i tetahi atu pakiwaitara me te Windows 10 (i runga i tetahi atu puku pakeke, i roto i te pukupene Windows.old), a ka tirotiro i te waahi mo te whaimana (Tirohia te tuhinga Hua Hua).

Katoa e hiahia ana koe ki te mahi ko te whakahaere i te papatono ka kite i nga raraunga whakaatu:

 
  • Ko te Mahinga Whakauru ko te matua o te pūnaha i tāutahia.
  • Key OEM (Key Key) - te matua o te OS i mua i te whakauru, mehemea kei te rorohiko.

Ka taea hoki e koe te tiaki i enei raraunga ki te kōnae kuputuhi hei whakamahinga atu, hei tuhiranga tuhi ranei ma te panui i te pātene "Tiaki". I te ara, ko te raruraru me te mema e whakaatu ana i nga mahinga rereke i nga waahanga hua rereke mo Windows, ka puta noa mai ko etahi o ratou e mataara ana i te rorohiko whakauru, etahi atu i roto i te UEFI.

Me pehea te kimi i te hua hua o te Windows 10 i ShowKeyPlus - ataata

Tikiake ShowKeyPlus mai http://github.com/Superfly-Inc/ShowKeyPlus/releases/

Tirohia te matua i tautuhia e Windows 10 ma te whakamahi PowerShell

Ka taea e koe te mahi i waho i nga kaupapa tuatoru, e hiahia ana au ki te mahi i waho i a raatau. Ko te titiro ki te matua hua Windows 10 ko tetahi o nga mahi. Mena he maea ake ki a koe te whakamahi i te papatono korekore mo tenei, tuhia i roto i te aratohu i raro nei. (Ma te ara, etahi papatono mo te tirotiro i nga maata e tuku ana ki nga kaipupuri whai mana)

Ko te tono PowerShell maatau ranei rarangi tono kia kitea ko te matua o te punaha kua tautuhia nei kei te whakaratohia (he tono pera kei te whakaatu mai i te matua mai i te UEFI, ka whakaaturia e au i raro nei, engari ko te nuinga o te mahinga o teianei e rereke ana i te waahi kua whakaritea). Engari ka taea e koe te whakamahi i te horopaki PowerShell i hangaia e whakaatu ana i nga korero e tika ana (ko Jakob Bindslet te kaituhi o te tuhinga.

Tenei ko te aha e hiahia ana koe ki te mahi. Tuatahi, ka tīmata i te putea me te kape i te waehere i raro ake nei.

#Main Function Function GetWin10Key {$ Hklm = 2147483650 $ Target = $ env: COMPUTERNAME $ regPath = "Pūmanawa  Microsoft Windows NT  CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target  pakiaka  taunoa: stdRegProv "#Get rēhitatanga rēhitatanga $ $ = $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Array] $ DigitalIDvalue = $ Object.uValue #Ka taea e koe te painga # Ki te ($ DigitalIDvalue) {#Get nomcnt name and ID $ ProductName = (Haere-itemproperty -Path "HKLM: Software  Microsoft Windows NT  CurrentVersion" -Name "ProductName") ProductName $ ProductID = (Haere-itemproperty -Path "HKLM: Software  Microsoft Windows Windows NT  CurrentCountion "-Name" ProductId ") HuaWhakaunga #Convert taurari nama ki te $ tau rangahau $ Hua = ConvertTokey $ DigitalIDvalue $ OSInfo = (Get-WmiObject" Win32_OperatingSystem "| tīpakohia te Kapenga) .Caption Ki te ($ OSInfo -match" Windows 10 ") ($ Result) $ value = "ProductName: $ ProductName 'r'n' '+" ProductID: $ ProductID' r'n '' + "Kī Whakauruhia: $ Result" $ value #Save Information Windows Ki te kōnae $ Choice = GetChoice If ($ Choice -eq 0) {$ txtpath = "C:  Users " + $ env: USERNAME + "Desktop" New-Item -Path $ txtpath -Name "WindowsKeyInfo.txt" Uara uara $ -ItemType File -Force | Tangohia te hōtuhi i Windows 10 "}} Kore [Tuhituhi-Whakatupato" Whakahaerehia te tuhinga i te Windows 10 "}} Kore [Tuhituhi-Whakatairanga] I puta he hapa, kaore e taea te tiki te mahinga "}) #Kua whiriwhiringa kaiwhakamahi Mahinga Whakahaere {$ yes = New-Object System.Management.Automation.Host.ChoiceDescription '& Yes'," "$ no = New-Object System.Management.Automation. Host.ChoiceDescription "& No", "" $ choices = [System.Management.Automation.Host.ChoiceDescription []] ($ yes, $ no) $ caption = "Whakaaturanga" $ message = "Tiaki Tiaki ki te kōnae kuputuhi?" $ $ = $ Host.UI.PromptForChoice ($ tapanga, $ karere, $ choices, 0) $ result} $ ConvertToKey ($ Key) {$ Keyoffset = 52 $ isWin10 = [int] ($ Key [66] / 6) -band 1 $ HF7 = 0xF7 $ Key [66] = ($ Key [66] -band $ HF7) -BOr (($ isWin10 -band 2) * 4) $ i = 24 [String] $ Chars = "BCDFGHJKMPQRTVWXY2346789" to {$ Cur = 0 $ X = 14 Mahi {$ Cur = $ Cur * 256 $ Cur = $ Key [$ X + $ Keyoffset] + $ Cur $ Key [$ X + $ Tautuhinga] = [math] :: Te papa ([rua] ($ Cur / 24)) $ Cur = $ Cur% 24 $ X = $ X - 1} i te ($ X -ge 0) $ i = $ i- 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ last = $ Cur} i te ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ lasts) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput-length-1) mehemea ($ last -eq 0) {$ KeyOutput = "N" + $ Keypart2} atu {$ KeyOutput = $ Keypart2.Insert ($ Keypart2.IndexOf ($ Keypart1) + $ Keypart1.length, "N")} $ a = $ KeyOutput.Substring (0.5) $ b = $ KeyOutput.substring (5.5) $ c = $ KeyOutput.substring (10.5) $ d = $ KeyOutput.substring (15 , 5) $ e = $ KeyOutput.substring (20,5) $ keyproduc t = $ a + "-" + $ b + "-" + $ c + "-" + $ d + "-" + $ a $ keyproduct} GetWin10Key

Tiakina te kōnae ki te toronga .ps1. Hei mahi i tenei i roto i te Tuhipoka, i te wa e ora ana, i roto i te "Momo Rauemi", tohua "Ngā kōnae katoa" hei utu mo "Nga tuhinga kuputuhi". Ka taea e koe te whakaora, hei tauira, i raro i te ingoa win10key.ps1

I muri i tenei, timata Windows PowerShell hei Kaiwhakahaere. Hei mahi i tenei, ka taea e koe te tuhi i te PowerShell i roto i te mara rapu, ka panui ki te pereti matau kiore ka whiriwhiri i te mea e hono ana.

I te PowerShell, pato i te whakahau e whai ake nei: Whakaritea-WhakariteaTautohoTautohoTautoha ka whakapumau i tana mahi (tomo ki te Y me te tautuhi tomo ki te urupare ki te tono).

I muri mai, tomo i te whakahau: C: win10key.ps1 (ko tenei whakahau e tohu ana i te huarahi ki te kōnae kua tiakina ki te tuhinga).

Ko te hua o te whakahau, ka kite koe i nga korero e pā ana ki te matua i tautuhia e te Windows 10 (i roto i te waahanga Whakaritea Whakaritea) me te whakaaro ki te tiaki ki te kōnae kuputuhi. Kia mohio koe i te hua hua, ka taea e koe te tautuhi i te kaupapa here whakatikatika i te PowerShell ki tona uara taunoa ma te whakamahi i te whakahau Whakaritea te Whakanoho-WhakatauPolicy

Me pehea te rapu i te matua OEM mai i UEFI

Mena kua tukunahia a Windows 10 i runga i to rorohiko, i to pona ranei, ka hiahia koe ki te tiro i te matua OEM (kei te rongoa i roto i te papahoa UEFI), ka taea e koe te whakamahi i tetahi tono noa e hiahia ana koe ki te rere i runga i te raina whakahau hei kaiwhakahaere.

Wmic path softwarelicensingservice tiki OA3xOriginalProductKey

Hei painga, ka whiwhi koe i te matua o te rorohiko i mua i te whakauru mai kei te wa kei roto i te punaha (he rereke mai i te matua e whakamahia ana e te OS o mua, engari ka taea te whakamahi hei whakahoki i te putanga taketake o Windows).

Ko tetahi atu putanga o te whakahau ano, engari mo te Windows PowerShell

(Get-WmiObject -query "tīpakohia mai i SoftwareLicensingService") OA3XOriginalProductKey

Me pehea te tiro i te matua o te Windows 10 i tāutatia e whakamahi ana i te tuhinga a te VBS

Ko tetahi atu tuhi, kaua mo te PowerShell, engari i roto i te hōputu VBS (Visual Basic Script), e whakaatu ana i te hua hua i utaina ki runga i te rorohiko rorohiko Windows 10 ranei, me te mea pea, he pai ake mo te whakamahi.

Tāruahia nga rarangi i raro nei.

Tautuhi WshShell = CreateObject ("WScript.Shell") regKey = "HKLM SOFTWARE  Microsoft Windows NT  CurrentVersion " DigitalProductId = WshShell.RegRead (regKey & "DigitalProductId") Win10ProductName = "Windows 10 Putanga:" & WshShell.RegRead (regKey & "ProductName") & vbNewLine Win10ProductID = "Hua ID:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 Key:" Win WinProPro, 01010, 10, 10, 10; & ProductKeyLabel MsgBox (Win10ProductID) Mahinga ConvertToKey (regKey) Const KeyOffset = 52 isWin10 = (regKey (66)  6) 1 1Kono (66) = (regKey (66) & & HF7) Ko ((isWin10 me 2) * 4) j = 24 Chars = "BCDFGHJKMPQRTVWXY2346789" Hanga Cur = 0 y = 14 Hanga Cur = Cur * 256 Cur = regKey (y + KeyOffset) + Cur CurKey (y + KeyOffset) = (Cur 24) Cur = Whakawhiti Kōpaki 24 y = y -1 Loop While y> = 0 j = j -1 winKeyOutput = Mid (Tae, Cur + 1, 1) & WinKeyOutput Last = Cur Loop I j> = 0 Ki te (i sWin10 = 1) Katahi te keypart1 = Mid (WinKeyOutput, 2, Last) whakauru = "N" winKeyOutput = Whakamahia (WinKeyOutput, keypart1, keypart1 & whakauru, 2, 1, 0) Ki te Last = 0 Na WinKeyOutput = whakauru & WinKeyOutput Whakamutunga Ki te a = Mid (WinKeyOutput, 1, 5) b = Mid (WinKeyOutput, 6, 5) c = Mid (WinKeyOutput, 11, 5) d = Mid (WinKeyOutput, 16, 5) e = Mid (WinKeyOutput, 21, 5) ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & End End

Me huri mai i roto i te whakakitenga i raro nei.

I muri i tenei, tiakina te tuhinga me te whakawhitinga .vbs (mo tenei, i te korero Tiaki, tīpakohia "Ngā kōnae katoa" i roto i te "Rauemi Kōnae".

Haere ki te kōpaki i tiakina ai te kōnae, ka whakahaerehia - i muri i te whakaritenga ka kite koe i te matapihi ka whakaatuhia te hua hua me te putanga o Windows 10.

Ka rite ki taku kua kite atu, he maha nga papatono mo te tiro i te mahinga - i roto i te Produkey me te Speccy, me etahi atu taputapu mo te tirotiro i nga momo rorohiko, ka taea e koe te kite i tenei korero. Engari, e mohio ana ahau, ko nga huarahi e whakaaturia ana i konei ka nui noa atu i nga wa katoa.