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

                            @datastream
                            We ultimately ended up a virtual server hosting our kms server. We use this for both MS Office and Windows 7. Use Windows Server 2012 or newer, it’s much easier to set up.

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

                              I ended up getting it by putting the following in a powershell script:

                              cscript “c:\program files\Microsoft Office\Office14\ospp.vbs” /inpkey:[License Key]
                              cscript “c:\program files\Microsoft Office\Office14\ospp.vbs” /act

                              After it installed and ran this, I just had to log in as admin, open word, click to activate, set up update preferences and I was done.

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

                                @datastream said in Windows / Office Licencing:

                                cscript “c:\program files\Microsoft Office\Office14\ospp.vbs” /act

                                One would have hoped this command would have activated it for you. There should be no need to manually go in and activate it.

                                Do your computers have direct access to the internet or do you/they have to go through a proxy server to get there?

                                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
                                  last edited by datastream

                                  Direct access. I will still have to go in and set the update preferences as admin.

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

                                    @datastream Update preferences?? Can you enlighten me?

                                    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!

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

                                      @george1421 So I just logged in and opened word. After it opens it has the window that says first things first and you choose how it will install updates. You have to be an admin to set that. After that the window pops that asks “How do you want to activate your software?”

                                      After you click through those it is ready to go. Is there a way to automate that so it is done already? It’s not a big deal. I can login to each machine and click through those, but if it can be done I would set it up.

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

                                      193

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project