-

  • (190)
  •     (32)
  • (481)
  •    Google Chrome (113)
  •    Brave Browser (3)
  •    UC Browser (2)
  •    Comodo Dragon (2)
  •    NAVER Whale Browser (1)
  •    SlimBrowser (1)
  •    Aurora (1)
  •    Lemon Browser (1)
  •    Coc Coc (1)
  •    Maxthon (1)
  •    Vivaldi (1)
  •    Internet Explorer, Microsoft Edge (26)
  •    Mozilla Firefox (63)
  •    Opera (46)
  •    Safari (9)
  •    SeaMonkey (7)
  •    Slimjet (3)
  •    TOR (1)
  •    Yandex (38)
  •     (4)
  •     (1)
  •     (2)
  • (2917)
  •    Youtube (2451)
  •     (78)
  •     360 (1)
  •     (54)
  •     (27)
  • (633)
  •     (162)
  •     (73)
  •     (63)
  •     (42)
  •     (24)
  •     (21)
  •     (14)
  •     (3)
  •     (237)
  • (961)
  • (60)
  • (54)
  • (60)
  • (44)
  • (87)
  • (544)
  •    , (28)
  •     (18)
  •     (166)
  • (60)
  • (18)
  • (718)
  •     (144)
  •     (4)
  •     (103)
  •     (6)
  • (291)
  • , (52)
  • (402)
  •     (16)
  •     (43)
  •     (42)
  •     (5)
  •     (57)
  •     (18)
  •     .. (3)
  •     (42)
  •     (28)
  •     (35)
  •    , , (43)
  •     (12)
  •     (16)
  •     (26)
  • (2821)
  •     (27)
  •     (85)
  •     (2415)
  • (22)
  • (171)
  • (68)
  • (318)
  •     (, ) (236)
  • (700)
  • , (61)
  • , , (171)
  •    WordPress (1)
  •     (23)
  •     (2)
  • (33)
  • , , . (255)
  •    , (66)
  •     (77)
  •     .. (92)
  • (182)
  •    1 (11)
  •    23 (9)
  •    8 (23)
  •    9 (40)
  •     (16)
  •     (25)
  •     (41)
  • (766)
  •     (62)
  •     (40)
  •     (11)
  •     (73)
  •     (32)
  •     (5)
  •     (60)
  •     (206)
  •     (71)
  • (27)
  • (4304)
  •    , . (31)
  •     (25)
  •     (24)
  •    Windows 11 (20)
  •    Linux (8)
  •     , Windows (3)
  •     (2)
  •    CHROME OS (1)
  •     Tails (1)
  •    Mac OS X (7)
  •    Office (158)
  •    WiFi - (157)
  •    Windows 10 (684)
  •    Windows 7 (405)
  •    Windows 8 (176)
  •    Windows (40)
  •    , (541)
  •    , (35)
  •     (14)
  •     (17)
  •     (8)
  •    Ƹ (112)
  •    , (164)
  •     (11)
  •    , (153)
  •    , , (191)
  •     (29)
  •     (53)
  •     Windows (161)
  •     (5)
  •    , (29)
  •     (1343)
  •     (172)
  •     (36)
  •    , - (86)
  • (14)
  • (203)
  •     (95)
  • (240)
  • (225)
  •    Facebook (17)
  •    Gmail (12)
  •    Mail.ru (13)
  •    Twitter (7)
  •    Yahoo (6)
  •     (28)
  •     (17)
  •     (29)
  •     (90)
  •     (11)
  • (27)
  • (80)
  • (187)
  • (31)
  • (389)
  •     (16)
  •     (5)
  •     - (30)
  • (8)
  • (332)
  •     (19)
  •     (9)
  •     (105)
  •     (31)
  •     (7)
  • (72)
  • (81)
  •     (24)
  • (37)
  •     (2)
  • (2830)
  •     (1041)
  •     (1641)

 -

Perry Como "Impossible"
: 5137 : 1
: 6047 : 1
: 31503 : 1
-
: 35968 : 0

 -

   MGBR2009

 - e-mail

 

 -

 LiveInternet.ru:
: 25.12.2011
:
:
: 24586

:


Windows 8.1, 8, 7, Vista

, 26 2014 . 13:29 +
_
images (1) (286x176, 11Kb)

, , . , ? , . , , 899, :). , Windows. , Windows 8.1 8. .


:

1) Windows VBScript.

2) Windows PowerShell.






Windows VBScript.


1) . WindowsKey( ).


      .   WindowsKey.


2) ( ). :


Set WshShell = CreateObject("WScript.Shell")
regKey = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
DigitalProductId = WshShell.RegRead(regKey & "DigitalProductId")
Win8ProductName = "Windows Product Name: " & WshShell.RegRead(regKey & "ProductName") & vbNewLine
Win8ProductID = "Windows Product ID: " & WshShell.RegRead(regKey & "ProductID") & vbNewLine
Win8ProductKey = ConvertToKey(DigitalProductId)
strProductKey ="Windows 8 Key: " & Win8ProductKey
Win8ProductID = Win8ProductName & Win8ProductID & strProductKey
MsgBox(Win8ProductKey)
MsgBox(Win8ProductID)
Function ConvertToKey(regKey)
Const KeyOffset = 52
isWin8 = (regKey(66) \ 6) And 1
regKey(66) = (regKey(66) And &HF7) Or ((isWin8 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 While y >= 0
j = j -1
winKeyOutput = Mid(Chars, Cur + 1, 1) & winKeyOutput
Last = Cur
Loop While j >= 0
If (isWin8 = 1) Then
keypart1 = Mid(winKeyOutput, 2, Last)
insert = "N"
winKeyOutput = Replace(winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0)
If Last = 0 Then winKeyOutput = insert & 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)
ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e
End Function

.



3) .vbs. .


    .vbs


