Hack to Activate Microsoft Office 2007 Evaluation Trial Version
Most suites or programs of Microsoft Office 2007 allows user to evaluate the product. The trial version of 2007 Microsoft Office system can be installed by using a 25-character trial product key available from Microsoft while you download the free Office software, and you can use the Microsoft Office 2007 suite or program with full functionality for 60 days.
You may have the Office 2007 CD and are able to install Office 2007 without entering product key. However, Office 2007 will work in reduced functionality mode, where it’s effectively just a viewer for Office documents. Beside, if you forget the trial product key, or don’t wish to register a Windows Live ID to get the trial key, here’s the trick to activate Office 2007, or more correctly, bypass the activation of Office 2007 60 days trial, and making the “trial” word disappear from the Office title at the top and suppress activation and trial expiry prompt.
Note that to use Microsoft Office 2007 beyond 60 days trial period, you need to purchase a valid license for it, available from Amazon or most computer retail store.
To use this hack to crack activation on Office 2007, you need to install Office 2007 without any serial number or product key. If you have installed Office 2007 with a product key or serial number, do the following to clean remove Office 2007 of product key:
- Close all Microsoft Office applications.
- Run Register Editor by clicking on Start -> Run, and then type “regedit” in the Open box and press Enter key.
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Registration
Note that inside the registry key, there should be another subkey that resembles the following:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Registration\{90120000-0030-0000-0000-0000000FF1CE
or
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Registration\{91120000-0011-0000-0000-0000000FF1CE
- If there is more than one registry entries or subkeys that reference Microsoft 12.0 registration, open up each subkey, and then identify the product by the ProductName value data until you locate the subkey for the product which you want to remove the existing product license key.
For example:
ProductName=Microsoft Office Professional Plus 2007
ProductName=Microsoft Office Enterprise 2007 - Once found the correct registry subkey, delete the following values:
DigitalProductID
ProductID - Close Registry Editor.
Once Microsoft Office 2007 has been installed with no product key, proceed with the following steps:
- In Windows Explorer, brose to the following folder:
C:\Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller\Proof.en\
- Right click on Proof.XML file, select “Open With…” in the right click menu.
- In the “Open With” window, select Notepad to be used to open the XML file. In Vista, if you can’t see the Notepad option, simply double click the “Other Programs” to unhide it.
- Scroll down to the bottom of the Proof.XML to locate the following lines:
</Feature> <Feature Id=”SetupXmlFiles” Cost=”1248″>
<OptionRef Id=”AlwaysInstalled”/>
</Feature> - Change the AlwaysInsalled to neverInstalled so that the line looks like following:
<OptionRef Id=”neverInstalled”/>
- Save the Proof.xml file. In Windows Vista, you may need to take ownership and grant full access permission to yourself before able to modify the file.
- You can now launch Microsoft Office 2007 application such as Word, Excel, Powerpoint, Outlook and etc without prompting for activation.
As usual, as it’s a hack, and before you purchase a valid product key for it, you won’t be able to AND can’t access any updates or Microsoft Office Online.
Note: The hack may work for 60 days only. To make this hack fully working, try to delete additional file below, probably has to be deleted every two months:
C:\Documents and Settings\All Users\Application Data\Microsoft\OFFICE\DATA\opa12.dat
Or,
C:\ProgramData\Microsoft\OFFICE\DATA (for Windows 7 and Vista)
Disclaimer: This article is for educational and informational purpose only.
Related Articles
- Download Microsoft Office 2007 Free Trial Demo for Evaluation
- Microsoft Office Enterprise 2007 Free Trial Download
- Free Microsoft Office Professional 2007 and Groove 2007 for Ready for a New Day Windows Vista, Office and Exchange 2007 Launch Tour Attendees
- How to Reset or Change Microsoft Office 2007 Product License Key or Volume License Key (VLK)
- $3 Microsoft Student Innovation Suite with Slim Version of Windows XP and Office 2007
- Download Add-On For 2007 Microsoft Office To Convert MS Office Documents to PDF Format
- What is Microsoft Office 2007 Enterprise Blue Edition?
- Free Upgrade to Office 2007 with Microsoft Office Technology Guarantee Program
- Unable to Connect to Microsoft Office Online for Office 2007 Templates
- Microsoft Office 2007 Complete Registry Removal and Deletion Uninstaller










































November 5th, 2009 01:15
I was able to uninstall after it locked up.
I have followed these steps, it worked fine for one day and locked up.
I have reversed the change in Proof.XML in the following folder on XP.
C:\Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller\Proof.en
Need to change neverInstalled to AlwaysInstalled. make sure you use Upper case A.
Then you should be able to uninstall it from AControl Panel->Add or Remove Programs
.
November 5th, 2009 01:10
I was able to uninstall after it locked up.
I have followed these steps, it worked fine for one day and locked up.
I have reversed the change in Proof.XML in the following folder on XP.
C:\Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller\Proof.en
Need to change to make sure you use Upper case A.
Then you should be able to uninstall it from AControl Panel->Add or Remove Programs.
November 2nd, 2009 03:52
Thank you very much but I havea problem!
I have Vista and it doesn’t save the file proof… what I have to do?
November 1st, 2009 13:07
nvm i did sumtin better i just del all proof and now i dont have to configure.thnx for tellin me how
November 1st, 2009 12:58
ummmm it wont save proof how do i take ownership?
October 31st, 2009 03:07
Thanks for the tutorial. I was wondering, i want to hack the 30 trial version of an opera 3. I know its an old version, but i had interest in it. I installed it from a pc magazine cd. Is there a way to also hack it like the microsoft office?
October 30th, 2009 20:06
Hi mate,
Thanks for this code but How do i exactly use it?
Runing XP Pro SP3
Thanks
October 29th, 2009 06:48
:: now use VBS script to send msg
:: damn vista
:: start ::
:: save all this crap as .cmd file
@echo off & cls & title Proof_hack_test_file
: check right’s
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0>nul 2>&1 & if errorlevel 1 reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0″>nul 2>&1
if errorlevel 1 cls & echo. & call :msg Office 2007 not installe’d on ur ’system’ & exit /b
net user “%USERNAME%” | find /i “admin”>nul
if errorlevel 1 cls & echo. & call :msg u don’t have an ‘administration’ right’s & exit /b
cls & echo. & call :clean_var
: case of uninstall
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” (
for /f “tokens=*” %%a in (’dir /a /b “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\proof*” ^| find /i “Proof.”‘) do (
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.xml”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” ren “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” *.xml
)
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” regedit /s “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if /i “%*”==”/repair” cls & echo. & call :msg Repair process done .! & call :clean_var & exit /b
cls & echo. & call :msg * UnInstall process done .! & call :clean_var & exit /b
)
if /i “%*”==”/repair” goto :next
: do thing before install
echo. & echo 2 Uninstall this patch, run “%~n0″ again
echo. & echo 2 repair file’s, run “%~n0″ again & echo OR run “%~n0″ with ‘/repair’
echo. & echo based on this article: & echo ‘http://www.mydigitallife.info/2007/05/21/hack-to-activate & echo -microsoft-office-2007-evaluation-trial-version/’
echo. & echo. & echo -++ Press any key to continue ++- & pause>nul & cls
:next
: backup registry
if not exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” (
regedit /e “32bit.reg” “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration”
regedit /e “64bit.reg” “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration”
if exist 32bit.reg type 32bit.reg >> “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist 32bit.reg del /q 32bit.reg
if exist 64bit.reg type 64bit.reg >> “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist 64bit.reg del /q 64bit.reg
)
: going patch something
call :patch_reg & for /f “tokens=*” %%a in (’dir /a /b “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\proof*” ^| find /i “Proof.”‘) do if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.xml” call :patch_files %%a
if /i “%*”==”/repair” (
for /f “tokens=*” %%a in (’dir /a /b “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\proof*” ^| find /i “Proof.”‘) do (
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.xml”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” ren “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” *.xml
)
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” regedit /s “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
echo. & ping -n 3 127.0.0.1>nul & call :clean_var & call :msg Repair process done .! & exit /b
)
echo. & ping -n 3 127.0.0.1>nul & call :clean_var & call :msg Install process done .! & exit /b
: function bla bla etc
:clean_var
if exist proof.tmp del /q /f /a proof.tmp
set i=0
set line=
set file=
set proof_file=
set write=
set yami=
goto :eof
:patch_reg
echo. & echo delete +32 bit+ registry key’s & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration” ^| find “901″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration” ^| find “911″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
echo. & echo delete +64 bit+ registry key’s & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration” ^| find “901″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration” ^| find “911″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
echo. & goto :eof
:patch_files
set proof_file=%1
set file=”%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%1\proof.xml”
REG QUERY “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v “ProductName” | find /i “Vista”>nul
if not errorlevel 1 takeown /f %file%>nul & icacls %file% /grant administrators:F>nul
REG QUERY “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v “ProductName” | find /i “windows 7″>nul
if not errorlevel 1 takeown /f %file%>nul & icacls %file% /grant administrators:F>nul
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.tmp” echo * ‘%proof_file%’ Alardy patched & echo. & call :clean_var & goto :eof
copy /y “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.xml” .\proof.tmp >nul
for /f “tokens=*” %%p in (proof.tmp) do call :get_line “%%p”
set i=0
set write=
set yami=
for /f “tokens=*” %%p in (proof.tmp) do (
call :write
if not defined write echo %%p>>proof.xml
if defined write (
set yami=
echo “%%p” | find /i “NeverInstalled” >nul
if not errorlevel 1 set yami=defined
if defined yami echo ^>>proof.xml
if not defined yami echo ^>>proof.xml
)
)
if defined yami (
echo * ‘%proof_file%’ alardy patched ^& make ‘new’ backup file & echo.
move proof.xml “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.tmp” >nul
)
if not defined yami (
echo * backup ‘%proof_file%’ ^& patch ‘%proof_file%’ & echo.
ren “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.xml” *.tmp >nul
move proof.xml “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\” >nul
)
call :clean_var & goto :eof
:get_line
set /a i=%i%+1
echo %1 | find “SetupXmlFiles” >nul
if not errorlevel 1 set /a line=%i%+1
goto :eof
:write
set /a i=%i%+1
set write=
if “%line%”==”%i%” set write=defined
goto :eof
:msg
if exist .vbs del /q .vbs
echo Dim answer>>.vbs
echo answer=MsgBox(”%*”,64,”send to anubis”)>>.vbs
start /wait .vbs & del /q .vbs
del /q .vbs
goto :eof
:: end ::
October 29th, 2009 01:11
it worked all fine until that 60 days. i deleted the folder. but it was still locked…. quit sure i dind’t do anything wrong …
October 28th, 2009 16:10
DONUTS DONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTSDONUTS you realy should have people to check these pms idiots lol
October 28th, 2009 16:07
THIS IS SHIT THIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHITTHIS IS SHIT
October 28th, 2009 16:05
its good… but not perfict i did everything you told me to do but the part about deleting the folders there folders wernt in there.. thumbs down..
October 28th, 2009 08:34
forget that, it’s still locked. bummer.
October 28th, 2009 08:31
I did the mods months ago and today I went to use Office and it was locked. Using Vista Home Premium. the script choked on msg.exe( missing in premium ) and I kept getting wierd char errors ( maybe from the cut/past from browser ) so I re-verified my orig mods as ok. I then went to C:\ProgramData\Microsoft\OFFICE\DATA and noticed OPA12.BAK and OPA12.dat had different dates. I copied the BAK —> .DAT and it works again My guess is to make a zip of these files after the mods and reextract then if the lock up occurs again.
October 27th, 2009 09:09
this new code check now for both 32\64 bit key’s of office
save it in notepad as XXX.cmd
October 27th, 2009 09:02
:: new code
:: start ::
@echo off & cls & title Proof_hack_test_file
: check right’s
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0>nul 2>&1 & if errorlevel 1 reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0″>nul 2>&1
if errorlevel 1 cls & echo. & msg “%username%” Office 2007 not installe’d on ur ’system’ & exit /b
net user “%USERNAME%” | find /i “admin”>nul
if errorlevel 1 cls & echo. & msg “%username%” u don’t have an ‘administration’ right’s & exit /b
cls & echo. & call :clean_var
: case of uninstall
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” (
for /f “tokens=*” %%a in (’dir /a /b “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\proof*” ^| find /i “Proof.”‘) do (
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.xml”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” ren “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” *.xml
)
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” regedit /s “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if /i “%*”==”/repair” cls & echo. & msg “%username%” Repair process done .! & call :clean_var & exit /b
cls & echo. & msg “%username%” * UnInstall process done .! & call :clean_var & exit /b
)
if /i “%*”==”/repair” goto :next
: do thing before install
echo. & echo 2 Uninstall this patch, run “%~n0″ again
echo. & echo 2 repair file’s, run “%~n0″ again & echo OR run “%~n0″ with ‘/repair’
echo. & echo based on this article: & echo ‘http://www.mydigitallife.info/2007/05/21/hack-to-activate & echo -microsoft-office-2007-evaluation-trial-version/’
echo. & echo. & echo -++ Press any key to continue ++- & pause>nul & cls
:next
: backup registry
if not exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” (
regedit /e “32bit.reg” “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration”
regedit /e “64bit.reg” “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration”
if exist 32bit.reg type 32bit.reg >> “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist 32bit.reg del /q 32bit.reg
if exist 64bit.reg type 64bit.reg >> “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist 64bit.reg del /q 64bit.reg
)
: going patch something
call :patch_reg & for /f “tokens=*” %%a in (’dir /a /b “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\proof*” ^| find /i “Proof.”‘) do if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.xml” call :patch_files %%a
if /i “%*”==”/repair” (
for /f “tokens=*” %%a in (’dir /a /b “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\proof*” ^| find /i “Proof.”‘) do (
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.xml”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” ren “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%%a\proof.tmp” *.xml
)
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” regedit /s “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg” del /q /f /a “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\reg_bacup.reg”
echo. & ping -n 3 127.0.0.1>nul & call :clean_var & msg “%username%” Repair process done .! & exit /b
)
echo. & ping -n 3 127.0.0.1>nul & call :clean_var & msg “%username%” Install process done .! & exit /b
: function bla bla etc
:clean_var
if exist proof.tmp del /q /f /a proof.tmp
set i=0
set line=
set file=
set proof_file=
set write=
set yami=
goto :eof
:patch_reg
echo. & echo delete +32 bit+ registry key’s & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration” ^| find “901″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Registration” ^| find “911″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
echo. & echo delete +64 bit+ registry key’s & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration” ^| find “901″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
for /f “tokens=*” %%z in (’reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Registration” ^| find “911″‘) do echo * clean key: “%%z\DigitalProductID” & reg delete “%%z” /v DigitalProductID /f & echo. & echo * clean key: “%%z\ProductID” & reg delete “%%z” /v ProductID /f & echo.
echo. & goto :eof
:patch_files
set proof_file=%1
set file=”%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%1\proof.xml”
REG QUERY “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v “ProductName” | find /i “Vista”>nul
if not errorlevel 1 takeown /f %file%>nul & icacls %file% /grant administrators:F>nul
REG QUERY “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion” /v “ProductName” | find /i “windows 7″>nul
if not errorlevel 1 takeown /f %file%>nul & icacls %file% /grant administrators:F>nul
if exist “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.tmp” echo * ‘%proof_file%’ Alardy patched & echo. & call :clean_var & goto :eof
copy /y “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.xml” .\proof.tmp >nul
for /f “tokens=*” %%p in (proof.tmp) do call :get_line “%%p”
set i=0
set write=
set yami=
for /f “tokens=*” %%p in (proof.tmp) do (
call :write
if not defined write echo %%p>>proof.xml
if defined write (
set yami=
echo “%%p” | find /i “NeverInstalled” >nul
if not errorlevel 1 set yami=defined
if defined yami echo ^>>proof.xml
if not defined yami echo ^>>proof.xml
)
)
if defined yami (
echo * ‘%proof_file%’ alardy patched ^& make ‘new’ backup file & echo.
move proof.xml “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.tmp” >nul
)
if not defined yami (
echo * backup ‘%proof_file%’ ^& patch ‘%proof_file%’ & echo.
ren “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\proof.xml” *.tmp >nul
move proof.xml “%ProgramFiles%\Common Files\microsoft shared\OFFICE12\Office Setup Controller\%proof_file%\” >nul
)
call :clean_var & goto :eof
:get_line
set /a i=%i%+1
echo %1 | find “SetupXmlFiles” >nul
if not errorlevel 1 set /a line=%i%+1
goto :eof
:write
set /a i=%i%+1
set write=
if “%line%”==”%i%” set write=defined
goto :eof
:: end ::
October 26th, 2009 17:54
Help, is there a hack for if you have Microsoft Office that comes with a computer or laptop? My subkey reads as {91120000-0031-0000Office etc}, not the same as above and there is no productID or to erase. Anyone?
October 26th, 2009 14:51
after 60 days all programs are locked
October 26th, 2009 09:03
Can you be fined or even go to jail if the company catches you doing this?
October 26th, 2009 06:23
I can’t get it to work, it still locks my program once I open it.
October 25th, 2009 23:50
it’s work. thanks a lot!
October 25th, 2009 15:05
if nothing works, you must be doing the wrong thing….everything went well with me.
October 25th, 2009 15:01
dude…u are a god…hell yeah!
October 24th, 2009 16:34
Thanks dude you rock!!!!!!!!!!!!!!!!!!!
October 23rd, 2009 10:45
Thank you! This worked perfectly and was very straightforward!