Yadda za a gano maɓallin samfurin Windows 10

Nan da nan bayan da aka saki sabuwar OS, kowa ya fara tunanin yadda za a gano mabuɗin Windows 10 wanda aka shigar, kodayake a mafi yawan lokuta ba'a buƙata. Duk da haka, aikin ya riga ya dace, kuma tare da sakin kwakwalwa da kwakwalwa tare da Windows 10 an shigar dasu, ina tsammanin zai zama mafi mahimmanci.

Wannan koyaswar ta bayyana hanyoyin da za a iya samun maɓallin samfurin Windows 10 ta yin amfani da layin umarni, Windows PowerShell, da kuma shirye-shirye na ɓangare na uku. A lokaci guda zan ambaci dalilin da yasa shirye-shiryen daban daban na nuna bayanai daban-daban, yadda za a duba bambancin maɓallin OEM a cikin UEFI (na OS wanda yake asali akan kwamfutar) da kuma maɓallin tsari na yanzu.

Lura: idan ka yi gyare-gyare kyauta zuwa Windows 10, yanzu kuma kana so ka san maɓallin kunnawa don tsabtace tsabta akan kwamfutar daya, zaka iya yin shi, amma wannan ba lallai ba ne (banda haka, za ka sami maɓalli kamar sauran mutane karbi saman goma ta Ana ɗaukakawa). A lokacin da kake shigar da Windows 10 daga kullun kwamfutarka ko faifan, za a umarce ka don shigar da maɓallin samfurin, amma zaka iya tsallake wannan mataki ta danna "Ba ni da maɓallin samfurin" a cikin buƙatar tambaya (kuma Microsoft ya rubuta cewa wannan shine abin da ake bukata a yi).

Bayan shigarwa da haɗi zuwa Intanit, za a kunna tsarin ta atomatik, tun lokacin kunnawa an "daura" zuwa kwamfutarka bayan an sabunta. Wato, maɓallin shigarwa mai shigarwa a shirin Windows 10 yana samuwa ne kawai don masu sayarwa na sigogi na tsarin. Zaɓin: don shigarwa mai tsabta na Windows 10, zaka iya amfani da maɓallin samfurin daga Windows 7, 8 da 8.1 da aka shigar a baya akan kwamfutar daya. Ƙari game da wannan kunnawa: Kunnawa na Windows 10.

Duba maɓallin maɓallin kayan aiki na Windows 10 da kuma maɓallin OEM a cikin ShowKeyPlus

Akwai shirye-shirye masu yawa don dalilai da aka bayyana a nan, da yawa daga abin da na rubuta a cikin labarin Yadda za a gano maɓallin samfurin Windows 8 (8.1) (dace da Windows 10), amma na kwanan nan ƙaunar ShowKeyPlus, wanda baya buƙatar shigarwa da nunawa daban Maballin biyu: tsarin da aka shigar yanzu da kuma maɓallin OEM a UEFI. A lokaci guda, yana gaya muku wane ɓangaren Windows ɗin UEFI yana da. Har ila yau, ta amfani da wannan shirin, za ka iya gano maɓallin daga wani babban fayil tare da Windows 10 (a kan wani rumbun kwamfutarka, a cikin babban fayil na Windows.old), kuma a lokaci guda duba maɓallin don ingantaccen aiki (Duba samfurin Kayan Samfur).

Duk abin da kuke buƙatar ku yi shi ne gudanar da shirin kuma duba bayanan da aka nuna:

 
  • Babbar Shigarwa shi ne maɓallin hanyar shigarwa.
  • Key OEM (Asali na ainihi) - maɓallin keɓaɓɓen OS ɗin, idan an kasance akan kwamfutar.

Hakanan zaka iya ajiye wannan bayanai zuwa fayil ɗin rubutu don ƙarin amfani ko ajiyar ajiya ta danna maballin "Ajiye". A hanyar, matsala tare da gaskiyar cewa wani lokacin daban-daban shirye-shiryen nuna nau'o'in kayan aiki na Windows, kawai ya bayyana saboda gaskiyar cewa wasu daga gare su kallon shi a cikin tsarin shigar, wasu a UEFI.

Yadda za a gano maɓallin samfurin Windows 10 a cikin ShowKeyPlus - bidiyo

Download ShowKeyPlus daga http://github.com/Superfly-Inc/ShowKeyPlus/releases/

Duba hanyar da aka sanya ta Windows 10 ta amfani da PowerShell

