Ma hope koke iho o ka hoʻokuʻuʻiaʻana o ke OS hou, hoʻomaka nā mea a pau e noʻonoʻo pehea eʻike ai i ka kī o ke Windows 10 i hoʻonohonohoʻia, akā i ka hapanui o nā manawaʻaʻole i koiʻia. Akā nō naʻe, ua pili mua kēia hana, a me ka weheʻana o nā rorohiko a me nā kamepiula pūnaewele me Windows 10 i hoʻouka muaʻia, manaʻo wau eʻoi aku ka nui o ka noi.
Hōʻike kēia kumuhana i nā ala maʻalahi e loaʻa ai kāu kīhana Windows 10 ma ka hoʻohanaʻana i ke laina kauoha, Windows PowerShell, a me nā polokalamu'ē aʻe. Ma ka manawa like e haʻi ana au i ke kumu e hōʻike ai i nāʻikepili'ē aʻe i nāʻikepili likeʻole, pehea e nānā maka i ka kī'OEM ma UEFI (no ka OS i hoʻonohonohoʻia ma ka computer) a me ke kī o ka pūnaewele i hoʻonohonohoʻia.
Nānā: ināʻoe i hoʻouka hou i Windows 10, a i kēia manawa e makemake anaʻoe eʻike i ka papa hana no kahi hoʻonohonoho maʻemaʻe ma ka papahana like, hiki iāʻoe ke hana, akā,ʻaʻole pono kēia (ʻoiai, e loaʻa iāʻoe ke kī e like me nā kānaka'ē aʻe. ua loaʻa iā ia kaʻumi keu ma ka hōʻoiaʻana). I ka manawa e hoʻokomo ai i ka Windows 10 mai kahi pūnaewele lele a iʻole diski paha, e noiʻiaʻoe e komo i kahi hua huahana, akā hiki iāʻoe ke hoʻokuʻu i kēia hana ma ka pāʻana "ʻAʻole aʻu kī nui" ma ka puka hulina (a kākauʻo Microsoft e pono e hanaʻia kēia).
Ma hope o ka hoʻoukaʻana a me ka hoʻohuiʻana i ka Pūnaewele, e hoʻololi wikiwikiʻia ka pūnaewele, no ka mea, ua "nakinaki"ʻia ka hoʻoukaʻana i kāu kamepiula ma hope o ka hoʻohou. ʻO ia keʻano o ka mākau komo ma ka papahanaʻo Windows 10 ma kahi o nā mea kūʻai wale no nā pūnaewele kūʻai o ka pūnaewele. Nānā: no kahi hoʻonohonoho hoʻomaʻemaʻe o Windows 10, hiki iāʻoe ke hoʻohana i ke kī huahana mai ka Windows 7, 8 a me 8.1 i hoʻonohonoho muaʻia ma ka papahana like. Nā mea hou aku e pili ana i kēia hoʻoukaʻana: Hoʻoukaʻiaʻana o Windows 10.
E nānā i ka huahana huahana o ka Windows 10 i hoʻonohonohoʻia a me ka key OEM ma ShowKeyPlus
He nui nā polokalamu no nā kumu i hōʻikeʻia maʻaneʻi, a he nui nā mea aʻu i kākau ai ma kaʻatikala. Pehea eʻike ai i ke kī huahana o Windows 8 (8.1) (kūpono iā Windows 10), akā makemake wau i ka ShowKeyPlus,ʻaʻohe mea e pono ai ke kauʻana a hōʻikeʻia ʻElua mau kī: ka pūnaewele i hoʻonohonohoʻia a me ka key OEM i UEFI. I ka manawa like, haʻi iāʻoe i ka papa o Windows ka kī EUFI no. Eia kekahi, ma ka hoʻohanaʻana i kēia polokalamu, hiki iāʻoe keʻike i ke kī mai kekahi papa'ē aʻe me Windows 10 (ma kekahi puliki'ē aʻe, ma ka waihona waihona Windows.old), a ma ka manawa like e nānā i ke kī no ka pono (Check Product Key item).
ʻO nā mea a pau e ponoʻoe e hana ke holo i ka papahana aʻike i nāʻike i hōʻikeʻia:
- ʻO ka keystone kīʻia ke kī o ka pūnaewele i hoʻonohonohoʻia.
- 'OEM Key (Key Key) - ke kī o ke OS i hoʻonohonoho muaʻia, ināʻo ia ma ka kamepiula.
Hiki iāʻoe ke mālama i kēiaʻikepili i kahi kikokikona no ka hoʻohana houʻana a iʻole kahi waihona waihona ma ke kaomiʻana i ke pihi "Save". Ma ke ala,ʻo ka pilikia me keʻanoʻo kekahi mau papahana'ē aʻe e hōʻike ana i nā huahana likeʻole no Windows,ʻo ka mea wale nō iʻikeʻia e nānā kekahi o lākou i ka pūnaewele i hoʻonohonohoʻia, kekahi ma UEFI.
Pehea eʻike ai i ka huahana huahana o Windows 10 ma ShowKeyPlus - wikiō
Hōʻike ShowKeyPlus mai http://github.com/Superfly-Inc/ShowKeyPlus/releases/
E nānā i kahi kī i hoʻokomoʻia e Windows 10 me ka hoʻohanaʻana i PowerShell
Ma kahi e hiki ai iāʻoe ke hana me nā polokalamu'ē aʻe, makemake wau e hana me kaʻole o lākou. ʻO ka nānāʻana i ke kī nui o Windows 10 kahi hana. Inā maʻalahi iāʻoe ke hoʻohana i ka polokalamu kumuhana no kēia, e kaomi i ke alakaʻi ma lalo nei. (Ma ke ala, i kekahi mau polokalamu no ka nānāʻana i nā kī i hoʻouna iā lākou i nā mea pili)
Hoʻokomoʻoleʻia kahi kauoha PowerShell māmā a kauohaʻole paha eʻike i ke kī o ka pūnaewele i hoʻonohonohoʻia i kēia manawa (aia kekahi kauoha e hōʻike ana i ke kī mai UEFI, e hōʻike au ma lalo nei, akā,ʻo ia ke kī o ka pūnaewele i kēia manawa i ka mea likeʻole). Akā, hiki iāʻoe ke hoʻohana i ka hōʻailona PowerShell i hanaʻia e hōʻike ana i kaʻike kūpono (ʻo ka mea kākau o ka hōkeoʻo Jakob Bindslet).
Eia ka mea e pono aiʻoe e hana. ʻO ka mea mua, e hoʻomaka i ka papa helu a kope i ke code i hōʻikeʻia ma lalo nei.
#Main Function Function GetWin10Key {$ Hklm = 2147483650 $ Kālena = $ env: Pūnaewele $ regPath = "Pūnaewele Microsoft Windows NT CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Kākihana pakiaka ka mea maʻamau: stdRegProv "#GetBinaryValue waiwai $ $ = $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Digital] $ DigitalIDvalue = $ Object.uValue #Iu loaʻa ka hopena # Inā ($ DigitalIDvalue) {#Get inoa hua a Hua'ōlelo ID $ ProductName = (Get-itemproperty -Path "HKLM: Pūnaewele Microsoft Windows NT CurrentVersion" -Name "Huahana") ProductName $ ProductID = (Get-itemproperty -Path "HKLM: Pūnaewele Microsoft Windows NT Ke hoʻohana neiʻo "CurrentMail" -Name "ProductId") ProductId #Convert binary value to $ result = ConvertTokey $ DigitalIDvalue $ OSInfo = (Get-WmiObject "Win32_OperatingSystem" | koho Kalākaua) .Caption Inā ($ OSInfo -match "Windows 10") Inā loaʻa iā $ $ = = "Huahana: $ ProductName" '"+" ProductID: $ ProductD' "+" Kīhua i Kīʻia: $ Result "$ value #Save Windows info I kahi faila $ Choice = GetChoice Inā ($ Choice -eq 0) {$ txtpath = "C: Users " + $ env: USERNAME + "Desktop" New-Item -Path $ txtpath -Name "WindowsKeyInfo.txt" ʻO ka waiwai waiwai kālā -ItemType File -Force | Elseif ($ Choice -eq 1) {Exit}} Else {Hoʻolahaʻana ') E hoʻoholo i ka hōʻailona ma Windows 10 "}} Else {Hoʻolahaʻana" E holo i ka hōʻali ma Windows 10 "}}ʻEle {Hoʻolahaʻana" Ua hewa ka hana, hikiʻole ke loaʻa ke kī "}} #Ke koho koho koho Kōnae GetChoice {$ yes = New-Object System.Management.Automation.Host.ChoiceDescription" & Yes "," "$ no = New-Object System.Management.Automation. Hostpage "& no", "" $ koho = [System.Management.Automation.Host.ChoiceDescription []] ($ yes, $ no) $ hōkeo = "Hōʻoia" $ message = "E mālama i kahi ki kahi pane?" $ result = $ Host.UI.PromptForChoice ($ hoʻopuka, $ pōmaika, koho koho, 0) $ result} $ ConvertToKey ($ Key) {$ Keyoffset = 52 $ heWin10 = [int] ($ Key [66] / 6) -band 1 $ HF7 = 0xF7 $ Kī [66] = ($ Key [66] -band $ HF7) -BOr (($ isWin10 -band 2) * 4) $ i = 24 [Kekona] $ Chars = "BCDFGHJKMPQRTVWXY2346789" hana i ka $ $ $ [$ X + $ Keyoffset] = $ $ a $ $ $. [math] :: Papa ([double] ($ Cur / 24)) $ Cur = $ Cur% 24 $ X = $ X - 1) oiai ($ X -ge 0) $ i = $ i- 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ last = $ Cur) oiai ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ hope) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput-keʻokoʻa-1) inā ($ last -eq 0) {$ KeyOutput = "N" + $ Keypart2)ʻokoʻa $ $ $ KeyOutput = $ Keypart2.Inākaho ($ Keypart2.IndexOf ($ Keypart1) + $ Keypart.length, "N")} $ a = $ KeyOutput.Substring (0.5) $ b = $ KeyOutput.substring (5.5) $ c = $ KeyOutput.substring (10.5) $ d = $ KeyOutput.substring (15 , 5) $ a = $ KeyOutput.substring (20,5) $ keyproduc t = $ a + "-" + $ b + "-" + $ c + "-" + $ d + "-" + $ a $ keyproduct} GetWin10Key
E mālama i ka pūnaewele me ka extension extension .ps1. No ka hanaʻana i kēia ma ka Notepad, i ka wā e mālama ai, ma ka "File type" kahua, e koho i "ʻO nā kōnae a pau" ma kahi o "Text texts". Hiki iāʻoe ke mālama, no ka laʻana, ma lalo o ka inoa win10key.ps1
Ma hope o kēlā, hoʻomaka i Windows PowerShell ma keʻano he mea hoʻoponopono. No ka hanaʻana i kēia, hiki iāʻoe ke hoʻomaka i ka hoʻohanaʻana i PowerShell ma ka māhele huli, a laila e kaomi me ka pāʻani'ākau pono a koho i ka mea e pili ana.
I PowerShell, e paʻi i kēia kauoha: Hoʻonohonoho hoʻoponopono-hoʻopau ae hōʻoiaʻiʻo i kāna hana (komo i loko o Y a pēhi i kaomi ma ka pane i ka noi).
A laila, e komo i ke kauoha: C: win10key.ps1 (ke kuhikuhi nei kēia kauoha i ke ala i ka waihona i ho'ōlaʻia me ka hōʻailona).
No ka hopena o ke kauoha, eʻikeʻoe i kaʻike e pili ana i ke kī i hoʻokomoʻia e ka Windows 10 (ma ka mahele pūnaewele i hoʻonohonohoʻia) a me kahi manaʻo e mālama i kahi pūnaewele. Keʻikeʻoe i ka huahana huahana, hiki iāʻoe ke hoʻoholo i ka kulekele hoʻoponopono palapala ma PowerShell i kona kumu kūpono me ka hoʻohanaʻana i ke kauoha Hoʻopaʻaʻiaʻo Set-ExecutionPolicy
Pehea eʻike ai i ka key OEM mai UEFI
Inā hoʻonohonohoʻiaʻo Windows 10 ma kāu kamepiula a ponaʻole paha a makemakeʻoe e nānā i ka kī'OEM (i mālamaʻia i loko o ka motherboard EUFI), hiki iāʻoe ke hoʻohana i ke kauoha māmā e ponoʻoe e holo ma ka laina kauoha e like me ke luna hoʻomalu.
wmic alaʻike pono ka hana polokalamu o ka'ōnaehana OA3xOriginalProductKey
Ma muli o ka hopena, e loaʻa iāʻoe ke kī o ka pūnaewele i hoʻonohonoho muaʻia ināʻo ia i loko o ka pūnaewele (hiki keʻano i ka kī i hoʻohanaʻia e ke OS i kēia manawa, akā hiki ke hoʻohanaʻia no ka hoʻihoʻiʻana i ka polokalamu o Windows).
ʻO kekahi o ka papahana hoʻokahi, akā no Windows PowerShell
(Get-WmiObject -query "koho" mai SoftwareLicensingService "). OA3xOriginalProductKey
Pehea e nānā i ke kī o ka Windows 10 i hoʻonohonohoʻia me ka hoʻohanaʻana i ka'ōlelo VBS
A no kekahi hōʻailona'ē aʻe,ʻaʻole no PowerShell hou, akā ma ka palapala VBS (Visual Basic Script), e hōʻike ana i ke kī huahana i hoʻokomoʻia ma kahi kamepiula Windows 10 a pona paha, a hiki paha i ka mea hoʻohana hou.
E kākau i nā laina ma lalo nei.
Hoʻopaʻa WshShell = CreateObject ("WScript.Shell") regKey = "HKLM Pūnaewele Microsoft Windows NT Keʻena CurrentVersion" DigitalProductId = WshShell.RegRead (regKey & "DigitalProductId") Win10ProductName = "Windows 10 Hōʻike:" & WshShell.RegRead (regKey & "ProductName") & vbNewLine Win10ProductID = "Hua ID:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 Key:" 10 Win WinProPro, 01010, 10, 10, 10; & ProductKeyLabel MsgBox (Win10ProductID) Mea hoʻohana ConvertToKey (regKey) Key Keystone = 52 isWin10 = (regKey (66) 6) a me 1 regKey (66) = (regKey (66) & & HF7) aiʻole ((isWin10 a me 2) * 4) J = 24 Kālā = "BCDFGHJKMPQRTVWXY2346789" E hana = 0 y = 14 Hōʻike Cur = Cur + 256 Cur = regKey (y + KeyOffset) + Cur CurKey (y + KeyOffset) = (Cur 24) Cur = Hōʻole kekona 24 y = y -1 Loop I y y = = 0 j = j -1 winKeyOutput = Mid (Chars, Cur + 1, 1) & winKeyOutput Last = Loop Loop Aʻo j> = 0 Inā (i sWin10 = 1) A laila, keypart1 = Mid (winKeyOutput, 2, Last) hoʻokomo = "N" winKeyOutput = Hoʻololi (winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0) Inā Hope = 0 A laila winKeyOutput = hoʻokomo & winKeyOutput End 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) Huli ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & End
Pono e hoʻololi e like me ka kiʻiiho ma lalo nei.
Ma hope o kēia, e mālama i ka palapala me ka extension extension .vbs (no kēia, ma ka Save dialog, e koho i "nā mea a pau" i loko o ka "File file".
E hele i ka waihona kahi i hoʻopakeleʻia ai ka file a holo i ka mea - ma hope o ka hoʻopukaʻana eʻikeʻoe i ka puka i kahi e hoʻokomoʻia ai ka huahana a me ka hōʻoia o Windows 10 i hoʻokomoʻia.
E like me kaʻu iʻike ai, aia he nui nā polokalamu no ka nānāʻana i kahi kī - ma Produkey a me Speccy, a me nā pono'ē aʻe no ka nānāʻana i nāʻano o kahi kamepiula, hiki iāʻoe keʻike i kēiaʻike. Akā, ke maopopo nei iaʻu,ʻo nāʻano i ho'ākākaʻia maʻaneʻi e lawa ana ma nā mea a pau.