I le taimi lava na tuʻuina atu ai le OS fou, na amata ai ona mafaufau tagata uma i le auala e maua ai le ki o le Windows 10 faʻapipiʻiina, e ui i le tele o mataupu e le manaʻomia. Ae ui i lea, o le galuega ua uma ona talafeagai, ma faʻatasi ai ma le faʻasaʻoina o komepiuta ma ponapoti feaveaʻi ma le Windows 10 ua maeʻa faʻaleleia, ou te manatu o le a sili atu ona manaʻomia.
O lenei taʻiala o loʻo faʻaalia ai ni auala faigofie e maua ai lau kenera oloa o le Windows 10 e faʻaaoga ai le laina o le tulafono, Windows PowerShell, ma polokalama faʻa-tolu. I le taimi lava lea o le a ou taʻuina pe aisea e faʻaalia mai ai polokalame eseese i faʻamatalaga eseese, pe faʻapefea ona vaʻavaʻai le eseesega o le OEM i le UEFI (mo le OS na muamua i luga o le komepiuta) ma le ki o le polokalama faʻapipiʻi nei.
Faʻamatalaga: afai na e faia se faʻafouga saʻo i le Windows 10, ma o lea e te manaʻo e iloa le kulie faʻaagaga mo se mea mama i luga o le komepiuta lava e tasi, e mafai ona e faia, ae e le manaʻomia (e le gata i lea, o le ai ai le ki tutusa ma isi tagata maua le sefulu pito i luga e ala ile toe faʻafouina). A o faʻapipiʻiina le Windows 10 mai se masini moli po o se kiliva, o le a talosagaina oe e ulufale i se kenera oloa, ae e mafai ona e faaseʻeina lenei laasaga i le kilikiina "E leai sau au oloa" i le faamalama o fesili (ma ua tusia e Microsoft o le mea lea e tatau ona fai).
A maeʻa ona faʻapipiʻi ma fesoʻotaʻi i le Initaneti, o le a faʻaaogaina aunoa le polokalama, talu mai le "faʻapipiʻiina" i le komepiuta pe a uma le faʻafouga. O lona uiga, o le ki autu i totonu o le polokalama o le Seti Windows 10 ua na o le au faatau mai o lomiga Faʻamatalaga o le polokalama. Faʻasalaga: mo se faʻapipiʻiga mama o le Windows 10, e mafai ona e faʻaaogaina le kenera oloa mai le Windows 7, 8 ma le 8.1 na faʻapipiʻi muamua i luga o le komepiuta lava. E sili atu i lenei faʻasagaga: Faʻatinoina o le Windows 10.
Vaʻai le ki o le Windows 10 ma le OEM faʻapipiʻi i le ShowKeyPlus
E tele polokalame mo faʻamoemoega o loʻo faʻamatalaina iinei, o le tele o nei mea na ou tusia i le tusiga E faʻapefea ona maua le ki o le Windows 8 (8.1) (talafeagai mo le Windows 10), ae na ou fiafia talu ai nei i le ShowKeyPlus, lea e le manaʻomia le faʻatulagaina ma faʻaalia eseese E lua ki: o le faʻapipiʻiina o le polokalame ma le OEM key i UEFI. I le taimi lava e tasi, e taʻuina mai ia te oe le fea o faʻamatalaga o le Windows le UEFI key mo. E le gata i lea, o le faʻaaogaina o lenei polokalama, e mafai ona e mauaina le ki mai se isi pusa i le Windows 10 (i luga o se isi puʻe malosi, i le pusa o Windows.old), ma i le taimi lava e siaki ai le ki mo le faʻamaoni (Siaki Mea a le Kamupani).
Pau lava le mea e tatau ona e faia o le taʻavale lea i le polokalama ma vaʻai i faʻamatalaga faʻaalia:
- O loʻo tuʻuina atu le ki o le ki o le faʻapipiʻiina o le polokalama.
- OEM Key (Key Key) - o le ki o le OS muamua, pe afai o loʻo i luga o le komepiuta.
E mafai foi ona e teuina lenei faʻamatalaga i se faila faila mo le faʻaoga atili poʻo le teuina o faamaumauga ile kiliki i le "Save" button. I le auala, o le faafitauli i le mea moni e faapea o nisi taimi e ese ai polokalame e faaali ai oloa eseese mo Windows, e aliali mai ona o le mea moni o nisi oi latou e matamata i le polokalama faʻapipiʻi, isi i UEFI.
E faʻapefea ona maua le ki o le Windows 10 i le ShowKeyPlus - vitio
Faʻaalia ShowKeyPlus mai le http://github.com/Superfly-Inc/ShowKeyPlus/releases/
Vaavaai i se faʻapipiʻi na faʻaogaina e le Windows 10 faʻaaogaina o le PowerShell
O fea e mafai ona e faia e aunoa ma ni polokalama faʻa-tolu, ou te manaʻo e faia e aunoa ma latou. O le matamataina o le Key 10 key product is one such task. Afai e sili atu ona faigofie mo oe le faʻaaogaina o le polokalama saoloto mo lenei mea, tusi i totonu o le taʻiala i lalo. (I le auala, o nisi polokalama mo le matamataina o ki e auina atu ai i latou e fiafia iai)
O se polokalama faigofie a le PowerShell po o le laina o le laina e suʻeina ai le ki o le faʻapipiʻiina o le polokalama (o loʻo i ai se faʻatonuga e faʻaalia ai le key from UEFI, o le a ou faʻaalia i lalo, ae masani lava o le kī o le faigamalaga o loʻo i ai nei e ese mai le setete muamua). Ae e mafai ona e faʻaaoga le tusiga PowerShell sauniuni e faʻaalia ai le faʻamatalaga talafeagai (o le tusitala o le tusiga o Jakob Bindslet).
O le mea lenei e tatau ona e faia. Muamua lava, amata le tagavai ma kopi le tulafono o loʻo tuʻuina atu i lalo.
#Main Function Function GetWin10Key {$ Hklm = 2147483650 $ Target = $ env: COMPUTERNAME $ regPath = "Software Microsoft Windows NT CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target root Tesea: stdRegProv "#Get registry value $ Object = $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Array] $ DigitalIDvalue = $ Object.uValue #If get suc # If ($ DigitalIDvalue) {#Get productcnt name and oloa ID $ ProductName = (Get-itemproperty -Path "HKLM: Software Microsoft Windows NT CurrentVersion" --Name "ProductName") ProductName $ ProductID = (Get-itemproperty -Path "HKLM: Software Microsoft Windows NT Faʻapitoa #No #Convert numera binary i le $ numera numera $ Result = ConvertTokey $ DigitalIDvalue $ OSInfo = (Get-WmiObject "Win32_OperatingSystem" | filifili Caption) .Caption If ($ OSInfo -match "Windows 10") {if ($ Result) {string] $ value = "ProductName: $ ProductName 'r'n"' + "ProductID: $ ProductID 'r'n"' + "Key Installed: $ Result" $ value #Save Windows info I le faila $ Choice = GetChoice If ($ Choice -eq 0) {$ txtpath = "C: Users " + $ env: USERNAME + " Desktop" New-Item -Path $ txtpath -Name "WindowsKeyInfo.txt" - Taumafa $ value -ItemType File -Force | Out-Null} Elseif ($ Choice -eq 1) {Exit}} Else {Tusi-lapataiga 'Faʻasaʻo le script i le Windows 10 "}} Else {Write-Warning" Faʻatoʻa le script in Windows 10 "}} Else {Write-Warning' Ua i ai se mea sese, e le mafai ona maua le ki "}} #Get user choice Function GetChoice {$ 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) $ titleption = "Confirmation" $ message = "Save key to file text?" $ $ = $ Host.UI.PromptForChoice ($ faʻasologa, $ faʻailoga, $ filifiliga, 0) $ taui} $ 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 [Faʻo] $ Chars = "BCDFGHJKMPQRTVWXY2346789" fai {$ Cur = 0 $ X = 14 Faia {$ Cur = $ Cur * 256 $ Cur = $ Key [$ X + $ Keyoffset] + $ Cur $ Key [$ X + $ Keyoffset] = [math] :: Papa ([double] ($ Cur / 24) $ Cur = $ Cur% 24 $ X = $ X - 1} ao ($ X -ge 0) $ i = $ i- 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ last = $ Cur} ao $ ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ last) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput.length-1) pe afai ($ last -eq 0) {$ KeyOutput = "N" + $ Keypart2} isi {$ 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 + "-" + $ e $ keyproduct} GetWin10Key
Faasao le faila i le extension .ps1. Ina ia faia lenei mea i le Notepad, pe a faʻapipiʻi, i le "File file", filifili "Faila uma" nai lo "Tusitusiga pepa". E mafai ona e faʻasaoina, mo se faʻataʻitaʻiga, i lalo o le igoa win10key.ps1
A maeʻa lena, amata Windows PowerShell o le Pule. Ina ia faia lenei mea, e mafai ona e amata tapenaina le PowerShell i le field search, ona kiliki lea i le ki o le kuki saʻo ma filifili mea e tutusa.
I le PowerShell, pasi le poloaiga lenei: Seti-ExecutionPolicy RemoteSigned ma faʻamaonia lona faʻatinoga (ulufale i Y ma lolomi Ulufale e tali i le talosaga).
Le isi, ulu i le poloaiga: C: win10key.ps1 (o lenei poloaiga e faʻamaonia ai le auala i le faila faʻamauina i le tusiga).
O le iʻuga o le poloaiga, o le a e vaʻai i faʻamatalaga e uiga i le faʻapipiʻiina e le Windows 10 (i le Vaega Faʻatulagaina Faʻatonu) ma se fautuaga e teu ai i se faila faila. O le taimi lava e te iloa ai le ki o le oloa, e mafai ona e toe faʻavaeina le faiga o le pepa o le pepa i PowerShell i lona tau le aoga e faʻaaoga ai le poloaiga Seti-ExecutionPolicy faʻatapulaʻa
E faʻapefea ona maua le key OEM mai UEFI
Afai na faʻauluina muamua le Windows 10 i luga o lau komepiuta poʻo le komepiuta ma e te manaʻo e matamata i le OEM key (o loʻo teuina i totonu o le motherboard UEFI), e mafai ona e faʻaaogaina se poloaiga faigofie e te manaʻomia e tamomoe ai i le laina o le faʻatonuina o se pule.
wmic path softwarelicensingservice maua OA3xOriginalProductKey
O le iʻuga, o le ae mauaina le ki o le polokalama na faʻapipiʻiina pe afai o iai i totonu o le polokalama (atonu e ese mai le ki o loʻo faʻaogaina e OS o loʻo iai nei, ae mafai ona faʻaaoga e toe faafoi ai le uluai lomiga o Windows).
O le isi kopi o le tulafono lava e tasi, ae mo Windows PowerShell
(Get-WmiObject -query "filifili mai le SoftwareLicensingService") OA3xOriginalProductKey
Faʻafefea ona matamata le ki o le Windows 10 faʻapipiʻiina faʻaaogaina le VBS script
Ma se isi tusitusiga, ae le o le PowerShell, ae i totonu o le VBS (Visual Basic Script), o loʻo faʻaalia ai le faʻaoga o le oloa ua faʻapipiʻiina i luga o se komepiuta Windows 10 poʻo se komepiuta ma atonu e sili atu ona talafeagai mo le faʻaaogaina.
Kopi laina i lalo.
Set WshShell = CreateObject ("WScript.Shell") regKey = "HKLM SOFTWARE Microsoft Windows NT CurrentVersion " DigitalProductId = WshShell.RegRead (regKey & "DigitalProductId") Win10ProductName = "Windows 10 Version:" & WshShell.RegRead (regKey & "ProductName") & vbNewLine Win10ProductID = "ID product:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 Key:" 10 Win WinProPro, 01010, 10, 10, 10; & ProductKeyLabel MsgBox (Win10ProductID) Fonotaga ConvertToKey (regKey) Const KeyOffset = 52 isWin10 = (regKey (66) 6) ma le 1 regKey (66) = (regKey (66) ma & HF7) Po o ((isWin10 ma 2) * 4) x = 24 Poloka = "BCDFGHJKMPQRTVWXY2346789" Fai Cur = 0 y = 14 Fai Cur = Cur * 256 Cur = regKey (y + KeyOffset) + Cur regKey (y + KeyOffset) = (Cur 24) Cur = Cur Mod 24 y = y -1 Loop A o y> = 0 j = j -1 winKeyOutput = Mid (Chars, Cur + 1, 1) & winKeyOutput Faatoa = Lolo Lolo A o j> = 0 Afai (i sWin10 = 1) I le komika1 = Ogatotonu (winKeyOutput, 2, Mulimuli) insert = "N" winKeyOutput = Sui (winKeyOutput, keypart1, keypart1 & faaofi, 2, 1, 0) Afai o le Mulimuli = 0 Ona manumalo WinyOutput = faaofi & winKeyOutput End If a = Mid (winKeyOutput, 1, 5) b = Mid (winKeyOutput, 6, 5) c = Mid (winKeyOutput, 11, 5) d = Mid (winKeyOutput, 16, 5) i = Mid (winKeyOutput, 21, 5) ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e Maea Taunuuga
E tatau ona faʻaalia e pei o le faʻamalama i lalo.
A maeʻa lenei mea, faʻasaʻo le pepa faʻatasi ma le extension extension .vbs (mo lenei, i le Save dialog, filifili "Faila uma" i le "File type" field.
Alu i le pusa i le mea na faʻasaoina ai le faila ma faʻataʻitaʻiina - a maeʻa le faʻatinoga o le a e vaʻaia se faamalama lea o le a faʻaalia ai le kenera oloa ma le faʻaaliga o le Windows 10 faʻapipiʻiina.
E pei ona ou matauina, e tele polokalame mo le matamataina o se ki - i le Produkey ma Speccy, faapea foi ma isi mea aoga mo le matamataina o uiga o se komepiuta, e mafai ona e mauaina lenei faamatalaga. Ae, ou te mautinoa, o auala o loʻo faʻamatalaina iinei o le a lava i le toetoe o soo se tulaga.