Windows 7 Activation Proposal
-
@Ivanov Alexandru I believe it should work with no changes but currently where I work we are still running 1.1.0. My guess is that some of the line numbers may be off. However, if you would like help implementing it into 1.1.2 I would be more than willing to assist you. You can PM me if you wish me to help.
-
Jbob,
I hope you don’t mind, but I’m using this code and adding it. I’m going to ask if the user wants to add the product key on registration. The key changer/updater function is now embedded in ipxe, meaning no need for the key.register.php or the fog.key.reg files.
-
@Tom Elliott, that is great, it is one less thing I have to implement each time I upgrade!
-
SVN 2056 should have these code revisions now.
The MOD_HostnameChanger.cs script has been updated as well, but it HAS NOT BEEN COMPILED in fog client.
-
This is a great feature, thanks jbob!
-
@Tom: so if i’m using fog 1.2 i only need to replace the “HostnameChange.dll” created by Jbob to run the win7 activation during the hostchanger task ?
-
Pretty much, yes.
-
[quote=“Tom Elliott, post: 35481, member: 7271”]Pretty much, yes.[/quote]
Ok i will give it a try.
#EDIT#
Added the WIn7 Key to the Host details and removed the serial from the client.
Replaced HostnameChange.dll and rebooted client.
After reboot the client was activated again. Perfect !!Big Thanks to Jbob and Tom.
I hava only one suggestion:
Is it possible to write some informations about the activationprocess to the fog logfile ?
e.g. if the activations fails and why? Or it was succesfull. -
@Tom:
I tried to copy my windows 7 keys from a another db to the new column in the host table.
The result looks like this:[IMG]http://abload.de/img/19-08-201417_55_33-ediekmw.png[/IMG]
Then i inserted the key directly in the webgui and the key looks like this in phpmyadmin:
[IMG]http://abload.de/img/19-08-201417_52_51-clmuu3l.png[/IMG]
It looks like the key will be saved in a crypted way? Is that correct ?
-
The key should be base64 encoded. Let me see if it’s being decoded in the GUI