Tsela ea ho fumana Windows 10 ea bohlokoa ea sehlahisoa

Kapelenyana ka mor'a ho lokolloa ha OS e ncha, bohle ba ile ba qala ho ipotsa hore na ba ka fumana joang senotlolo sa Windows 10, le hoja maemong a mangata ho sa hlokahale. Leha ho le joalo, mosebetsi ona o se o ntse o le oa bohlokoa, 'me ka ho lokolloa ha lik'homphieutha le li-laptops tse nang le Windows 10 tse qalileng pele, ke nahana hore ho tla hlokahala haholoanyane.

Thuto ena e hlalosa litsela tse bonolo tsa ho fumana senotlolo sa hau sa sehlahisoa sa Windows 10 se sebelisa mola oa taelo, Windows PowerShell le mananeo a boraro. Ka nako e ts'oanang ke tla bolela hore na ke hobane'ng ha mananeo a fapaneng a bonts'a boitsebiso bo fapaneng, ho sheba sekhetho sa OEM ka UEFI (bakeng sa OS e neng e le k'homphieutheng) le senotlolo sa tsamaiso ea hona joale.

Tlhokomeliso: haeba u ka ntlafatsa mahala ho Windows 10, 'me hona joale u batla ho tseba senotlolo sa ho kenya mochini o hloekileng, u ka se etsa, empa sena ha se hlokahale (ntle ho moo, u tla ba le senotlolo se tšoanang le batho ba bang o fumane tse leshome tse phahameng ka ho ntlafatsa). Ha u kenya Windows 10 ho tloha ka flash drive kapa disk, u tla botsoa ho kenya senotlolo sa sehlahisoa, empa u ka tlōla mohato ona ka ho tobetsa "Ha ke na senotlolo sa sehlahisoa" ka fensetere ea lipotso (mme Microsoft e ngola hore sena ke se lokelang ho etsoa).

Ka mor'a ho kenngoa le ho hokahanya Inthaneteng, tsamaiso ena e tla ts'oaroa, hobane ts'ebetso e "tlameletsoe" khomphuteng ea hau ka morao-rao. Ka mantsoe a mang, tšimo ea ho kenyelletsa lenaneo lenaneong la ho kenya Windows 10 e teng feela bakeng sa bareki ba Retail Retail liphetoho tsa tsamaiso. Ho ikhethela: bakeng sa ho kenya ka mokhoa o hloekileng oa Windows 10, u ka sebelisa senotlolo sa sehlahisoa ho tloha Windows 7, 8 le 8.1 e kileng ea kenngoa pele khomphuteng e le 'ngoe. Ho eketsehileng mabapi le ts'ebetso ena: Ts'ebetso ea Windows 10.

Sheba senotlolo sa sehlahisoa sa Windows 10 e kentsoeng le senotlolo sa OEM ho ShowKeyPlus

