0% found this document useful (0 votes)
278 views1 page

Activate. CMD

This document contains a series of commands that stop an Office service, delete and replace key configuration and data files related to Office activation, and run scripts to input a new product key and reactivate Office. The goal is to bypass the original Office activation by replacing activation files and inputting a new product key.

Uploaded by

wawan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
278 views1 page

Activate. CMD

This document contains a series of commands that stop an Office service, delete and replace key configuration and data files related to Office activation, and run scripts to input a new product key and reactivate Office. The goal is to bypass the original Office activation by replacing activation files and inputting a new product key.

Uploaded by

wawan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

echo off

net stop osppsvc


takeown /f "PROGRAMFILES\Common Files\Microsoft Shared\OFFICE14\Office Setup Con
troller\pkeyconfig-office.xrm-ms"
icacls "PROGRAMFILES\Common Files\Microsoft Shared\OFFICE14\Office Setup Control
ler\pkeyconfig-office.xrm-ms" /grant administrators:F /t
del /F /Q "PROGRAMFILES\Common Files\Microsoft Shared\OFFICE14\Office Setup Cont
roller\pkeyconfig-office.xrm-ms"
copy "dp0pkeyconfig-office.xrm-ms" "PROGRAMFILES\Common Files\Microsoft Shared\O
FFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms"
takeown /f "PROGRAMDATA\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat"
icacls "PROGRAMDATA\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat" /gran
t administrators:F /t
del /F /Q "%PROGRAMDATA%\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat"
copy "dp0tokens.dat" "PROGRAMDATA\Microsoft\OfficeSoftwareProtectionPlatform\tok
ens.dat"
takeown /f "PROGRAMDATA\Microsoft\OfficeSoftwareProtectionPlatform\Cache" /r
icacls "PROGRAMDATA\Microsoft\OfficeSoftwareProtectionPlatform\Cache" /grant adm
inistrators:F /t
rd /s /Q "PROGRAMDATA\Microsoft\OfficeSoftwareProtectionPlatform\Cache"
cscript "PROGRAMFILES\Microsoft Office\Office14\ospp.vbs" /inpkey:6QFDX-PYH2G-PP
YFD-C7RJM-BBKQ8
cscript "PROGRAMFILES\Microsoft Office\Office14\ospp.vbs" /act
cscript PROGRAMFILES\Microsoft Office\Office14\ospp.vbs / dstatus

You might also like