Untitled
raw download clone
TEXT
views 7
,
size 547 b
if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" (cd "%ProgramFiles%\Microsoft Office\Office16")
if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" (cd "%ProgramFiles(x86)%\Microsoft Office\Office16")
for /f "tokens=8" %b in ('cscript ospp.vbs /dstatus ^| findstr /b /c:"Last 5"') do (cscript ospp.vbs /unpkey:%b)
for /f %i in ('dir /b ..\root\Licenses16\proplus2019vl*mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%i"
cscript OSPP.VBS /inpkey:BN8D3-W2QKT-M7Q73-Y3JWK-KQC63
cscript OSPP.VBS /dinstid
close fullscreen
Login or Register to edit or fork this paste. It's free.