SystemRage / py-kms

KMS Server Emulator written in Python
The Unlicense
2.04k stars 618 forks source link

Windows 10 2004 (19041): "activated client could be detected as not genuine" #62

Closed riverar closed 4 years ago

riverar commented 4 years ago

Snippet from log:

Tue, 07 Apr 2020 05:56:02 DEBUG    KMS Request: 

                                   kmsRequestStruct
                                   versionMinor: {0}
                                   versionMajor: {6}
                                   isClientVm: {0}
                                   licenseStatus: {5}
                                   graceTime: {0}
                                   applicationId:{
                                       raw: {b"4'\xc9U\x82\xd6qM\x98>\xd6\xec?\x16\x05\x9f"}
                                   }
                                   skuId:{
                                       raw: {b'\x92s\xe6-\xa7\xb7*F\xb1\xca\x10\x8d\xd1\x89\xf5\x88'}
                                   }
                                   kmsCountedId:{
                                       raw: {b'O\x13\xe2X\x11\x8e\x17M\x9c\xb2\x91\x06\x9c\x15\x11H'}
                                   }
                                   clientMachineId:{
                                       raw: [redacted]
                                   }
                                   requiredClientCount: {25}
                                   requestTime: {132307125537486265}
                                   previousClientMachineId:{
                                       raw: {b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'}
                                   }
                                   machineName: [redacted]
                                   _mnPad: {114}
                                   mnPad: [redacted]

Tue, 07 Apr 2020 05:56:02 WARNING  With count = 26, activated client could be detected as not genuine !
Tue, 07 Apr 2020 05:56:02 INFO     Machine Name: [redacted]
Tue, 07 Apr 2020 05:56:02 INFO     Client Machine ID: 51eb4481-b49e-47f0-b6e8-[redacted]
Tue, 07 Apr 2020 05:56:02 INFO     Application ID: Windows
Tue, 07 Apr 2020 05:56:02 INFO     SKU ID: Windows 10 Professional
Tue, 07 Apr 2020 05:56:02 INFO     License Status: Notifications Mode
Tue, 07 Apr 2020 05:56:02 INFO     Request Time: 2020-04-07 05:55:53 PDT (UTC-0700)
Tue, 07 Apr 2020 05:56:02 INFO     Server ePID: 03612-00206-562-132597-[redacted]
Tue, 07 Apr 2020 05:56:02 INFO     KMS V6 Response: 
...
simonmicro commented 4 years ago

Okay, is your machine still activated? This warning just informs the user, that the used license key has been used more than 25 times and could be therefore detected as not genuine - which should be fine, because you're using pykms anyways (and if windows does not patch an own validation check by update...).

riverar commented 4 years ago

@Simonmicro Not activating. image

Fresh test VM.

simonmicro commented 4 years ago

@riverar Okay, noted. I'll try to reproduce and confirm this - which key did you used from the wiki? Whats the images origin? If you acquired it from Microsoft directly, please send the used Version name (Lang+Edition+Bit). To go deeper, please wait for @SystemRage - maybe he has any idea -> its possible that Microsoft updated the KMS protocol recently(?)...

riverar commented 4 years ago

@Simonmicro No rush, thanks for looking into it.

ISO https://uupdump.ml/download.php?id=e22d2087-fbb5-409b-8935-b688876d4b5d&pack=en-us&edition=professional KMS client key W269N-WFGWX-YVC9B-4J6C9-T83GX

riverar commented 4 years ago

Sorry to waste everyone's time. This was simply an issue with me hosting the pykms container on the same machine I was trying to activate. Connecting to yourself to activate is unsupported by Windows for obvious reasons.