L

How to Remove an Old or Cracked Microsoft Office Product Key via CMD

1205 views · updated 2026-07-02 · published 2026-07-02 · Microsoft Office Tempo di lettura: 2 min English

If Windows shows an old, duplicate, or previously-used (cracked) Microsoft Office product key, you can remove it from the command line before entering your new genuine key. This works for Microsoft Office 2010 through 2024 (one-time purchase / perpetual editions).

Part 1: Check the Office license status

Aperto Command Prompt as administrator and change into your Office program folder with cd. The path depends on your Office version:

Office 2016 / 2019 / 2021 / 2024 (64-bit):

cd C:\Program Files\Microsoft Office\Office16

Office 2016 / 2019 / 2021 / 2024 (32-bit):

cd C:\Program Files (x86)\Microsoft Office\Office16

Note: “Office16” is the folder name for Office 2016–2024. For Office 2013 use Office15, and for Office 2010 use Office14.

Now check the current license status:

cscript ospp.vbs /dstatus

This lists any installed product keys along with the last 5 characters of each key.

Part 2: Remove the existing / cracked product key

Use the /unpkey switch with the last five characters of the key you want to remove (from the /dstatus output):

cscript ospp.vbs /unpkey:XXXXX

Replace XXXXX with the last five characters of the product key. This removes that activation key from your system. If more than one key is listed, repeat the command for each key you want to remove.

Part 3: Activate with your genuine key

Once the old key is removed, open any Office app (Word, Excel, etc.), go to File → Account, choose Change Product Key, and enter the new 25-character product key we sent you. Office will then activate as genuine.

Note

  • Always run Command Prompt as administrator, or the commands will fail.
  • If ospp.vbs is not found, make sure you are in the correct Office folder (Office14 / Office15 / Office16).
  • Removing the key does not uninstall Office — it only clears the activation so you can enter a fresh key.

Prodotti correlati

[Retail] Microsoft Office 2024 Home 2PC – Attivazione [Retail] Microsoft Office 2024 Home & Business per 2 PC – Attivazione Microsoft Office 2024 Standard LTSC 1PC - una tantum – Attivazione [MAK] Office 2024 Standard 500 PC – Attivazione Microsoft Office 2024 Professional Plus LTSC 1PC - una tantum – Attivazione Microsoft Office 2024 Home 1PC or MAC – Attivazione [Bind] Microsoft Office 2024 Home & Business per Mac/PC – Attivazione online Microsoft Office Professional Plus 2024 (PC) – Attivazione online Microsoft Office 2021 Home and Business PC/Mac (Transferable) – Attivazione Windows 10 Pro + Microsoft Office 2019 Home and Business Bundle - Digital Licences 1PC [Retail] Office 2019 Home & Business per 1 PC - Online – Attivazione [Retail] Microsoft Office 2021 Professional Plus 5PC – Attivazione online Windows 8.1 Pro + Microsoft Office 2016 Professional Bundle – Digital Licenses 1PC Windows 10 Pro + Microsoft Office 2021 Professional Bundle – Digital Licenses 1PC [Bind] Microsoft Office 2016 Professional Plus 1PC (a vita) – Attivazione [Bind] Office 2019 Home & Business for 1 Mac – Attivazione online [Bind] Office 2021 Professional Plus per 1 PC a vita + Key Card – Attivazione [Bind] Office 2021 Home & Business for 1 Mac a vita + Key Card – Attivazione Microsoft Office 2021 Professional Plus 1PC - una tantum – Attivazione Windows 11 Pro + Microsoft Office 2021 Professional Bundle – Digital Licenses 1PC [Bind] Office 2021 Home & Business for 1 Mac (a vita) – Attivazione online [Retail] Microsoft Office 2021 Professional Plus 1PC – Attivazione online [Bind] Microsoft Office 2021 Professional Plus 1PC (a vita) – Attivazione [Bind] Microsoft Office 2019 Professional Plus 1PC (a vita) – Attivazione Microsoft Office 2019 Professional Plus 1PC (Online) – Attivazione Office 2010 Professional Plus 1PC – Attivazione [Retail] Office 2013 Home & Business 1PC Activate (una tantum) [Retail] Office 2013 Professional Plus 1PC Activate (una tantum) Microsoft Office 2016 Professional Plus 1PC (Online) – Attivazione [Retail] Microsoft Office 2013 Professional Plus 1PC (Online) – Attivazione Windows 10 Pro + Microsoft Office 2016 Professional Bundle - Digital Licenses 1PC [Phone] Office 2019 Home & Business per 1 PC – Attivazione Office 2016 Home & Business per 1 PC – Attivazione [Bind] Office 2016 Home & Student 1 PC – Attivazione online [Bind] Office 2019 Home & Student 1 PC (a vita) – Attivazione online [Bind] Office 2019 Home & Business for 1 Mac/PC – Attivazione online [Retail] Office 2019 Pro Plus per 2 PC – Attivazione online [Retail] Office 2016 Pro Plus per 2 PC – Attivazione online Microsoft Office 2016 Professional Plus 1PC (una tantum) – Attivazione Windows 10 Pro + Microsoft Office 2019 Professional Bundle – Digital Licenses 1PC Microsoft Office 2019 Professional Plus 1PC (una tantum) – Attivazione [Bind] Office 2016 Home & Business for 1 Mac – Attivazione online

Grazie per il tuo feedback! 🙌

Leggi di più