• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Windows 7 Activation Proposal

    Scheduled Pinned Locked Moved
    Feature Request
    6
    15
    7.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jayphizzle
      last edited by

      @JBob: very nice customization. We have the same activation ‘problem’, but using a autoit script which runs after each deployment.
      I would be great if this can be handeld by fog as well.

      Which version are you using? Are this the only changes which are needed?

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by

        @axel12: I may not be understanding you, but at the institution I work at we do not have the luxury of volume licensing, each computer has its own unique product key.

        @jayphizzle We just upgraded to 1.1 and implemented it, but we were using this modification on 0.32 and 1.0.1. There are additional changes I have implemented. However, I am going to re-code them to be cleaner. Once I do that I’ll post all of my changes.

        [B]Edit[/B] All changes I have made for v1.1 are now in the original post in case this feature is not put into FOG but people, like jayphizzle wish to implement it.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        1 Reply Last reply Reply Quote 1
        • I
          Ivanov Alexandru
          last edited by

          Hello Jbob , if i make these changes to the last [FONT=Ubuntu][COLOR=#555555]Version: 1.1.2 , it should work ?[/COLOR][/FONT]

          [FONT=Ubuntu][COLOR=#555555][/COLOR][/FONT]

          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by

            @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.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott
              last edited by

              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.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • J
                Joe Schmitt Senior Developer
                last edited by

                @Tom Elliott, that is great, it is one less thing I have to implement each time I upgrade!

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                1 Reply Last reply Reply Quote 1
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  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.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • A
                    andyroo54 Moderator
                    last edited by

                    This is a great feature, thanks jbob!

                    1 Reply Last reply Reply Quote 0
                    • J
                      jayphizzle
                      last edited by

                      @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 ?

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Pretty much, yes.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • J
                          jayphizzle
                          last edited by

                          [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.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jayphizzle
                            last edited by

                            @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 ?

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              The key should be base64 encoded. Let me see if it’s being decoded in the GUI

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              243

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project