Bii o ṣe le rii bọtini ọja 10 Windows kan

Pin
Send
Share
Send

Lẹsẹkẹsẹ lẹhin itusilẹ ti OS tuntun, gbogbo eniyan di nife ninu bi o ṣe le wa bọtini ti Windows 10 ti o fi sii, botilẹjẹpe ni ọpọlọpọ igba ko nilo. Sibẹsibẹ, iṣẹ-ṣiṣe ti jẹ deede tẹlẹ, ati pẹlu itusilẹ ti awọn kọnputa ati awọn kọnputa kọnputa ti a ti rù pẹlu Windows 10, Mo ro pe yoo jẹ paapaa olokiki julọ.

Itọsọna yii ṣapejuwe awọn ọna ti o rọrun lati wa bọtini Windows 10 bọtini ọja rẹ nipa lilo laini aṣẹ, Windows PowerShell, ati awọn eto ẹlomiiran. Ni akoko kanna, Emi yoo darukọ idi ti awọn eto oriṣiriṣi ṣe fi data ti o yatọ han, bii o ṣe le ṣe lọtọ wo bọtini OEM ni UEFI (fun OS ti o jẹ akọkọ lori kọnputa) ati bọtini bọtini eto ti a fi sori ẹrọ lọwọlọwọ.

Akiyesi: ti o ba ti ṣe igbesoke ọfẹ si Windows 10, ati ni bayi o fẹ lati wa bọtini ṣiṣẹ fun fifi sori ẹrọ mimọ lori kọnputa kanna, o le ṣe, ṣugbọn eyi ko wulo (ni afikun, iwọ yoo ni bọtini kanna bi eniyan miiran ti o gba mẹwa mẹwa oke ni imudojuiwọn). Nigbati o ba nfi Windows 10 sori dirafu filasi USB tabi disiki, ao beere lọwọ rẹ lati tẹ bọtini ọja naa, ṣugbọn o le foo igbesẹ yii nipa titẹ ninu apoti ibeere “Emi ko ni bọtini ọja kan” (ati Microsoft sọ pe eyi ni o nilo lati ṣe).

Lẹhin fifi sori ẹrọ ati sopọ si Intanẹẹti, eto yoo ṣiṣẹ laifọwọyi, nitori fi si ibere ise “so” mọ kọmputa rẹ lẹhin imudojuiwọn naa. Iyẹn ni, aaye titẹsi bọtini ninu eto iṣeto Windows 10 wa lọwọlọwọ fun awọn ti o ra awọn ẹya Retail ti eto naa. Aṣayan: fun fifi sori ẹrọ mimọ ti Windows 10, o le lo bọtini ọja lati Windows 7, 8, ati 8.1 tẹlẹ sori ẹrọ kọmputa kanna. Diẹ sii nipa iru iṣiṣẹ bẹẹ: Ṣiṣẹ Windows 10.

Wo bọtini ọja ti a fi sii Windows 10 ati bọtini OEM ni ShowKeyPlus

Ọpọlọpọ awọn eto wa fun awọn idi ti a ṣalaye nibi, ọpọlọpọ eyiti Mo kọ ninu nkan naa Bi o ṣe le wa bọtini ọja fun Windows 8 (8.1) (tun dara fun Windows 10), ṣugbọn Mo fẹran ShowKeyPlus ti a rii laipe, eyiti ko nilo fifi sori ẹrọ ati awọn iṣafihan lọtọ lẹsẹkẹsẹ awọn bọtini meji: eto ti a fi sori ẹrọ lọwọlọwọ ati bọtini OEM ni UEFI. Ni igbakanna o ṣe ijabọ fun ẹya ti Windows bọtini lati UEFI ni o dara. Paapaa, ni lilo eto yii, o le wa bọtini lati folda miiran pẹlu Windows 10 (lori dirafu lile ti o yatọ, ninu folda Windows.old), ati ni akoko kanna ṣayẹwo bọtini naa fun lilo (Ṣayẹwo bọtini Ọja).

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

 
  • Ti a fi sii bọtini - bọtini ti eto ti a fi sii.
  • Bọtini OEM (Bọtini atilẹba) - OS bọtini ti a fi sii tẹlẹ, ti o ba wa lori kọnputa.

Paapaa, data yii le wa ni fipamọ si faili ọrọ fun lilo ọjọ iwaju tabi ibi ipamọ pamosi nipa titẹ bọtini “Fipamọ”. Nipa ọna, iṣoro naa ni pe nigbakan awọn eto oriṣiriṣi ṣe afihan awọn bọtini ọja oriṣiriṣi fun Windows, o kan han nitori otitọ pe diẹ ninu wọn wo o ni eto fifi sori ẹrọ, awọn miiran ni UEFI.

Bii o ṣe le rii bọtini ọja Windows 10 ni ShowKeyPlus - fidio

