Code: REM Get Office Installed Path if %OfficeArchType%==WOW ( FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B if not defined InstallRoot ( cls & echo Office 2010 VL is not Installed... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) Goto:FoundPath ) FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B if not defined InstallRoot ( cls & echo Office 2010 VL is not Installed.... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) cscript "%InstallRoot%"ospp.vbs /dstatus |FINDSTR /i "KMS_Client" >NUL if %errorlevel% EQU 1 ( cls & echo No office 2010 VL detected... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) :FoundPath REM Start OSPPSVC (To make sure it is started to prevent strange cases where it doesn't start automatically from failing (XP)) 1>nul 2>nul net start osppsvc Code: REM Get Office Installed Path if %OfficeArchType%==WOW ( FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B if not defined InstallRoot ( cls & echo Office 2010 VL is not Installed... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) Goto:FoundPath ) FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B if not defined InstallRoot ( cls & echo Office 2010 VL is not Installed.... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) :FoundPath cscript "%InstallRoot%"ospp.vbs /dstatus |FINDSTR /i "KMS_Client" >NUL if %errorlevel% EQU 1 ( cls & echo No office 2010 VL detected... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) REM Start OSPPSVC (To make sure it is started to prevent strange cases where it doesn't start automatically from failing (XP)) 1>nul 2>nul net start osppsvc :FoundPath before KMS_Client check is better otherwise no KMS_Client Check for OfficeArchTyp=WOW. Am i right?
Code improvement from Code: cd /d "%InstallRoot%" cscript OSPP.VBS /dstatus | FINDSTR /i "Status" cscript OSPP.VBS /dstatus | FINDSTR /i "Remaining" to Code: cscript "%InstallRoot%\OSPP.VBS" /dstatus | FINDSTR /i "Status" cscript "%InstallRoot%\OSPP.VBS" /dstatus | FINDSTR /i "Remaining" benefit: no directory switching necessary
Task rename: Code: schtasks /create /tn "Hybrid" /tr "%SystemDrive%\IORRT\IORRT.bat" /sc onstart /ru "" >NUL schtasks /create /tn "IORRT" /tr "%SystemDrive%\IORRT\IORRT.bat" /sc daily /mo 1 /ru "" >NUL Code: schtasks /create /tn "IORRT-OnStart" /tr "%SystemDrive%\IORRT\IORRT.bat" /sc onstart /ru "" >NUL schtasks /create /tn "IORRT-Daily" /tr "%SystemDrive%\IORRT\IORRT.bat" /sc daily /mo 1 /ru "" >NUL benefit: users know where the task is usefull for, otherwise with "Hybrid" they don't know whats meant with it.
I can't get Trilogy to run! I right-click on it, select "run as administrator" then UAC Control asks if I want to allow the program to make changes to my computer. Click on "Yes" button then a black box appears on the screen then disappears instantly. Have I done something wrong?
Win 7 Professional x 64 (using modded bios) & Office 2010 x 64 (converted to VL using channel switcher)
If you have no rearms in office you will get no rearms detected msg. Try it and see? Also cody's toolkit will repair rearms to 5 again through his EZ-activator. I can help you with that or you can ask in his thread too as I support his toolkit also
Thanks timesurfer, I was, can you should me how to use the EZ-activator in order to repair rearms to 5 again? Also, should I download the beta1 - 2.1 version from his thread or the 2.0.1 version?
Use EZ-activator then use availble button. If no go then go to licence and choose version and Volume then delete all wait then try EZ again. If you got rearms then use IORRT
He is right. In this case, if path is found, go direct to the :FoundPath and the office will not be checked if it's a volume edition or not. The correct code (with the tip of dr.white) is: Code: :EndArchCheck REM Get Office Installed Path if %OfficeArchType%==WOW ( FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B if not defined InstallRoot ( cls & echo Office 2010 VL is not installed... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) Goto:FoundPath ) FOR /F "tokens=2* delims= " %%A IN ('"REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\InstallRoot" /v Path 2>NUL"') DO SET InstallRoot=%%B if not defined InstallRoot ( cls & echo Office 2010 VL is not installed... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) :FoundPath cscript "%InstallRoot%"ospp.vbs /dstatus |FINDSTR /i "KMS_Client" >NUL if %errorlevel% EQU 1 ( cls & echo No office 2010 VL detected... & ping -n 5 127.0.0.1 >nul & goto mainmenu ) REM Start OSPPSVC (To make sure it is started to prevent strange cases where it doesn't start automatically from failing (XP)) 1>nul 2>nul net start osppsvc Please, update as soon as possible. @dr.white Thank you for your observation. P.S.: I'm doing many tests on XP in a Virtual Machine. Later i'll post my results...