Bi o ṣe le wa awọn bọtini ọja Windows 10

Lẹsẹkẹsẹ lẹhin igbasilẹ ti OS titun, gbogbo eniyan bẹrẹ si ni imọran bi a ṣe le wa bọtini ti Windows 10 ti a fi sori ẹrọ, biotilejepe ni ọpọlọpọ awọn igba o ko nilo. Ṣugbọn, iṣẹ naa ti wa tẹlẹ, ati pẹlu ifasilẹ awọn kọmputa ati kọǹpútà alágbèéká pẹlu Windows 10 ti a ṣafikun, Mo ro pe yoo jẹ diẹ sii ni wiwa.

Ilana yii ṣe apejuwe awọn ọna ti o rọrun lati wa bọtini ọja Windows rẹ nipa lilo laini aṣẹ, Windows PowerShell, ati awọn eto-kẹta. Ni akoko kanna Mo ma darukọ idi ti awọn eto oriṣiriṣi fihan awọn data oriṣiriṣi, bawo ni a ṣe le wo lọtọ OEM bọtini ni UEFI (fun OS ti o jẹ akọkọ lori kọmputa) ati bọtini ti eto ti a fi sori ẹrọ bayi.

Akiyesi: ti o ba ṣe igbesoke igbasoke si Windows 10, bayi o fẹ lati mọ bọtini titẹsi fun fifi sori ẹrọ ti o mọ lori kọmputa kanna, o le ṣe, ṣugbọn eyi kii ṣe dandan (Yato si, iwọ yoo ni bọtini kanna bii awọn eniyan miiran gba awọn oke mẹwa nipasẹ mimuṣe). Nigbati o ba nfi Windows 10 sori ẹrọ lati fọọmu ayọkẹlẹ tabi disk, ao beere fun ọ lati tẹ bọtini ọja kan, ṣugbọn o le foju igbesẹ yii nipa titẹ "Emi ko ni bọtini ọja" ninu window ìbéèrè (ati Microsoft kọ pe eyi ni ohun ti o nilo lati ṣe).

Lẹhin fifi sori ati sisopọ si Intanẹẹti, ao mu eto yii ṣiṣẹ laifọwọyi, niwon ti a ti "sisọ" si iṣẹ kọmputa rẹ lẹhin imudani. Iyẹn ni, aaye iwọle bọtini ni eto fifi sori ẹrọ Windows 10 wa bayi fun awọn ti o ra awọn ẹya tita ti eto. Eyi je eyi: fun fifi sori ẹrọ ti Windows 10, o le lo bọtini ọja lati Windows 7, 8 ati 8.1 ti a fi sori ẹrọ tẹlẹ lori kọmputa kanna. Siwaju sii nipa ifisilẹ yii: Iṣiṣẹ ti Windows 10.

Wo bọtini ọja ti Windows 10 ti a fi sori ẹrọ ati bọtini OEM ni ShowKeyPlus

Awọn eto pupọ wa fun awọn idi ti a ṣe apejuwe nibi, ọpọlọpọ ninu eyi ti mo ti kowe ninu akọọlẹ Bawo ni lati wa bọtini bọtini ti Windows 8 (8.1) (ti o dara fun Windows 10), ṣugbọn Mo fẹran ShowKeyPlus laipe, eyi ti ko nilo fifi sori ẹrọ ati fihan ni lọtọ Bọtini meji: eto ti a fi sori ẹrọ bayi ati bọtini OEM ni UEFI. Ni akoko kanna, o sọ fun ọ ti ikede Windows jẹ bọtini UEFI fun. Pẹlupẹlu, nipa lilo eto yii, o le wa bọtini lati folda miran pẹlu Windows 10 (lori dirafu miiran, ninu folda Windows.old), ati ni akoko kanna ṣayẹwo bọtini fun afọwọṣe (Ṣayẹwo Ẹya Ọja Ọja).

Gbogbo ohun ti o nilo lati ṣe ni ṣiṣe eto naa ati ki o wo alaye ti o han:

 
  • Bọtini ti a fi sori ẹrọ jẹ bọtini ti eto ti a fi sori ẹrọ.
  • OEM Key (Key Key) - bọtini ti OS ti o ti ṣaju, ti o ba jẹ lori kọmputa naa.

O tun le fi data yii pamọ si faili faili fun lilo siwaju tabi ipamọ ipamọ nipa titẹ bọtini "Fipamọ". Nipa ọna, iṣoro pẹlu otitọ pe awọn eto oriṣiriṣi miiran ṣe afihan awọn bọtini ọja ti o yatọ fun Windows, o han nikan ni otitọ diẹ ninu awọn ti wọn wo ni eto ti a fi sori ẹrọ, awọn miran ninu EUFI.

Bi o ṣe le wa awọn bọtini ọja ti Windows 10 ni ShowKeyPlus - fidio

Gba awọn ShowKeyPlus lati http://github.com/Superfly-Inc/ShowKeyPlus/releases/

Wo bọtini ti a fi sori ẹrọ nipasẹ Windows 10 nipa lilo PowerShell

