Adding the Product ID to your Operations Manager 2012 (SCOM 2012)

Just returned from a customer where we installed the Final Realease of Operations Manager downloaded from Microsoft Volume License Service Center. After the installation we checked the About window in the Help Menu and as you can see from below it stated that we installed a Eval edition…

image

To enter your license key so you avoid the Time bomb of 180 days you must use a Powershell cmdlet, start your Operations Manager Shell and enter the Set-SCOMLicense –ProductID command, like:

image

Enter Y to Confirm the License, and thats it.

Reboot your Management Server, and check the About window in the Operations Console again, and you will see the change:

image

If you are in doubt of any licenses terms, try the cmdlet Get-SCOMLicense. =  ;-)

Have a great spring with OpsMgr 2012 and see you in Vegas…

clip_image001


Comments (17):

  1. FMustafa says:

    Key is still shown…!!
    You will need to remove it from the “Confirm” part…!

  2. Ruuhis says:

    Trying to install my new license downloaded from Microsoft Volume License Service Center, but only error message is shown:

    [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): y
    Set-SCOMLicense : Requested registry access is not allowed.
    At line:1 char:16
    + Set-SCOMLicense <<<< -ProductId

    I think that my rights are OK, local administrator.
    Wondering why?

  3. David Andersen says:

    Hi Ruuhis
    Remember to use the “Operations Manager Shell”, not the normal “Powershell” :-) .. . .
    Br
    David

  4. Andrew says:

    like above i am getting the error
    Set-SCOMLicense : Requested registry access is not allowed.
    At line:1 char:16
    + Set-SCOMLicense <<<< -ProductId

    but when i reboot my server, i am still on the eval version.

    i did notice from your screen shot you powershell is called
    Adminstrator operation manager shell.

    mine is just saying, operation mananger shell.

    when, i try and run it as adminstrator i get a error.

    "The term '.\OperationsManager\Functions.ps1' is not recognized as the name of a
    cmdlet, function, script file, or operable program. Check the spelling of the
    name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:67
    + Import-Module OperationsManager; .\OperationsManager\Functions.ps1 <<<< ; .\O
    perationsManager\Startup.ps1
    + CategoryInfo : ObjectNotFound: (.\OperationsManager\Functions.p
    s1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    The term '.\OperationsManager\Startup.ps1' is not recognized as the name of a c
    mdlet, function, script file, or operable program. Check the spelling of the na
    me, or if a path was included, verify that the path is correct and try again.
    At line:1 char:100
    + Import-Module OperationsManager; .\OperationsManager\Functions.ps1; .\Operati
    onsManager\Startup.ps1 <<<”

    Helpppppppppppppp

  5. Andrew, you can open Windows PowerShell Console on SCOM Server as Administrator and execute:

    Import-Module OperationsManager
    Set-SCOMLicense -ProductId XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

  6. Andrew says:

    Thanks, i reinstalled it, and it works fine now

  7. I have tried til put in our product id many times now but no succes.
    I have version 7.0.8560.0 (Eval)
    I’ve done this:
    Run as Administrator on “Operations Manager Shell”
    the I run these 3 lines
    Import-Module operationsmanager
    New-SCManagementGroupConnection
    Set-SCOMLicense -ProductId XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    When I run the last line, I get no error, but its just hang with a blinking cursor.

    Any Ideas?

    Søren

    • Nate says:

      I have the exact same problem (shell hangs on set-scomlicense command), any resolutions out there??

      • Adam L says:

        To resolve the problem where the shell hangs after entering the command, MS support had us log into the MS as the user who did the 07->12 upgrade, which was also the SDK domain account. This time it registered the key and returned to the PS command prompt right away. Apparently something is getting installed into that user’s profile alone (dll?)

        Also, MS support said this will do a key validation back to Microsoft, so be sure the server has internet access (ours worked thru our proxy just fine).

        Yet another example of poor documentation related to SC12.

  8. mangesh says:

    Hi,
    What are the command to get/set license (product key) information for scom 2007 r2

    Thanks,
    Mangesh

Leave a Reply

(required)