- Open elevated Command Prompt window
- Execute command to access Office path
CD "C:\Program Files\Microsoft Office\Office16"
- Run command to view the last 5 characters of Office product key
cscript ospp.vbs /dstatus
- Execute command to uninstall Office product key.
cscript ospp.vbs /unpkey:ABCDEX