Nibo ni o le ṣe laisi awọn eto-kẹta, Mo fẹ lati ṣe laisi wọn. Wiwo bọtini ọja Windows 10 jẹ ọkan iru iṣẹ bẹẹ. Ti o ba rọrun fun ọ lati lo eto ọfẹ fun eyi, yi lọ nipasẹ itọsọna ni isalẹ. (Nipa ọna, diẹ ninu awọn eto fun wiwo awọn bọtini fi wọn ranṣẹ si awọn alabaṣepọ ti o niiṣe)

Aṣẹ PowerShell kan ti o rọrun tabi laini aṣẹ lati wa bọtini ti ẹrọ ti a ti fi sori ẹrọ yii ko ti pese (ti ofin kan ti o fihan bọtini lati UEFI, emi o fi i han ni isalẹ ṣugbọn nigbagbogbo o jẹ bọtini ti eto to wa ti o yatọ si tito tẹlẹ). Ṣugbọn o le lo iwe-ẹri PowerShell ti a ṣe ipilẹ ti o han alaye ti o yẹ (aṣaju iwe-iwe ni Jakob Bindslet).

Eyi ni ohun ti o nilo lati ṣe. Ni akọkọ, bẹrẹ akọsilẹ naa ki o daakọ koodu ti o wa ni isalẹ.

#Main Function Function GetWin10Key {$ Hklm = 2147483650 $ Target = $ env: Kọmputa $ regPath = "Software Microsoft Windows NT CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target  root  aiyipada: stdRegProv "#Get registry value $ Object = $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Ifarahan] $ DigitalIDvalue = $ Object.uValue #If get sucter # Ti ($ DigitalIDvalue) {#Get ti o npese orukọ ati ọja ID $ ProductName = (Ṣiṣẹ-aṣiṣe-aṣiṣe -Lati "HKLM: Software  Microsoft  Windows NT  CurrentVersion" -Name "Nomba ọja") ProductName $ ProductID = (Ṣiṣẹ-aṣiṣe -gbọn-aṣiṣe "HKLM: Software Microsoft Windows NT  LọwọlọwọLọlọwọLọṣẹ "-Name" ProductId ") .Ọkọ ọjaIiṣẹ #Convert iye-iye si iye nọmba nọmba $ Result = ConvertTokey $ DigitalIDvalue $ OSInfo = (Get-WmiObject" Win32_OperatingSystem "| yan Caption) .Caption Ti ($ OSInfo -match" Windows 10 ") {if ($ Result) {[okun] $ value = "ProductName: $ ProductName 'rnn' '+" ProductID: $ ProductID' rnn '' + "Bọtini ti a fi sori ẹrọ: $ Result" $ value #Save Windows info Si faili kan $ Choice = GetChoice Ti ($ Choice -eq 0) {$ txtpath = "C:  Awọn olumulo " + $ env: USERNAME + "Desktop" Titun-Igbesọ -Pati $ txtpath -Name "WindowsKeyInfo.txt" - Iye $ iye -ItemType Oluṣakoso -Force | Out-Null} Elseif ($ Choice -eq 1) {Jade}} Yato {Atilẹkọ-Ìkìlọ 'Ṣiṣe iwe-iwe ni Windows 10 "}} Bẹẹni {Kọ-Ìkìlọ' Ṣiṣe awọn iwe-iwe ni Windows 10"}} Bẹẹkọ {Kọ-Ìkìlọ ' Aṣiṣe kan ṣẹlẹ, ko le ri bọtini "}} #Giṣayan ayẹlu Yiyan 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) $ oro aje = "Imudaniloju" $ ifiranṣẹ = "Fipamọ bọtini si faili ọrọ?" $ results = $ Host.UI.PromptForChoice (oro aje, ifọrọranṣẹ $, aṣayan $, 0) $ esi} $ 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 [okun] $ Chars = "BCDFGHJKMPQRTVWXY2346789" Ṣe {$ Cur = $ Cur * 256 $ Cur = $ Key [$ X + $ Keyoffset] + $ Cur $ Key [$ X + $ Keyoffset] = [math] :: Ilẹ ([meji] ($ Cur / 24)) $ Cur = $ Cur% 24 $ X = $ X - 1} lakoko ($ X -ge 0) $ i = $ i- 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ kẹhin = $ Cur) lakoko ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ kẹhin) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput.length-1) ti o ba jẹ ($ last -eq 0) {$ KeyOutput = "N" + $ Keypart2} miran {$ 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) $ a = $ KeyOutput.substring (20,5) $ aṣayan iṣẹ-ṣiṣe t = $ a + "-" + $ b + "-" + $ c + "-" + $ d + "-" + $ e $ keyproduct} GetWin10Key

Fi faili pamọ pẹlu itẹsiwaju .ps1. Lati le ṣe eyi ni Akọsilẹ, nigba ti o fipamọ, ni aaye "Iru faili, yan" Gbogbo awọn faili "dipo" Awọn iwe ọrọ ". O le fipamọ, fun apẹẹrẹ, labẹ orukọ win10key.ps1

