How To Change Office 2021 Product Key Apr 2026

Ellen was a calm and capable office manager at a small accounting firm. But one gray Tuesday morning, a terrifying banner appeared across her screen:

“No problem,” she whispered. “I just need to change the key.”

So she typed:

Ellen closed the Command Prompt. She opened Excel. The red warning banner was gone. In , it now said: “Product Activated — Microsoft Office 2021” how to change office 2021 product key

cscript ospp.vbs /act A few seconds passed. Then the magic words appeared:

Panic started to creep in. She grabbed her coffee and took a deep breath. “I am smarter than the software,” she told herself. Then she opened her browser. Ellen learned that for Office 2021, you can’t always change the key from inside the app if there’s an activation conflict. You have to go through the back door —the Windows Command Prompt.

cscript ospp.vbs /unpkey:OLDKEY But she didn’t know the old key’s last five digits. So instead, she typed: Ellen was a calm and capable office manager

cd “C:\Program Files\Microsoft Office\Office16” She pressed Enter. The prompt changed, showing she was now inside the Office16 folder. (Why “Office16” for Office 2021? Microsoft keeps the internal numbering consistent—don’t ask, she thought.) Next, she typed this command to uninstall the old, troublesome key:

cscript ospp.vbs /unpkey:7HXTQ Success. “Product key uninstalled successfully,” the computer replied. Now came the moment of truth. She typed:

She felt a rush of relief. But she wasn’t done yet. One last command to force Office to phone home and activate: She opened Excel

The computer thought for a second, then said:

She clicked the button, typed CMD , then right-clicked on “Command Prompt” and selected “Run as administrator.” A dark blue window appeared, blinking patiently. Step 2: The Special Folder She typed the following command carefully (it’s like a secret address for Office):

But when she opened Word and went to , the “Change Product Key” button was grayed out. Invisible. Unclickable.

Her heart sank. She hadn’t changed anything. Then she remembered—IT had sent a new, company-wide volume license key last week. She had simply forgotten to install it.

cscript ospp.vbs /dstatus The screen showed a list of installed product keys. She saw the last five digits of the bad key: .