Summary: Uninstall the pirated office serial number to prepare for installing the genuine version.
-
- Uninstall the office activation tool on the computer, such as "KMS XXX".
-
- Find the path of the script "OSPP.VBS" for processing the serial number activation information that comes with office. The location is as follows:
C:\Program Files\Microsoft Office\Office16\OSPP.VBS
.
- Find the path of the script "OSPP.VBS" for processing the serial number activation information that comes with office. The location is as follows:
-
- Run the "CMD" tool as an administrator and switch to the folder where "OSPP.VBS" is located. The switch command is
cd C:\Program Files\Microsoft Office\Office16
.
- Run the "CMD" tool as an administrator and switch to the folder where "OSPP.VBS" is located. The switch command is
-
- In the "CMD" tool, enter the command
cscript ospp.vbs /dstatus
to query the serial number information and find the serial number, such as "product key".
- In the "CMD" tool, enter the command
-
- In the "CMD" tool, enter the command
cscript ospp.vbs /unpkey:WFG99
to uninstall the serial number found above (replace the "WFG99" field with the actual serial number).
- In the "CMD" tool, enter the command