Ungathola kanjani ukhiye womkhiqizo we-Windows 10

Pin
Send
Share
Send

Ngokushesha nje ngemuva kokukhishwa kwe-OS entsha, wonke umuntu waba nesifiso sendlela yokuthola ukhiye we-Windows 10 efakiwe, noma ezimweni eziningi ayidingeki. Noma kunjalo, umsebenzi usufanelekile, futhi ngokukhishwa kwamakhompyutha nama laptops alayishwe kuqala ngeWindows 10, ngicabanga ukuthi kuzothandwa kakhulu.

Lo mhlahlandlela uchaza izindlela ezilula zokuthola ukhiye womkhiqizo wakho we-Windows 10 usebenzisa umugqa wokuyala, iWindows PowerShell, nezinhlelo zomuntu wesithathu. Ngasikhathi sinye ngizosho ukuthi kungani izinhlelo ezahlukahlukene zibonisa idatha ehlukile, indlela yokubheka ngokwahlukile ukhiye we-OEM ku-UEFI (ye-OS eyayivele ikhompyutha ekuqaleni) kanye nokhiye wohlelo njengamanje olufakiwe.

Qaphela: uma wenze ukuthuthuka kwamahhala ku-Windows 10, futhi manje ufuna ukuthola ukhiye wokuvula ukufakwa okuhlanzekile ekhompyutheni efanayo, ungakwenza, kepha lokhu akudingeki (ngaphandle kwalokho, uzoba nokhiye ofanayo nabanye abantu othole eziyishumi eziphezulu ngokuvuselela). Lapho ufaka i-Windows 10 kusuka kwi-USB flash drive noma kudiski, uzocelwa ukuthi ufake ukhiye womkhiqizo, kepha ungakwazi ukweqa lesi sinyathelo ngokuchofoza ebhokisini lombuzo "anginayo ukhiye womkhiqizo" (futhi iMicrosoft ithi lokhu okudingeka ukwenze).

Ngemuva kokufaka nokuxhuma kwi-Intanethi, uhlelo luzosebenza ngokuzenzakalelayo, ngoba ukusebenza ku "kunamathiselwe" kwikhompyutha yakho ngemuva kokuvuselelwa. Okusho ukuthi, inkambu yokufaka yokhiye ohlelweni lokusetha yeWindows 10 ikhona kuphela kubathengi bezinguqulo ze-Retail zohlelo. Ongakukhetha: ukufakwa okuhlanzekile kweWindows 10, ungasebenzisa ukhiye womkhiqizo kusuka ku-Windows 7, 8, no-8.1 ngaphambilini efakwe kukhompyutha efanayo. Okuningi ngokuqalisa okunjalo: Ukwenza kusebenze iWindows 10.

Bheka ukhiye womkhiqizo wokhiye weWindows 10 ne-OEM ku-ShowKeyPlus

Kunezinhlelo eziningi ngezinhloso ezichazwe lapha, eziningi engizibhale esihlokweni Ukuthi ngingathola kanjani ukhiye womkhiqizo we-Windows 8 (8.1) (futhi elungele iWindows 10), kepha ngithande i-ShowKeyPlus esanda kusanda kutholwa, engadingi ukufakwa futhi iboniswa eceleni khona lapho okhiye ababili: uhlelo olufakiwe njengamanje nenkinobho ye-OEM ku-UEFI. Ngesikhathi esifanayo ibika ukuthi iyiphi inguqulo ye-Windows ukhiye ovela ku-UEFI ofanele. Futhi, usebenzisa lolu hlelo, ungathola ukhiye kusuka kwenye ifolda ene-Windows 10 (kwi-hard drive ehlukile, kufolda yeWindows.old), futhi ngasikhathi sinye uhlole ukhiye wokuqinisekisa (Hlola uMkhiqizo Womkhiqizo).

Konke okudingeka ukwenze ukusebenzisa uhlelo ubone idatha ekhonjisiwe:

 
  • Ikhiye efakiwe - ukhiye wohlelo olufakiwe.
  • Ukhiye we-OEM (Ukhiye Wangempela) - i-OS efakwe kuqala ukhiye, ukube ibikukhompyutha.

Futhi, le datha ingalondolozwa kufayela lombhalo ukuze isetshenziswe esikhathini esizayo noma isitoreji sokugcina umlando ngokuchofoza inkinobho ethi "Gcina". Ngendlela, inkinga ukuthi ngezinye izikhathi izinhlelo ezihlukene zikhombisa okhiye bemikhiqizo ehlukile be-Windows, kuvela nje ngenxa yokuthi abanye babo bayayibuka ohlelweni olufakiwe, abanye kwi-UEFI.

Ungasithola kanjani ukhiye womkhiqizo we-Windows 10 ku-ShowKeyPlus - ividiyo

Ungalanda i-ShowKeyPlus ekhasini ekhasini //github.com/Superonkey-Inc/ShowKeyPlus/releases/

Bheka ukhiye weWindows Windows 10 usebenzisa i-PowerShell

