cscript ospp.vbs /inpkey:NEWKEY-XXXXX-XXXXX-XXXXX-XXXXX (She replaced NEWKEY-XXXXX... with the actual new product key from IT.)
The computer thought for a second, then said:
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: how to change office 2021 product key
cscript ospp.vbs /dstatus The screen showed a list of installed product keys. She saw the last five digits of the bad key: .
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): cscript ospp
cscript ospp.vbs /unpkey:OLDKEY But she didn’t know the old key’s last five digits. So instead, she typed:
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. She saw the last five digits of the bad key:
cscript ospp.vbs /unpkey:7HXTQ Success. “Product key uninstalled successfully,” the computer replied. Now came the moment of truth. She typed:
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:
She felt a rush of relief. But she wasn’t done yet. One last command to force Office to phone home and activate: