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

    Windows / Office Licencing

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    6
    31
    12.8k
    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.
    • george1421G
      george1421 Moderator @Joe Gill
      last edited by george1421

      @Joe-Gill Really You didn’t mention if you were using MAK or KMS keys. But most places will use a KMS key server since all of the licensing is done locally (without the client computers having direct access to the internet). The KMS server also allows you to revoke keys and upgrade/downgrade activation.

      But to answer your question you can create a setupcomplete.cmd and put the following lines in it.

      cscript “C:\Windows\System32\Slmgr.vbs” /ipk [Windows KMS Key if not already in your image]
      cscript “C:\Windows\System32\Slmgr.vbs” /ato

      That will activate the workstation after setup has complete and before the first logon happens.

      If you have a local KMS server insert the following command between the two above.
      cscript “C:\Windows\System32\Slmgr.vbs” /skms [IP_Address]
      cscript “C:\Windows\System32\Slmgr.vbs” /ato

      This code should be executed on the target computer not your reference image.

      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!

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

        I should add that the fog client activates windows fine with MAC keys, as far as I know.

        KMS is a different animal, and I’ve not tested it what-so-ever with the new client. For KMS, I’d go George’s route.

        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 0
        • J
          Joe Gill @george1421
          last edited by

          @george1421

          I’ll keep that in mind. I’m going to try the Trunk option that Wayne mentioned first.

          No KMS here. I’m assuming it’s MAK. I’m the new guy still so I’m learning as I go.

          Thanks!!

          Cheers,

          Joe Gill

          george1421G 1 Reply Last reply Reply Quote 0
          • J
            Joe Gill @Wayne Workman
            last edited by

            @Wayne-Workman

            Do the images need to be sysprepped in order to go the FOG client route?

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Joe Gill
              last edited by

              @Joe-Gill Understood.

              Just realize that MAK keys are churn and burn (i.e. you only get one activation per MAK key and those key’s (license) can’t be reclaimed if you dispose of the hardware. They are a one time use key). With KMS keys when you dispose of a system the KMS key returns to the license pool.

              No sysprep is not required for the 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!

              1 Reply Last reply Reply Quote 1
              • Wayne WorkmanW
                Wayne Workman @Joe Gill
                last edited by

                @Joe-Gill said in Windows / Office Licencing:

                @Wayne-Workman

                Do the images need to be sysprepped in order to go the FOG client route?

                Nah. You’re good to go.

                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
                • J
                  Joe Gill
                  last edited by

                  We must use KMS. The keys we have we can re-use until the pool fills up. Then you have to release some. I’ll have to ask the other admin. Thanks!

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @Joe Gill
                    last edited by

                    @Joe-Gill The actual keys used doesn’t matter for your task at hand. The systems activate the same way. The MAK vs KMS is part of your internal IT governance process (license management).

                    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!

                    J 1 Reply Last reply Reply Quote 1
                    • J
                      Joe Gill @george1421
                      last edited by

                      @george1421

                      Thanks for the explanation. I come more from a Unix / Linux background where licensing is simpler. 🙂 We use MAK for certain. We do not have KMS set up here.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Gill
                        last edited by

                        How about MS Office activation? Is their anyway to automate that?

                        @Developers FYI The Trunk ver. of the client works like a charm for Windows Activation! Thanks!!! You guys rock!

                        Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @Joe Gill
                          last edited by

                          @Joe-Gill said in Windows / Office Licencing:

                          How about MS Office activation? Is their anyway to automate that?

                          Powershell snapin that runs activation for you. If you associate a snapin with a host, that snapin will run automatically after every imaging task on said computer.

                          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
                          • george1421G
                            george1421 Moderator @Joe Gill
                            last edited by

                            @Joe-Gill This script will activate office 2010. You will need to adjust the path for office 2016 and for system arch (x64 or x86). You can just create the vbs script and deploy as a snapin or if you are creative you can package with the office 2016 snapin, or use the office setup took and just add the key into the setup configuration and let office do that.

                            cscript “c:\program files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform” ospprearm.exe
                            cscript “c:\program files\Microsoft Office\Office14\ospp.vbs” /inpkey:[Office KMS Key]
                            cscript “c:\program files\Microsoft Office\Office14\ospp.vbs” /sethst:[IP Address]
                            cscript “c:\program files\Microsoft Office\Office14\ospp.vbs” /act

                            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!

                            J D 3 Replies Last reply Reply Quote 0
                            • J
                              Joe Gill @george1421
                              last edited by

                              @george1421

                              Thanks!! You have been very helpful!

                              1 Reply Last reply Reply Quote 0
                              • G
                                gnoetzel
                                last edited by

                                I have 8 computers that have ‘pre-install’ MS Office 2016. I have separate keys for each machine. However, I used FOG to image 1 computer that was already activated.
                                When I re-image another computer - I was not able to use Office since the Key already used and could not be activated.
                                I tried Repair Office - and it was cumbersome and I don’ think doing the repair would work on the 3rd computer.
                                Does the CSCRIP if put into FOG Snapin - work during the imaging?
                                MS Office 2016 requires activation via internet with a user name/password.

                                I appreciate everyone suggestions or recommendations.

                                thanks

                                Gilbert Noetzel
                                Information Technology Support Specialist (ITSS)
                                City of Reidsville
                                230 West Morehead Street
                                Reidsville, NC 27320
                                Phone: 336-347-2339
                                Email: gnoetzel@ci.reidsville.nc.us

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

                                  @gnoetzel Make a new image with MS Office unactivated, and use that. Others may have better advice, so stay tuned.

                                  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
                                  • J
                                    Joe Gill
                                    last edited by

                                    @gnoetzel

                                    We are using Office 2016.

                                    So I went through all of what is listed here before and what I ended up doing was activating said office on pre-image. Then sysprepping. After I pushed the new image, office will prompt you to setup update service and licence on first use. It will licence as normal over the internet.

                                    It’s still not the best solution, but… Until 2016 has KMS licence available, this is what I’m doing.

                                    Good luck!!

                                    Joe

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      datastream @george1421
                                      last edited by

                                      @george1421 If I run this script as a snapin but change the second line to include a MAK instead of a KMS and then take out the third line, would that work for me?

                                      george1421G 1 Reply Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @datastream
                                        last edited by

                                        @datastream Yes it should as long as the target computer has direct access to the internet to activate the MAK key. You can do some things if you have a proxy server between your target computers and the internet to make it work too, but its a bit more complicated.

                                        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!

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          datastream @george1421
                                          last edited by

                                          @george1421 I have also followed the path in the first line and the path is empty. According to the command shouldn’t ospprearm.exe be in that folder?

                                          george1421G J 2 Replies Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @datastream
                                            last edited by

                                            @datastream well I can’t say for absolute since we use kms keys and we have it setup to auto activate.

                                            I did just find these instructions that doesn’t use rearm.

                                            cd c:\Program Files (x86)\Microsoft Office\Office14
                                            cscript ospp.vbs /inpkey:XXXXX-YYYYY....
                                            cscript ospp.vbs /act
                                            

                                            You might want to see if you can manually activate office. You will need to chagne the office path based on the version of office you are trying 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!

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

                                            176

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project