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

    Windows 7 OEM Activation Script - FOG Edition

    Scheduled Pinned Locked Moved
    Tutorials
    2
    3
    10.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.
    • mosesM
      moses
      last edited by moses

      Greetings,

      I’ve been using FOG for a little while now and where I work, we buy PCs that typically come with either an OEM Windows 7 license or Windows 8 with downgrade rights to 7. FOG handles retail or volume keys fine using the FOG client, but this won’t work for these OEM licenses or downgrade right installs.

      So I made myself a little SetupComplete script about a year ago that lets us quickly clean image these PCs and activate Windows the same way the OEM does when they arrive on our doorstep sysprep’d from the factory.

      You can read about how to do this yourself here, but I wrote a version that might suit FOG Project fans.

      What it does:

      • You select the manufacturer of the PC (or use the new “automatic mode”)
      • The script identifies the edition (Home Premium, Professional, etc) and installs the corresponding OEM cert and key
      • Verifies that activation was successful
      • Starts up the FOG client service

      It’s written in Batch and it’s messy, but it works. Feel free to fork it to make improvements, or open an issue on Github if you discover a bug.

      Cheers!


      For now, you can view the FOG Edition of the script on Github:
      https://github.com/mgiljum/Windows7-OEM-Activator/tree/FOG-Edition

      Or you can download it directly here (just be sure check the README.md😞
      https://github.com/mgiljum/Windows7-OEM-Activator/archive/FOG-Edition.zip

      Note: the “Non-FOG” edition of the script (can be found on Github) does the same thing, it just doesn’t start/stop the FOG service or come packaged nicely with a SetupComplete.cmd template.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 2
      • Wayne WorkmanW
        Wayne Workman @moses
        last edited by

        @moses Good stuff. Moved your post to the tutorials area.

        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/

        mosesM 1 Reply Last reply Reply Quote 0
        • mosesM
          moses @Wayne Workman
          last edited by

          @Wayne-Workman thanks, Wayne!

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

          218

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project