Lapho ungakwenza ngaphandle kwezinhlelo zamaqembu esithathu, ngincamela ukukwenza ngaphandle kwazo. Ukubheka ukhiye womkhiqizo we-Windows 10 kuwumsebenzi owodwa onjalo. Uma kulula kuwe ukuthi usebenzise uhlelo lwamahhala lwalesi, skrolela ibhukwana elingezansi. (Ngale ndlela, ezinye izinhlelo zezinkinobho zokubuka zizithumela emaqenjini anentshisekelo)

Umyalo olula we-PowerShell noma umugqa womyalo ukuthola ukhiye wohlelo olufakiwe njengamanje awunikelwanga (kunomyalo onjalo obonisa ukhiye ovela ku-UEFI, ngizowukhombisa ngezansi. Kepha imvamisa isihluthulelo sohlelo lwamanje sehlukile kulolo olufakwe ngaphambili). Kepha ungasebenzisa iskripthi se-PowerShell esenziwe ngomumo, esibonisa imininingwane edingekayo (umbhali wesikripthi nguJakob Bindslet).

Nakhu okudingeka ukwenze. Okokuqala, gijimisa incwajana bese ukopisha ikhodi engezansi ungene kuyo.

#Main function Function GetWin10Key {$ Hklm = 2147483650 $ Target = $ env: COMPUTERNAME $ regPath = "Software  Microsoft  Windows NT  CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target  izimpande  okuzenzakalelayo: stdRegProv "#Get registry value $ Object = $ wmi.GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Array] $ DigitalIDvalue = $ Object.uValue #Uma uphumelele Uma ($ DigitalIDvalue) {# Thola igama elikhiqizayo futhi product ID $ ProductName = (Get-itemproperty -Path "HKLM: Software  Microsoft  Windows NT  CurrentVersion" -Name "ProductName"). ProductName $ ProductID = (Get-itemproperty -Path "HKLM: Software  Microsoft  Windows NT  I-CurrentVersion "-Igama" i-ProductId ") .ImikhiqizoId #Convert value kanambambili inamba ye-serial $ Result = ConvertTokey $ DigitalIDvalue $ OSInfo = (Get-WmiObject" Win32_OperatingSystem "| Khetha Caption) .Caption if ($ OSInfo -match" Windows 10 ") {if ($ Result) {[string] $ value = "ProductName: $ ProductName 'r'n"' + "" ProductID: $ ProductID 'r'n "' +" Kufakiwe Ukhiye: $ Result "$ value #Save Windows kufayela $ Choice = GetChoice If ($ Choice -eq 0) {$ txtpath = "C:  Abasebenzisi " + $ env: USERNAME + " Desktop" New-Item -Path $ txtpath -Name "WindowsKeyInfo.txt" - Inani lentengo ye- $ -I -TemType File -Force | I-Out-Null} I-Elseif ($ Choice -eq 1) {Exit}} I-Else {Bhala-Isexwayiso "Qalisa iskripthi kuWindows 10"}} Else {Bhala-Isexwayiso "Run the script on Windows 10"}} Else {Bhala-Isexwayiso " Kuvele iphutha, akakwazanga ukuthola ukhiye "}} #Ukuthola ukukhetha komsebenzisi kwe-GetChoice {$ yebo = New-Object System.Management.Automation.Host.ChoiceDescript" & Yes "," "$ no = New-Object System.Management.Automation. Umgcini.ChoiceDescript "& No", "" $ ukukhetha = [System.Management.Automation.Host.ChoiceDescript []] ($ yebo, $ no) $ capion = "Confirmation" $ message = "Gcina ukhiye kufayela lombhalo?" $ Chile = $ Host.UI.PromptForChoice ($ amazwibela, $ $, $ $, $ $, 0) $ Chile} #Convert Binary to inombolo serial Function ConvertToKey ($ Key) {$ Keyoffset = 52 $ isWin10 = [int] ($ Key [66] / 6) -band 1 $ HF7 = 0xF7 $ Ukhiye [66] = ($ Ukhiye [66] -band $ HF7) -bOr (($ isWin10 -band 2) * 4) $ i = 24 [String] $ Chars = "BCDFGHJKMPQRTVWXY2346789" do {$ Cur = 0 $ X = 14 Do {$ Cur = $ Cur * 256 $ Cur = $ Key [$ X + $ Keyoffset] + $ Cur $ Key [$ X + $ Keyoffset] = [math] :: Floor ([kabili] ($ Cur / 24)) $ Cur = $ Cur% 24 $ X = $ X - 1} ngenkathi ($ X -ge 0) $ i = $ ii 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ yokugcina = $ Cur} ngenkathi ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ okokugcina) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput.length-1) uma ($ okokugcina -eq 0) {$ KeyOutput = "N" + $ Keypart2} okunye {$ 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

Gcina ifayili ngesandiso .ps1. Ukuze wenze lokhu ku-incwajana, lapho ugcina emkhakheni we- "Type Type", khetha u- "Onke Amafayili" esikhundleni se- "Umbhalo Obhaliwe". Ungagcina, ngokwesibonelo, ngaphansi kwegama elithi win10key.ps1