Lẹhin eyi, bẹrẹ Windows PowerShell bi IT. Lati ṣe eyi, o le bẹrẹ titẹ PowerShell ni aaye àwárí, ki o si tẹ lori rẹ pẹlu bọtini isinku ọtun ati yan ohun ti o baamu.

Ni PowerShell, tẹ awọn aṣẹ wọnyi: ṢiṣẹTiṣẹ-Ṣiṣẹ-Ṣiṣẹ-Ṣiṣẹ-Ipilẹṣẹ ki o si jẹrisi ipaniyan rẹ (tẹ Y ki o tẹ Tẹ ni idahun si ìbéèrè naa).

Tókàn, tẹ àṣẹ náà: C: win10key.ps1 (aṣẹ yi ṣọkasi ọna si faili ti o fipamọ pẹlu akọsilẹ).

Bi abajade ti aṣẹ, iwọ yoo ri alaye nipa bọtini ti a fi sori ẹrọ nipasẹ Windows 10 (ni apakan Ti a Fi sori ẹrọ) ati imọran lati fipamọ si faili ọrọ kan. Lọgan ti o ba mọ bọtini ọja, o le tun eto imulo ipaniyan iwe-ipamọ naa ṣiṣẹ ni PowerShell si iye aiyipada rẹ pẹlu lilo aṣẹ Ṣiṣakoso ipilẹṣẹ ti a ni ihamọ

Bawo ni lati wa bọtini OEM lati EUFI

Ti o ba ti fi sori ẹrọ Windows 10 lori kọmputa tabi kọǹpútà alágbèéká ati pe o fẹ lati wo bọtini OEM (eyiti a tọju ni modaboudu UEFI), o le lo aṣẹ ti o rọrun ti o nilo lati ṣiṣe lori laini aṣẹ gẹgẹ bi alakoso.

wmic ọna softwarelicensingservice gba OA3xOriginalProductKey

Bi abajade, iwọ yoo gba bọtini ti a ti fi sori ẹrọ tẹlẹ ti o ba wa ni eto (o le yato si bọtini ti OS to wa lọwọlọwọ, ṣugbọn o le ṣee lo lati tun pada atilẹba ti Windows).

Ẹya miiran ti aṣẹ kanna, ṣugbọn fun Windows PowerShell

(Gba-WmiObject -query "yan * lati SoftwareLicensingService"). OA3xOriginalProductKey

Bi o ṣe le wo bọtini ti Windows 10 ti a fi sori ẹrọ ti o lo iwe afọwọkọ VBS

Ati akọsilẹ miiran, kii ṣe fun PowerShell, ṣugbọn ninu ọna kika VBS (Akọsilẹ Akọsilẹ), eyiti o han bọtini ti a fi sori ẹrọ lori kọmputa Windows 10 tabi kọǹpútà alágbèéká ati, o ṣee ṣe, diẹ rọrun fun lilo.

Da awọn ila ti o wa ni isalẹ.

Ṣeto 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 ọja:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 Key:" Win WinProPro, 01010, 10, 10, 10; & ProductKeyLabel MsgBox (Win10ProductID) Iyipada ConvertToKey (regKey) Const KeyOffset = 52 isWin10 = (regKey (66)  6) Ati 1 regKey (66) = (regKey (66) Ati & HF7) Tabi ((isWin10 Ati 2) * 4) j = 24 Gbigba = "BCDFGHJKMPQRTVWXY2346789" Ṣe Cur = 0 y = 14 Ṣe Cur = Cur * 256 Cur = regKey (y + KeyOffset) + Cur regKey (y + KeyOffset) = (Cur 24) Cur = Cur Mod 24 y = Y -1 Loop Lakoko ti o y = = 0 j = j -1 winKeyOutput = Mid (Chars, Cur + 1, 1) & winKeyOutput Last = Cur Loop Lakoko ti o j> = 0 Ti (i sWin10 = 1) Nigbana ni keypart1 = Mid (winKeyOutput, 2, Kẹhin) fi sii = "N" WinKeyOutput = Rọpo (winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0) Ti o ba ti Last = 0 Nigbana winKeyOutput = fi sii & winKeyOutput End Ti 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 & "-" & Ero Ipa

O yẹ ki o tan jade bi ninu sikirinifoto ni isalẹ.

Lẹhin eyi, fi iwe pamọ pẹlu itẹsiwaju .vbs (fun eyi, ninu Fọọmu ifipamọ, yan "Gbogbo awọn faili" ni aaye "Iru faili".

Lọ si folda ti o ti fipamọ faili naa ati ṣiṣe naa - lẹhin ipaniyan naa iwọ yoo ri window kan ninu eyi ti bọtini ọja ati ẹyà ti o fi sori ẹrọ Windows 10 yoo han.

Bi mo ti ṣe akiyesi, ọpọlọpọ awọn eto fun wiwo bọtini kan - ni Produkey ati Speccy, ati awọn ohun elo miiran fun wiwo awọn ẹya-ara ti kọmputa kan, o le wa alaye yii. Ṣugbọn, Mo dajudaju, awọn ọna ti a ṣe apejuwe rẹ nihin yoo jẹ to ni fere eyikeyi ipo.