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

    Windows 7 Product Key

    Scheduled Pinned Locked Moved Solved
    General
    6
    12
    7.6k
    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
      Joe Schmitt Senior Developer
      last edited by Joe Schmitt

      Include dashes. As for caps, that doesn’t matter but I would as windows product keys tend to be all caps.

      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 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        I recently used snapins to deploy a Win7 key and activate windows. I’m at home right now but if you’re interested, let me know and I’ll put it here while I’m at work.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        L 1 Reply Last reply Reply Quote 0
        • V
          VincentJ Moderator
          last edited by Wayne Workman

          This is the process for a KMS Server… so use the part that you need.

          slmgr.vbs -ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
          slmgr.vbs -skms IPADDRESS:1688
          slmgr.vbs -ato
          slmgr.vbs -dlv > c:\KMS.log
          

          The key is the public KMS one that you input into clients.

          Mod edited to use code box.

          J 1 Reply Last reply Reply Quote 1
          • L
            Leon Hordyk @Wayne Workman
            last edited by

            @Wayne-Workman
            I just got back from a long weekend, would be interested in the snap-in you are talking about. Currently we have about 200 machines, each with an OEM product key. We have the keys in csv files and for our Lenovo machines run a vbs script manually after fogging (requires admin privileges). Our HP machines won’t accept that script so we ‘cut and paste’ the key manually to register with MS.
            I haven’t any experience with snapins and FOG but have two weeks or so to fiddle before school begins and all of these computers need to be up and ready.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Leon Hordyk
              last edited by

              @Leon-Hordyk My script is incredibly similar to @VincentJ 's script, less in fact.

              cscript //B "%windir%\system32\slmgr.vbs" /ato
              

              My key is already stored in my image, and I just needed the computers to try to activate.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              K 1 Reply Last reply Reply Quote 0
              • J
                jcyphert @VincentJ
                last edited by

                @VincentJ Sorry if I’m missing something; Where do you put this? Is this something at fog pushes out or log in scripts?

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @jcyphert
                  last edited by

                  @jcyphert said:

                  @VincentJ Sorry if I’m missing something; Where do you put this? Is this something at fog pushes out or log in scripts?

                  You would create a batch file with commands in it, and upload it to fog as a snapin.

                  This is done through the Snapin Management page. For a simple script, normally you don’t need to worry about the “run with” and “arguments” parts - that’s for other kinds of deployments (mostly MSIs).

                  When the snapin has been created in FOG, you would have either a single host or a group execute that snapin by going to tasks -> advanced -> single snapin. There are also other ways to push a snapin.

                  Obviously, one of the FOG Clients are required to be installed on hosts for FOG to allow any sort of control post-imaging.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  J 1 Reply Last reply Reply Quote 1
                  • V
                    VincentJ Moderator
                    last edited by

                    I would try to use KMS if you can, if your doing this for OEM it will be a pain…

                    You could run the script via batch file, snapins, wpkg, opsi, GPO. It all depends how you are setup and how your environment works.

                    1 Reply Last reply Reply Quote 1
                    • J
                      jcyphert @Wayne Workman
                      last edited by

                      @Wayne-Workman Thanks!

                      1 Reply Last reply Reply Quote 0
                      • K
                        kman1232 @Wayne Workman
                        last edited by

                        @Wayne-Workman So if I was going to enter this as a Snap-In would I put this in the “Snapin Run With Argument” or
                        “Snapin Arguments” section? I tried copying this script and entering it in the “Snapin Arguments” section and click add, However when I list all snapins it doesn’t appear to be saving. I also checked my server in the /opt/fog/snapins but it also appears to be blank. I am using Fog Version 1.2.0

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @kman1232
                          last edited by

                          @kman1232 Create a batch file and get it to work like that first. Batch files have a .bat extension, they are considered a windows executable type of file.

                          You’d upload the script into a new snapin, then test deploy that on a client and see if it works or not.

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

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

                          176

                          Online

                          12.2k

                          Users

                          17.3k

                          Topics

                          155.5k

                          Posts
                          Copyright © 2012-2024 FOG Project