Inda za ka iya yi ba tare da shirye-shiryen ɓangare na uku ba, Na fi so in yi ba tare da su ba. Duba hoton samfurin Windows 10 shine ɗaya irin aiki. Idan ya fi sauki a gare ku don amfani da shirin kyauta na wannan, gungura ta wurin jagoran da ke ƙasa. (Ta hanya, wasu shirye-shirye don duba maballin aika su zuwa ga masu sha'awar)

Umurni na PowerShell mai sauki ko layin umurni don gano maɓallin kewayon tsarin da aka shigar yanzu ba a bayar (akwai umarnin da ke nuna maɓallin daga UEFI, zan nuna shi a kasa, amma yawanci shi ne maɓallin kewayar tsarin yanzu wanda ya bambanta da wanda aka saita). Amma zaka iya amfani da rubutun PowerShell da aka shirya don nuna bayanan da ya dace (marubucin rubutun shine Jakob Bindslet).

Ga abin da kuke buƙatar yi. Da farko, fara samfurin rubutu da kwafe lambar da aka gabatar a ciki.

#Main aiki Function GetWin10Key {$ Hklm = 2147483650 $ Target = $ env: COMPUTERNAME $ regPath = "Software  Microsoft  Windows NT  CurrentVersion" $ DigitalID = "DigitalProductId" $ wmi = [WMIClass] " $ Target  tushen  tsoho: stdRegProv "#GetBinaryValue ($ hklm, $ regPath, $ DigitalID) [Dama] $ DigitalIDvalue = $ Object.uValue #Idan samun nasara # Idan ($ DigitalIDvalue) {#Get samar da suna da kuma samfurin ID $ ProductName = (Nemo-samfuri -Fara "HKLM: Software  Microsoft  Windows NT  CurrentVersion" -Name "ProductName") ProductName $ ProductID = (Samun-samfurin amfani da shi "HKLM: Software  Microsoft  Windows NT  A halin yanzuWatsion "-Name" ProductId ") ProductId #Convert binary darajar zuwa lambar lambar $ $ Result = ConvertTokey $ DigitalIDvalue $ OSInfo = (Get-WmiObject" Win32_OperatingSystem "| zaɓi Caption) .Caption Idan ($ OSInfo -match" Windows 10 ") {idan ($ Result) {$ string = $ value = 'ProductName: $ ProductName' ko '' + "ProductID: $ ProductID 'r'n"' + "Babbar Shigarwa: $ Result" $ darajar #Save Windows bayanai A cikin fayil $ Choice = GetChoice Idan ($ Zabi -eq 0) {$ txtpath = "C:  Masu amfani" "$ env: Mai amfani da" "Desktop" Sabuwar -Tafaffen $ txtpath -Name "WindowsKeyInfo.txt" - Darajar darajan darajar $ -ItemType File -Force | Out-Null} Elseif ($ Zaɓi -eq 1) {Exit}} Ƙari {Gargaɗi »Gyara rubutun a cikin Windows 10"}} Sauran {Gargaɗi »Gyara rubutun a cikin Windows 10"}} Ƙari {Gargaɗi » An sami kuskure, ba zai iya samun maɓallin "}} #Gajin mai amfani na zabi Sakamakon GetChoice {$ yes = Sabuwar-tsarin System.Management.Automation.Host.ChoiceDescription '& Ee' ',' '$ no = New-Object System.Management.Automation. Host.ChoiceDescription "& No", "" $ zabi = [System.Management.Automation.Host.ChoiceDescription []] ($ yes, $ no) $ caption = "Tabbatarwa" $ message = "Ajiye maɓallin zuwa fayil ɗin rubutu?" $ sakamako = $ Host.UI.PromptForChoice ($ shafin, $ sakon, $ zabi, 0) $ sakamako} $ ConvertToKey ($ Key) {$ Keyoffset = 52 $ neWin10 = [int] ($ Key [66] / 6) -band 1 $ HF7 = 0xF7 $ Key [66] = ($ Key [66] -band $ HF7) -BOr (($ isWin10 -band 2) * 4) $ i = 24 [Jeri] $ Chars = "BCDFGHJKMPQRTVWXY2346789" yi {$ Cur = 0 $ X = 14 Shin {$ Cur = $ Cur * 256 $ Cur = $ Key [$ X + $ Keyoffset] + $ Cur $ Key [$ X + $ Keyoffset] = [math] :: Fasa ([biyu] ($ Cur / 24)) $ Cur = $ Cur% 24 $ X = $ X - 1} yayin ($ X -ge 0) $ i = $ i- 1 $ KeyOutput = $ Chars.SubString ($ Cur, 1) + $ KeyOutput $ karshe = $ Cur) yayin ($ i -ge 0) $ Keypart1 = $ KeyOutput.SubString (1, $ na karshe) $ Keypart2 = $ KeyOutput.Substring (1, $ KeyOutput.terngth-1) idan ($ last -eq 0) {$ KeyOutput = "N" + $ Keypart2} da {$ 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

Ajiye fayil tare da .ps1 tsawo. Don yin wannan a cikin Notepad, lokacin da kake ajiyewa, a cikin "File type" filin, zaɓi "Duk fayiloli" a maimakon "Takardun rubutu". Za ka iya ajiye, alal misali, a ƙarƙashin sunan win10key.ps1

Bayan wannan, fara Windows PowerShell a matsayin Administrator. Don yin wannan, za ka iya fara buga PowerShell a filin bincike, sannan ka danna shi tare da maɓallin linzamin kwamfuta na dama kuma zaɓi abin da ya dace.

A cikin PowerShell, rubuta umarnin nan: Saitacciyar Kuskuren Takaddama kuma tabbatar da kisa (shigar da Y kuma latsa Shigar da amsa ga buƙatar).

Next, shigar da umurnin: C: win10key.ps1 (wannan umarni yana ƙayyade hanyar zuwa fayil ɗin da aka ajiye tare da rubutun).

A sakamakon umurnin, za ku ga bayani game da maɓallin da aka sanya ta Windows 10 (a cikin Sashe ɗin Shigar da Sashe) da kuma shawara don ajiye shi zuwa fayil ɗin rubutu. Da zarar ka san maɓallin samfurin, za ka iya sake saita tsarin aiwatar da rubutun a cikin PowerShell zuwa ƙimar ta ta amfani da umurnin An ƙuntata umarnin Sakamakon saɓo

Yadda za'a gano maɓallin OEM daga UEFI

Idan an shigar da Windows 10 a kwamfutarka ko kwamfutar tafi-da-gidanka kuma kana so ka duba maɓallin OEM (wanda aka ajiye a cikin mahaifi na UEFI), zaka iya amfani da umarni mai sauƙi wanda kana buƙatar gudu a kan layin umarni a matsayin mai gudanarwa.

Wmic hanyar softwarelicensingservice sami OA3xOriginalProductKey

A sakamakon haka, za ku sami maɓallin keɓaɓɓun tsarin idan ya kasance a cikin tsarin (yana iya bambanta da maɓallin da OS ke amfani da shi, amma ana iya amfani dasu don dawo da asali na Windows).

Wata maimaita wannan doka, amma ga Windows PowerShell

(Get-WmiObject -query "zaɓi * daga SoftwareLicensingService"). OA3xOriginalProductKey

Yadda za a duba mabuɗin Windows 10 da aka shigar ta amfani da rubutun VBS

Kuma wani rubutun, ba don PowerShell ba, amma a cikin tsarin VBS (Kayayyakin Basic Basic), wanda ke nuna alamar samfurin shigar a kwamfutarka na Windows 10 ko kwamfutar tafi-da-gidanka kuma, mai yiwuwa, mafi dacewa don amfani.

Kwafi layin da ke ƙasa.

Sanya WshShell = CreateObject ("WScript.Shell") regKey = "HKLM  SOFTWARE  Microsoft Windows NT  CurrentVersion " DigitalProductId = WshShell.RegRead (regKey & "DigitalProductId") Win10ProductName = "Windows 10 Shafin:" & WshShell.RegRead (regKey & "ProductName") & vbNewLine Win10ProductID = "ID:" & WshShell.RegRead (regKey & "ProductID") & vbNewLine Win10ProductKey = ConvertToKey (DigitalProductId) ProductKeyLabel = "Windows 10 Key:" 10 Win WinProPro, 01010, 10, 10, 10; & ProductKeyLabel MsgBox (Win10ProductID) Sakamakon ConvertToKey (regKey) Const KeyOffset = 52 neWin10 = (regKey (66)  6) Kuma 1 RegKey (66) = (regKey (66) Kuma & HF7) Ko ((isWin10 da 2) * 4) j = 24 Sakamakon = "BCDFGHJKMPQRTVWXY2346789" Shin Cur = 0 y = 14 Shin Cur = Cur * 256 Cur = regKey (y + KeyOffset) + Cur CurKey (y KeyOffset) = (Cur 24) Cur = Tsarin Fiti na 24 y = y -1 Loop Duk da y> = 0 j = j -1 winKeyOutput = Mid (Chars, Cur + 1, 1) & winKeyOutput Last = Cur Loop Yayinda j> = 0 Idan (i sWin10 = 1) Sa'an nan keypart1 = Mid (WinKeyOutput, 2, Last) saka = "N" winKeyOutput = Sauya (winKeyOutput, keypart1, keypart1 & saka, 2, 1, 0) Idan Last = 0 Sa'an nan kuma winKeyOutput = saka & winKeyOutput End Idan 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 & "-" & End Function

Ya kamata ya fita kamar yadda a cikin hotunan da ke ƙasa.

Bayan wannan, ajiye takardun tare da ƙarar .vbs (don wannan, cikin Ajiye maganganun Ajiye, zaɓi "Duk fayilolin" a cikin "Fayil ɗin fayil" filin.

Je zuwa babban fayil inda aka ajiye fayil din kuma ya gudana - bayan kisa za ku ga wata taga da maɓallin samfurin da kuma version of Windows 10 da aka sanya za a nuna.

Kamar yadda na riga na gani, akwai shirye-shiryen da yawa don kallon maɓalli - a cikin Takaddama da Speccy, da kuma sauran kayan aiki don duba abubuwan da ke cikin kwamfuta, zaka iya gano wannan bayanin. Amma, na tabbata, hanyoyin da aka bayyana a nan za su isa a kusan kowane halin da ake ciki.