Đầu tiên mở cmd bằng quyền admin dán lệnh này vào:
if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" (cd /d "%ProgramFiles%\Microsoft Office\Office16")
if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" (cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")
cscript OSPP.VBS /dstatus>status.txt
start status.txt
================================
Lệnh xoá key:
cscript "OSPP.VBS" /unpkey:XXXXX
Thay thế XXXXX bằng 5 kí tự cuối xem được ở bước phía trên