Bob65536, could you please tell me how to get the key0 as string in KeyEncode function to let me for example write it to file? I am getting the memory address instead I have an idea of checking if key is online-valid but I will have to test it first. The idea is to use modified slmgr.vbs script (which will return [I mean the process exit code] objProduct.LicenseStatus [has to be 1] after trying to activate system with generated key). Pseudocode: Code: DO { Generate the key Run "wscript slmgr.vbs /ipk KEY" Run "wscript slmgr.vbs /ato" Set ERRORCODE = EXITCODE } While(ERRORCODE != 1) ECHO "SUCCESS - your key is ..." Note that you can not use standard slmgr.vbs because it is not returning any value and is posting messages to user - you have to remove messages and add the return value to the script. Also, note that you have to generate a key which is supported by your system. WARNING: This method will break your current activation so create a backup. WARNING: This method may DDoS MS servers so it is illegal. This method is useful for MAK keys because if you use it for Retail key, you will not be able to share it with people since it will not work anymore (online). For MAK keys, you will just use one of many activation counts .
Janek2012, You can do that with a simple For...Next loop. Code: Example in vbs Dim Pkey As String For i = 0 to 30 Step 1 Pkey = Pkey & Key0(i) Next Why not port the code needed from slmgr.vbs to what ever you need? /ipk uses the functions: Private Sub InstallProductKey(strProductKey) Function GetIsPrimaryWindowsSKU(objProduct) Function GetProductCollection(strSelect, strWhere) Function GetServiceObject(strQuery) Private Sub OutputIndeterminateOperationWarning(objProduct) Private Function ExistsRegistryKey(hKey, Private Function SetRegistryStr(hKey, strKeyPath, strValueName, strValue) Private Function DeleteRegistryValue(hKey, strKeyPath, strValueName) Private Sub QuitWithError(errNum) /ato uses the functions: Private Sub ActivateProduct(strActivationID) Function GetServiceObject(strQuery) Function GetProductCollection(strSelect, strWhere) Private Function CheckProductForCommand(objProduct, strActivationID) Function GetIsPrimaryWindowsSKU(objProduct) Private Sub OutputIndeterminateOperationWarning(objProduct) Private Function IsMAK(strDescription) Private Sub DisplayActivatedStatus(objProduct)
Jachra, the loop I posted should be do...while or while because it does not build key but tests it against online activation (so it should be [almost] endless loop) and it should be in the keygen - not in the vbs script. Also - It is a good idea to just create a script only with needed functions.
Janek2012, The source from KeyInfo could be ported to C# or VB.Net. The routines from the VBScript could also be converted to C# or VB.Net in new code that does almost the same. The app can then be just a systray application. But also understand that when more people run such an application, it is effectively doing a DDoS against Microsoft servers. They might not be happy with such a action.
thanks Bob65536 for those interested you can compile with VS2010 so VC++2012 is not required to run the cmdline
This thread is way over my head, but I figured it was worth signing up and asking you guys my question. I lost my windows 8 key already and because I bought it from a non-MS store, MS says there is nothing they can do. I am on windows 8 right now and have my disc, but I can only see the last 5 digits of my product key. Is there any way to view my product key? I tried following this thread in hopes of finding an answer, but this is just above and beyond my PC knowledge. If you are bored and feel like helping the noob in the room.... Thanks guys
I have tested a bunch of the programs to retrieve your licensekey from Windows 8. I have found that a lot of them in fact find a key, but it is not the correct one. The program SIW gtopala.com/ can retrieve it and it is the correct one. You can not use the old free version. You need the Technician's Version or Pro Business Edition. I´m a new member and there for not allowed to post links so please just Google SIW
You can use this script. Save it as vbs file and double click on it to get the Windows 8 product key: forums.mydigitallife.net/threads/20816-The-Ultimate-PID-Checker?p=584892&viewfull=1#post584892
The same routines for key checking from the pidgenx.dll exists in the sppsvc.exe. Too bad the pkey2005 algo isn't done yet. It would allow for much more fun.
My post just did dissapear... Posted it about 1 hour ago. Anyway, working pairs of IID's and CID's of Pro, Pro WMC and Enterprise editions of W8 can be helpfull in the decryption process? Are IID's and CID's couples algorithm afected if they're from different licensing channels (MAK, OEM, Retail, etc.)?
An OID/CID pair is unlikely to be of use in the long run. If you use MTK to Phone Activate, it saves the pair. This is mostly so you can screw up your CURRENT install and reactivate. The pair is known to change after a reformat, I've never tried reusing a CID after this case, because it seemed too improbable. It also proved pointless to further this Backup process, as a Tokens backup will preserve the phone activation without the CID being needed. An OID is unique for each key you have installed, so yes, a different key channel = new OID = need new CID. It is probably protected very well, but Phone Activation has been the weak link in a lot of software. We haven't had a real crack for NIS since 2009 (only trial resets), and the 2009 EDGE hack came out a week before NIS 2010. So I believe the CID/OID thing could be keygenned, but it has to be extremely well protected or someone would have cracked it in the 10+ years MS has been allowing phone activation.