O le ṣe igbasilẹ ShowKeyPlus lati oju-iwe //github.com/Superfly-Inc/ShowKeyPlus/releases/

Wo bọtini ti Windows 10 ti a fi sii nipa lilo PowerShell

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

Aṣẹ PowerShell ti o rọrun tabi laini aṣẹ lati wa bọtini bọtini eto ti a fi sori ẹrọ lọwọlọwọ ko si ni ipese (iru aṣẹ bẹẹ ti n ṣafihan bọtini lati UEFI, Emi yoo fi han ni isalẹ. Ṣugbọn nigbagbogbo bọtini ti eto lọwọlọwọ yatọ si ọkan ti a fi sii tẹlẹ). Ṣugbọn o le lo iwe afọwọkọ PowerShell ti a ti ṣetan, eyiti o ṣafihan alaye pataki (onkọwe iwe afọwọkọ naa ni Jakob Bindslet).

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

# Iṣẹ iṣẹ #Main GetWin10Key {$ Hklm = 2147483650 $ Àkọlé = $ env: COMPUTERNAME $ regPath = "Software  Microsoft  Windows NT  LọwọlọwọVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target  root  aiyipada: stdRegProv "#Get iforukọsilẹ iye $ Nkan $ $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Ẹlẹda] $ DigitalIDvalue = $ Object.uValue #If ti o ba ni aṣeyọri Ti ($ DigitalIDvalue) {#Get Producnt name and Ọja ID $ ProductName = (Gba-itemproperty -Path "HKLM: Software  Microsoft  Windows NT  LọwọlọwọVersion" -Name "ProductName") .Awọn ọja Nkan $ ProductID = (Gba-itemproperty -Path "HKLM: Software  Microsoft  Windows NT  LọwọlọwọVersion "-Aame" ProductId ") .IwọnII #Convert iye alakomeji si nọmba nọmba $ Esi Esi = IyipadaTokey $ DigitalIDvalue $ OSInfo = (Gba-WmiObject" Win32_OperatingSystem "| yan Caption) .Caption If ($ OSInfo -match" Windows 10 ") {ti o ba jẹ pe ($ Esi) {[okun] $ iye = "ProductName: $ ProductName 'r'n"' + "ProductID: $ ProductID 'r'n"' + "Bọtini ti a fi sii: Idahun $" $ iye # Fipamọ Windows alaye si faili $ Yiyan = GetChoice Ti o ba jẹ pe ($ Choice -eq 0) {$ txtpath = "C:  Awọn olumulo " + $ env: USERNAME + " Ojú-iṣẹ" Nkan tuntun -Path $ txtpath -Name "WindowsKeyInfo.txt" - Iye iye $ -ItoriTipe -Itori | Out-Null} Elseif (Yiyan $ -eq 1) {Exit}} Omiiran {Kọ-ikilo "Ṣiṣe akosile lori Windows 10"}} Omiiran {Kọ-ikilo "Ṣiṣe akosile lori Windows 10"}} Omiiran {Kọ Ikilọ " Aṣiṣe kan waye, ko le gba bọtini "}} #Get yiyan yiyan olumulo Ṣiṣe GetChoice {$ bẹẹni = Ohun-elo Nkan tuntun.Management.Automation.Host.ChoiceDescription" & Bẹẹni "," "$ no = Eto-Ohun Ohun Tuntun.Management.Automation. Host.ChoiceDescription "& Rara", "" awọn yiyan $ = [System.Management.Automation.Host.ChoiceDescription []] ($ bẹẹni, $ ko si) $ ifori $ = "Ijeri" ifiranṣẹ $ = "Fipamọ bọtini si faili ọrọ kan?" $ abajade = $ Host.UI.PromptForChoice (ifori $, ifiranṣẹ $, awọn yiyan $, 0) $ abajade} #Convert alakomeji si nọmba nọmba Iṣẹ IyipadaToKey ($ Key) {$ Keyoffset = 52 $ isWin10 = [int] ($ Key) [66] / 6) -band 1 $ HF7 = 0xF7 $ Key [66] = ($ Key [66] -band $ HF7) -Borin (($ isWin10 -band 2) * 4) $ i = 24 [okun $ Chars = "BCDFGHJKMPQRTVWXY2346789" ṣe {$ Cur = 0 $ X = 14 Ṣe {$ Cur = $ Cur * 256 $ Cur = $ Key [$ X + $ Keyoffset] + + $ Cur $ Key [$ X + $ Keyoffset] = [math] :: Floor ([double]) ($ 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 ti ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ kẹhin) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput.length-1) ti o ba jẹ pe ($ kẹhin -eq 0) {$ KeyOutput = "N" + $ Keypart2} ohun míràn {$ KeyOutput = $ Keypart2.Fẹ ($ 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

