Install of Office 2021 with configuration file and activation

Cody 321 Reputation points
2023-05-22T20:34:09.8033333+00:00

Not sure if I'm doing this right. Trying to install Office 2021 using a configuration.xml file. Note that I'm using the MAK Key the I was provided from MS for the "PIDKEY=#####-#####-#####-#####-#####".

Office 2021_1

After the install and launching Word and/or Excel, I get a Microsoft Office Activation Wizard pop up to active Office 2021.

Office 2021_2

What am I doing wrong? Do I need to active the via internet? My thought is that when using the PIDKEY, it should active it.

Microsoft 365 and Office Development Other
Microsoft 365 and Office Install, redeem, activate For business Windows
0 comments No comments
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,796 Reputation points
    2023-05-23T02:47:18.6466667+00:00

    Hi @kody

    Do I need to active the via internet?

    If you use MAK key to activate volume licensed Office 2021, yes, you need the Internet connection.

    Besides, please ensure your MAK key is correct.

    But if you have no condition to connect to Internet, I suggest you choose "I want to activate the software by phone."

    • To get the Installation ID (IID) for offline activation for Office 2021 , you may run following command in Command Prompt (Run as administrator).

    cscript.exe "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dinstid

    • After you enter the IID into the interface of the Phone Activation Wizard, you will get the Confirmation ID (CID) via phone, please continue to enter its value in Command Prompt to activate Office.

    cscript.exe "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /actcid:value

    Any issues, welcome to post back.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.