Untitled
raw download clone
TEXT
views 8
,
size 538 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\proplus2019r*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%i"
cscript OSPP.VBS /inpkey:WDWPK-CDNWJ-RJQJX-8CTGQ-JT26G
cscript OSPP.VBS /act
close fullscreen
Login or Register to edit or fork this paste. It's free.