Fi faili pamọ pẹlu ifaagun naa .ps1. Lati le ṣe eyi ni bọtini akọsilẹ, nigba fifipamọ ni aaye “Iru Faili”, yan “Gbogbo Awọn faili” dipo “Awọn Akọṣilẹ ọrọ Text”. 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 ninu aaye wiwa, lẹhinna tẹ-ọtun lori rẹ ki o yan ohun ti o yẹ.

Ni PowerShell, tẹ aṣẹ wọnyi: Eto RemoteSol-Eto ati jẹrisi ipaniyan rẹ (tẹ Y ati tẹ Tẹ ni esi si ibeere).

Ni igbesẹ ti n tẹle, tẹ aṣẹ naa: C: win10key.ps1 (ninu aṣẹ yii, ọna si faili ti o fipamọ pẹlu iwe afọwọkọ ti tọka).

Bi abajade aṣẹ naa, iwọ yoo rii alaye nipa bọtini ti Windows 10 ti o fi sii (ni abala bọtini ti a fi sori ẹrọ) ati ipese lati fi pamọ si faili ọrọ kan. Lẹhin ti o rii bọtini ọja, o le da pada ilana imulo iwe afọwọkọ ni PowerShell si iye aiyipada nipa lilo aṣẹ Ṣeto ihamọ-Eto ipaniyan

Bii o ṣe le rii bọtini OEM lati UEFI

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

wmic way softwarelicensingservice gba OA3xOriginalProductKey

Gẹgẹbi abajade, iwọ yoo gba bọtini ti eto ti a fi sii tẹlẹ ti o ba wa ni eto (o le yatọ si bọtini ti OS ti isiyi lo, ṣugbọn o le ṣee lo lati pada ẹya atilẹba ti Windows).

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

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

Bii o ṣe le rii bọtini ti Windows 10 ti a fi sii nipa lilo iwe afọwọkọ VBS kan

Ati pe iwe afọwọkọ diẹ sii, kii ṣe fun PowerShell, ṣugbọn ni ọna kika VBS (Akọsilẹ Ipilẹ wiwo), eyiti o ṣafihan bọtini ọja ti o fi sori kọmputa Windows 10 tabi kọǹpútà alágbèéká kan ati boya o rọrun pupọ lati lo.

Daakọ sinu iwe awọn ila ni isalẹ.

Ṣeto WshShell = CreateObject ("WScript.Shell") regKey = "HKLM  SOFTWARE  Microsoft  Windows NT  CurrentVersion " DigitalProductId = WshShell.RegRead (regKey & "DigitalProductId") Win10ProductName = "Windows 10 Version:" & WshShe (regKey & "ProductName") & vbNewLine Win10ProductID = "ọja ID:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 bọtini:" & Win10ProductKey Win10ProductID = Win10ProductName & Win10ProductID & ProductKeyLabel MsgBox (Win10ProductID) Ṣiṣẹ IyipadaToKey (regKey) Const KeyOffset = 52 isWin10 = (regKey (66)  6) Ati 1 regKey (66) = (regKey (66) Ati & HF7) Tabi ((isWin10 Ati 2) * 4) j = 24 Awọn iṣọja = "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 yipo Lakoko ti y> = 0 j = j -1 winKeyOutput = Aarin (Chars, Cur + 1, 1) & winKeyOutput Kẹhin = Cur Yipo Lakoko ti j> = 0 Ti (i sWin10 = 1) Lẹhinna keypart1 = Mid (winKeyOutput, 2, Last) insert = "N" winKeyOutput = Rọpo (winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0) Ti o ba jẹ ikẹhin = 0 Lẹhinna winKeyOutput = fi sii & winKeyOutput Ipari Ti o ba a = Mid (winKeyOutput, 1, 5) b = Aarin (winKeyOutput, 6, 5) c = Aarin (winKeyOutput, 11, 5) d = Mid (winKeyOutput, 16, 5) e = Mid (winKeyOutput, 21, 5) ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e Ipari Isẹ

O yẹ ki o tan bi ninu iboju ti isalẹ.

Lẹhin iyẹn, fi iwe pamọ pẹlu ifaagun .vbs (fun eyi, yan “Gbogbo awọn faili” ni aaye “Iru Faili” ninu ifọrọpamọ pamọ).

Lọ si folda ibi ti o ti fipamọ faili ati ṣiṣe - lẹhin ipaniyan iwọ yoo wo window kan ninu eyiti bọtini ọja ati ẹya ti o ti fi sori Windows 10 ti yoo fi han.

Gẹgẹbi Mo ti sọ tẹlẹ, awọn eto pupọ wa fun wiwo bọtini - ni Produkey ati Speccy, bakanna ni awọn ohun elo miiran fun wiwo awọn abuda ti kọnputa kan, o le wa alaye yii. Ṣugbọn Mo ni idaniloju pe awọn ọna ti a ṣalaye nibi yoo to ni fere eyikeyi ipo.

Pin
Send
Share
Send