Confirmation ID and Command Prompt

Discussion in 'Microsoft Office' started by tistou77, Mar 13, 2022.

  1. tistou77

    tistou77 MDL Expert

    Mar 22, 2008
    1,822
    573
    60
    Hello

    Is there any command line to activate Office 2016 with confirmation ID (MAK key, already having the Confirmation ID)
    Instead of entering this ID manually

    I saw the "/actcid:value" command but I don't know how it works

    Thans
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. spinalGR

    spinalGR MDL Senior Member

    Oct 16, 2014
    405
    79
    10
    Micro$oft scripts
     

    Attached Files:

  3. tistou77

    tistou77 MDL Expert

    Mar 22, 2008
    1,822
    573
    60
    Thanks for your help

    If I understood correctly, I indicate the key, then after I run this script to activate Office 2016 (in order to avoid typing the CID manually)

    if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16"
    if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16"
    cscript.exe OSPP.vbs /actcid:************************************************
    cscript.exe OSPP.vbs /act


    By replacing the xxxxx by the CID

    Thanks so much
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...