4) . .


   .      .


.


        .


, : WindowsKey.vbs


2) Windows PowerShell.






— PowerShell. .


1) module( :module.ps1).


      module.


2) :


<pre escaped="true" lang="powershell">##      Windows
## PowerShell 2.0 ( Windows)
Function Get-WindowsProduct {
## Windows , .
param ($Targets = [System.Net.Dns]::GetHostName())
function PIDDecoderFromRegistry($digitalProductId) {
New-Variable -Name base24 -Value 'BCDFGHJKMPQRTVWXY2346789' ## -Option Const ## <24> Windows Office
New-Variable -Name decodeStringLength -Value 24 ## -Option Const ##
New-Variable -Name decodeLength -Value 14 ## -Option Const ## ( )
New-Variable -Name decodedKey -Value ([System.String]::Empty) ##
## , N ( Windows 8 Office 15)
$containsN = ($digitalProductId[$decodeLength] / 8) -bAnd 1 ## ($digitalProductId[$decodeLength] -shr 3) -bAnd 1 ## PS 4.0
$digitalProductId[$decodeLength] = [System.Byte]($digitalProductId[$decodeLength] -bAnd [System.Convert]::ToByte('F7', 16)) ## 247
##
for ($i = $decodeStringLength; $i -ge 0; $i--)
{
$digitMapIndex = 0
for ($j = $decodeLength; $j -ge 0; $j--)
{
$digitMapIndex = $digitMapIndex * 256 -bXor $digitalProductId[$j] ## $digitMapIndex -shl 8 -bXor $digitalProductId[$j] ## PS 4.0
$digitalProductId[$j] = [System.Math]::Truncate($digitMapIndex / $base24.Length)
$digitMapIndex = $digitMapIndex % $base24.Length
}
$decodedKey = $decodedKey.Insert(0, $base24[$digitMapIndex])
}
## N
if ([System.Boolean]$containsN)
{
$firstLetterIndex = 0
for ($index = 0; $index -lt $decodeStringLength; $index++)
{
if ($decodedKey[0] -ne $base24[$index]) {continue}
$firstLetterIndex = $index
break
}
$keyWithN = $decodedKey
$keyWithN = $keyWithN.Remove(0, 1)
$keyWithN = $keyWithN.Substring(0, $firstLetterIndex) + 'N' + $keyWithN.Remove(0, $firstLetterIndex)
$decodedKey = $keyWithN;
}
$returnValue = $decodedKey
##
for ($t = 20; $t -ge 5; $t -= 5)
{
$returnValue = $returnValue.Insert($t, '-')
}
return $returnValue
}
## Main
New-Variable -Name hklm -Value 2147483650 ## -Option Const
New-Variable -Name regPath -Value 'Software\Microsoft\Windows NT\CurrentVersion' ## -Option Const
New-Variable -Name regValue -Value 'DigitalProductId' ## -Option Const
Foreach ($target in $Targets) {
$win32os = $null
$wmi = [WMIClass]"\\$target\root\default:stdRegProv"
$binArray = $wmi.GetBinaryValue($hklm,$regPath,$regValue).uValue[52..66]
$win32os = Get-WmiObject -Class 'Win32_OperatingSystem' -ComputerName $target
$product = New-Object -TypeName System.Object
##
$product | Add-Member -MemberType 'NoteProperty' -Name 'Computer' -Value $target
$product | Add-Member -MemberType 'NoteProperty' -Name 'Caption' -Value $win32os.Caption
$product | Add-Member -MemberType 'NoteProperty' -Name 'CSDVersion' -Value $win32os.CSDVersion
$product | Add-Member -MemberType 'NoteProperty' -Name 'OSArch' -Value $win32os.OSArchitecture
$product | Add-Member -MemberType 'NoteProperty' -Name 'BuildNumber' -Value $win32os.BuildNumber
$product | Add-Member -MemberType 'NoteProperty' -Name 'RegisteredTo' -Value $win32os.RegisteredUser
$product | Add-Member -MemberType 'NoteProperty' -Name 'ProductID' -Value $win32os.SerialNumber
$product | Add-Member -MemberType 'NoteProperty' -Name 'ProductKey' -Value (PIDDecoderFromRegistry($binArray))
Write-Output $product
}
} ## End Get-WindowsProduct

.



3) .ps1 ( ).


    .ps1


4) . Windows 8 8.1 «» « ()» , cmd.exe ( ).


     .  Windows 8  8.1        ""   "  ()"         ,  cmd.exe       ( ).


4) PowerShell powershell. PS.


  PowerShell   powershell.      PS.


5) , :


Set-ExecutionPolicy RemoteSigned

Enter.



6) , :


Import-Module "*___*"

Import-Module «D:\Windows key\module.ps1″ Enter.

, , :



«»:


013


PowerShell ISE. «» , .


 PowerShell ISE.      ""   ,


.


     .


7) :


Get-WindowsProduct

.


         .


PowerShell Windows 7 .


, :moduleWin7.ps1


http://skesov.ru/kak-uznat-klyuch-aktivatsii-ustan...emyi-na-windows-8-1-8-7-vista/
/Windows 8
:  

: [1] []
 

:
: 

: ( )

:

  URL