Ho na le mananeo a mangata bakeng sa merero e hlalositsoeng mona, e mengata eo ke e ngotseng sehloohong se reng Ho tseba joang senotlolo sa Windows 8 (8.1) (se loketseng bakeng sa Windows 10), empa haufinyane ke ratile ShowKeyPlus, e sa hlokeng ho kenngoa le ho bonts'a ka ho arohana Linotlolo tse peli: mokhoa oa hona joale o kenyelitsoeng le senotlolo sa OEM ho UEFI. Ka nako e le nngwe, e u bolella hore na ke phetolelo efe ea Windows ea UEFI e ka sehloohong. Hape, u sebelisa lenaneo lena, u ka fumana senotlolo se tsoang foleng e 'ngoe e nang le Windows 10 (ho e' ngoe ea hard drive, folder ea Windows.old), 'me ka nako e tšoanang hlahloba senotlolo sa tiiso (Check Product Key item).

Sohle seo u lokelang ho se etsa ke ho tsamaisa lenaneo mme o bone dintlha tse bontsweng:

 
  • Keno e kenyelitsoeng ke senotlolo sa tsamaiso e kentsoeng.
  • Key Key OEM (Key Key) - senotlolo sa OS e kentsoeng pele, haeba e ne e le khomphuteng.

U ka boela ua boloka boitsebiso bona ho file e ngotsoeng bakeng sa tšebeliso e eketsehileng kapa polokelo ea polokelo ka poloko ea "Save". Tsela, bothata ba hore ka linako tse ling mananeo a fapaneng a bontša mefuta e fapaneng ea lihlahisoa tsa Windows, e hlaha feela ka lebaka la hore ba bang ba e shebelletse tsamaisong e kentsoeng, ba bang ba UEFI.

Tsela ea ho fumana senotlolo sa sehlahisoa sa Windows 10 ho ShowKeyPlus - video

Kopanya ShowKeyPlus ho tswa ho http://github.com/Superfly-Inc/ShowKeyPlus/releases/

Sheba senotlolo se kenyelletsoeng ke Windows 10 sebelisa PowerShell

Moo o ka etsang ntle le mananeo a mararo, ke khetha ho etsa ntle le bona. Ho shebella lenane la sehlahisoa sa Windows 10 ke mosebetsi o mong o joalo. Haeba ho le bonolo hore u sebelise lenaneo la mahala la sena, phenya ka tataiso e ka tlase. (Ka tsela, mananeo a mang a ho shebella linotlolo a li romela ho batho ba thahasellang)

Molaetsa o bonolo oa PowerShell kapa taelo ea ho laela ho fumana hore na senotlolo sa tsamaiso ea hona joale e fanoeng ha e fanoe (ho na le taelo e bontšang senotlolo ho tloha UEFI, ke tla e bonts'a ka tlase. Empa hangata ke senotlolo sa tsamaiso ea joale e fapaneng le ea pele). Empa o ka sebelisa sesebelisoa sa PowerShell se entsoeng hantle se bontšang boitsebiso bo hlokahalang (mongoli oa script ke Jakob Bindslet).

Mona ke seo u lokelang ho se etsa. Ntlha ea pele, qala lintlha tsa sehlooho 'me u kopise khoutu e bontšitsoeng ka tlase ho eona.

#Main function Function GetWin10Key {$ Hklm = 2147483650 $ Target = $ env: COMPUTERNAME $ regPath = "Software  Microsoft  Windows NT  CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target  motso  ka ho feletseng: stdRegProv "#Get registry bohlokoa $ Object = $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Array] $ DigitalIDvalue = $ Object.uValue #Ka fumana suc # Haeba ($ DigitalIDvideo) {#Get lebitso la tlhahiso le Hlakola-Path "HKLM: Software  Microsoft  Windows NT  CurrentVersion" -Name "ProductName"). ProductName $ ProductID = (Get-itemproperty -Path "HKLM: Software  Microsoft  Windows NT  CurrentVersion "-Name" ProductId "). ProductId #Convert bohlokoa ba binary ho $ serial number $ Phello = ConvertTokey $ DigitalIDo ea $ OSInfo = (Get-WmiObject" Win32_OperatingSystem "| khetha Tlhaloso) .Caption Haeba ($ OSInfo -match" Windows 10 ") {haeba ($ Phello) {[mohala] $ value = "ProductName: $ ProductName 'r'n"' + "ProductID: $ ProductID 'r'n"' + "Keno e kenyelletsoeng: $ Sephetho" $ $ #Siretsa boitsebiso ba Windows Ho faele $ Choice = GetChoice Haeba ($ Khetho -eq 0) {$ txtpath = "C:  Users " + $ env: USERNAME + " Desktop" Ntho e Ncha-Path $ txtpath -Name "WindowsKeyInfo.txt" - Rata $ bohlokoa -Tempe ea TTpepe -Force | E-tsoa} Elseif ($ Khetho -eq 1) {Exit}} Ntho e 'ngoe {Ngola-Temoso "Sebelisa script ka Windows 10"}} E' ngoe {Ngola-Temoso "Etsa script ka Windows 10"}} E 'ngoe {Ngola-Temoso " Phoso e hlahile, e ke ke ea fumana senotlolo "}} #Ka khetha khetho ea basebetsi Function GetChoice {$ yes = New-Object System.Management.Automation.Host.ChoiceDescription" & Yes "," "$ no = New-Object System.Management.Automation. Host.ChoiceDescription "& No", "" $ khetho = [System.Management.Automation.Host.ChoiceDescription []] ($ e, $ $) $ caption = "Bopaki" $ molaetsa = "Sireletsa konopo ho file file?" $ result = $ Host.UI.PromptForChoice ($ caption, $ molaetsa, $ khetho, 0) $ result} $ ConvertToKey ($ Key) {$ Keyoffset = 52 $ keWin10 = [int] ($ Key [66] / 6) -bandana 1 $ HF7 = 0xF7 $ Key [66] = ($ Key-66 $ HF7) -bOr (($ keWin10 -band 2) * 4) $ i = 24 [Molapo] $ Chars = "BCDFGHJKMPQRTVWXY2346789" etsa {$ Cur = 0 $ X = 14 Etsa {$ Cur = $ Cur * $ 256 Cur = $ Key [$ X + $ Keyoffset] + $ Cur $ Key [$ X + $ Keyoffset] = [math] :: Floor ([double] ($ Cur / 24)) $ Cur = $ Cur% 24 $ X = $ X - 1} ha ($ X -ge 0) $ i = $ 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ last = $ Cur} ha ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ e fetileng) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput.length-1) haeba ($ qetellong -eq 0) {$ KeyOutput = "N" + $ Keypart2} hape {$ KeyOutput = $ Keypart2.Insert ($ Keypart2.IndexOf ($ Keypart1) + $ Keypart1.length, ""}} $ 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 + "-" + $ $ "" - "+ $ d +" - "+ $ $ e $ keyproduct} GetWin10Key

Boloka faele ka kakaretso ea .ps1. E le hore u etse sena ho Notepad, ha u boloka, tšimong ea "Mofuta oa Feshene" khetha "Lifaele tsohle" ho e-na le "Litokomane tsa mongolo". U ka boloka, ka mohlala, tlasa lebitso la win10key.ps1

Ka mor'a moo, qala Windows PowerShell e le Mookameli. Ho etsa sena, o ka qala ho thapanya PowerShell sebakeng sa ho batla, ebe o tobetsa ho sona ka konopo e nepahetseng ea mouse ebe o khetha ntho e lekanang.

Ho PowerShell, thapa taelo e latelang: Beha-ExecutionPolicy RemoteSigned mme o netefatsa hore o bolaoa (kena Y mme o tlatse Enter ho arabela kopo).

E latelang, kenya molaetsa: C: win10key.ps1 (taelo ena e totobatsa tsela ho file e bolokiloeng ka script).

Ka lebaka la taelo, u tla bona tlhahisoleseding e mabapi le senotlolo se kentsoeng ke Windows 10 (ka karolo ea Key Key) le tlhahiso ea ho e boloka ho file file. Hang ha u se u tseba senotlolo sa sehlahisoa, o ka tsosolosa pholisi ea ts'ebetso ea script ka PowerShell ho ea bohlokoa ba eona ka ho sebelisa taelo Set-ExecutionPolicy e thibetsoe

Tsela ea ho fumana senotlolo sa OEM ho tloha UEFI

Haeba Windows 10 e ne e nkoa ka pele ho khomphuteng kapa khomphuteng mme o batla ho sheba senotlolo sa OEM (seo se bolokiloeng ka lebobose la UEFI), o ka sebelisa taelo e bonolo eo u lokelang ho e sebelisa molaong oa taelo joaloka mookameli.

Tsela ea softwarelicensingservice e fumana OA3xOriginalProductKey

Ka lebaka leo, u tla fumana senotlolo sa tsamaiso ea pele ho kopo haeba e teng tsamaisong (e ka 'na ea fapana le senotlolo se sebelisoang ke OS ea joale, empa e ka sebelisoa ho khutlisa phetolelo ea pele ea Windows).

Phetolelo e 'ngoe ea taelo e tšoanang, empa bakeng sa Windows PowerShell

(Get-WmiObject -query "khetha * ho tloha SoftwareLicensingService"). OA3xOriginalProductKey

Tsela ea ho talima senotlolo sa Windows 10 e kentsoeng ka sebelisa script VBS

Le lengolo le leng, eseng bakeng sa PowerShell hape, empa le sebopeho sa VBS (Visual Basic Script), se bontsang senotlolo sa sehlahisoa se kenyelelitsoe khomphuteng kapa laptop ea Windows 10, mohlomong, se loketseng haholoanyane bakeng sa tšebeliso.

Kopitsa mela e ka tlase.

Beha 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 = "Phatlalatso ea Sehlahisoa:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 Key:" 10 Win WinProPro, 01010, 10, 10, 10; & ProductKeyLabel MsgBox (Win10ProductID) Mosebetsi oa ConvertToKey (regKey) Const KeyOffset = 52 keWin10 = (regKey (66)  6) le 1 regKey (66) = (regKey (66) le & HF7) kapa ((isWin10 le 2) * 4) j = 24 Lihlahisoa = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 y = 14 Kopa = Cur * 256 Cur = RegKey (y + KeyOffset) + Cur RegKey (y + KeyOffset) = (Cur  24) Cur = Cur Mod 24 y = y -1 Loop Le hoja y = = 0 j = j -1 winKeyOutput = Bohareng (Lihlahisoa, Cur + 1, 1) & winKeyOutput Last = Cur Loop Ha j> = 0 Haeba (i SWin10 = 1) Ebe karolo e kholo 1 = Bohareng (winKeyOutput, 2, Last) kenya = "N" winKeyOutput = Etsa sebaka (winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0) Haeba ho qetela = 0 Joale winKeyOutput = kenya & winKeyOutput End Haeba a = bobeli (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 & "-" & & & & - - "& c &" - ​​"& d &" - ​​"& & e Qetellong ea Mosebetsi

E lokela ho hlaha joaloka setšoantšo se ka tlaase mona.

Ka mor'a sena, boloka tokomane ena le .vbs extension (bakeng sa sena, ho lebokoseng la Save, khetha "Lifahleho tsohle" "tšimong ea mofuta".

E-ea foldareng eo faele e bolokiloeng ho eona ebe e e tsamaisa - ka mor'a hore u se ke ua bolaoa u tla bona fensetere eo senotlolo sa sehlahisoa le phetolelo ea Windows 10 e kentsoeng e tla bonahala.

Joalokaha ke se ke hlokometse, ho na le mananeo a mangata a ho shebella senotlolo - ho Produkey le Speccy, hammoho le lisebelisoa tse ling tsa ho shebella litšobotsi tsa k'homphieutha, u ka fumana boitsebiso bona. Empa, kea kholoa, litsela tse hlalositsoeng mona li tla lekane hoo e batlang e le boemo bofe kapa bofe.