Ngemuva kwalokho, qala iWindows PowerShell njengo-Administrator. Ukuze wenze lokhu, ungaqala ukuthayipha i-PowerShell enkundleni yokusesha, bese uqhafaza kwesokudla kuyo bese ukhetha into efanelekile.

Ku-PowerShell, faka umyalo olandelayo: Setha-UkubulalaIkude Kusetshenziselwe kude futhi uqinisekise ukwenziwa kwayo (thayipha uY bese ucindezela u-Enter ukuphendula isicelo).

Esinyathelweni esilandelayo, faka umyalo: C: win10key.ps1 (kulo myalo, indlela eya kufayela eligciniwe enombhalo iyakhonjiswa).

Ngenxa yomyalo, uzobona imininingwane mayelana nokhiye we-Windows 10 efakiwe (engxenyeni ekhiye efakiwe) nokunikezwa kokuwusindisa kufayela lombhalo. Ngemuva kokuthola ukhiye womkhiqizo, ungabuyisela inqubomgomo yokwenza script ku-PowerShell kunani elizenzakalelayo usebenzisa umyalo I-Set-ExecutionPolicy ikhawulelwe

Ungasithola kanjani ukhiye we-OEM kusuka ku-UEFI

Uma iWindows 10 ibikhethwe ngaphambili kwikhompyuter yakho noma kwi-laptop futhi udinga ukubuka ukhiye we-OEM (ogcinwe ku-UEFI webhodi yabomama), ungasebenzisa umyalo olula odinga ukuqhuba entanjeni yomyalo njengomphathi.

wmic indlela softwarelicensingservice uthole OA3xOriginalProductKey

Ngenxa yalokhu, uzothola ukhiye wohlelo lokufakwe ngaphambili uma lukhona ohlelweni (lungahluka kukhiye olusetshenziswe yi-OS yamanje, kepha lungasetshenziswa ukubuyisela uhlobo lwangempela lweWindows).

Okunye ukwahluka komyalo ofanayo, kodwa kweWindows PowerShell

(Get-WmiObject -query "Select * from SoftwareLicensingService"). OA3xOriginalProductKey

Ungasibona kanjani ukhiye we-Windows 10 efakiwe usebenzisa i-VBS script

Isikripthi esisodwa, hhayi i-PowerShell, kepha ngefomethi ye-VBS (Visual Basiccript), ekhombisa ukhiye womkhiqizo efakwe kukhompyutha noma kwi-laptop engu-10 futhi cishe isetshenziswa kalula.

Kopisha kubhukwana lemigqa engezansi.

Setha i-WshShell = Yakha iObject ("WScript.Shell") regKey = "HKLM  SOFTWARE  Microsoft  Windows NT  CurrentVersion " DigitalProductId = WshShell.RegRead (regKey & "DigitalProductId") Win10ProductName = "Windows 10eadl" & Wsh (regKey & "PRODUCTNAME") & vbNewLine Win10ProductID = "I-ID yomkhiqizo:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "se-Windows 10 ukhiye:" & Win10ProductKey Win10ProductID = Win10ProductName & Win10ProductID & ProductKeyLabel MsgBox (Win10ProductID) Umsebenzi wokuguqulaToKey (regKey) Const KeyOffset = 52 isWin10 = (regKey (66)  6) No-1 regKey (66) = (regKey (66) kanye ne-HF7) Noma ((isWin10 And 2) * 4) j = 24 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 y = 14 Do Cur = Cur * 256 Cur = regKey (y + KeyOffset) + Cur regKey (y + KeyOffset) = (Cur  24) Cur = Cur Mod 24 y = y -1 Loop Ngenkathi y> = 0 j = j -1 winKeyOutput = Mid (Izimoto, i-Cur + 1, 1) & winKeyOutput Okokugcina = I-Cur Loop Ngenkathi j> = 0 Uma (i sWin10 = 1) Keypart1 = Mid (winKeyOutput, 2, Last) faka = "N" winKeyOutput = Faka esikhundleni (winKeyOutput, ikhiphedi1, ikhiphedi1 & ukufaka, 2, 1, 0) Uma Okokugcina = 0 Bese u-WinKeyOutput = faka & winKeyOutput End if 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) GuqulaToKey = a & "-" & b & "-" & c & "-" & d & "-" & e End Umsebenzi

Kufanele kuphume njengasesikrinini esingezansi.

Ngemuva kwalokho, gcina idokhumenti ngesandiso .vbs (salokhu, khetha u- "Onke amafayela" enkampanini "yohlobo lwefayela" ku-dialog yokugcina).

Iya kufolda lapho ifayili laligciniwe bese ulisebenzisa khona - ngemuva kokubulawa uzobona iwindi lapho kuzokhonjiswa khona ukhiye womkhiqizo nenguqulo yeWindows 10 efakiwe.

Njengoba ngike ngaphawula, kunezinhlelo eziningi zokubheka ukhiye - kuProdukey nakuSpeccy, nakwezinye izinto zokubheka izici zekhompyutha, ungathola lolu lwazi. Kepha ngineqiniso ukuthi izindlela ezichazwe lapha zizokwanela cishe kunoma yisiphi isimo.

Pin
Send
Share
Send