To delete Microsoft Office 2003/2007 add-ins from registry follow the steps bellow
Go to start>run type regedit and hit the enter key
For Word – Delete the keys bellow – You can delete the key by pressing right click and delete
HKEY_Local_Machine \Software \Microsoft \Office\word\Addins
HKEY_Local_Machine \Software \Microsoft \Office\X.0\word\Addins
HKEY_CURRENT_USER \Software \Microsoft \Office\X.0\ Word\Addins
HKEY_CURRENT_USER \Software \Microsoft \Office\ Word\Addins
For PowerPoint – Delete the keys bellow – You can delete the key by pressing right click and delete
HKEY_Local_Machine \Software \Microsoft \Office\PowerPoint\Addins
HKEY_Local_Machine \Software \Microsoft \Office\X.0\PowerPoint\Addins
HKEY_CURRENT_USER \Software \Microsoft \Office\X.0\ PowerPoint\Addins
HKEY_CURRENT_USER \Software \Microsoft \Office\PowerPoint\Addins
For Excel- Delete the keys bellow – You can delete the key by pressing right click and delete
HKEY_Local_Machine \Software \Microsoft \Office\Excel\Addins
HKEY_Local_Machine \Software \Microsoft \Office\X.0\Excel\Addins
HKEY_CURRENT_USER \Software \Microsoft \Office\X.0\Excel\Addins
HKEY_CURRENT_USER \Software \Microsoft \Office\Excel\Addins
For Outlook 2007 installed on Windows XP – Copy the text bellow in to text file and save it as .bat
The bat file will clean outlook 2007 Addins.
|
@echo off
REM # Outlook Addins Reset #
REM Change window title title Outlook Addins – Reset
REM Warning and pause REM cls REM color 3f REM echo. REM echo. REM echo This program will backup and delete Outlook Addins REM echo. REM echo. REM pause
REM Create backup directory (change color) color 1f cls set hour=%time:~0,2% if "%hour:~0,1%"==" " set hour=0%time:~1,1% set TempBackupPath="%HOMEDRIVE%\Backup Folder\%date:~10,4%_%date:~4,2%_%date:~7,2%_%hour%_%time:~3,2%_%time:~6,2%" set TempKey1="HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Addins" set TempKey2="HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins" set TempKey3="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Outlook\Addins" set TempKey4="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins"
md %TempBackupPath% %HOMEDRIVE% CD %TempBackupPath%
REM Check if the directory was created IF NOT "%cd%"==%TempBackupPath% goto ErrorFolder REM Check if the directory contains OutlookAddins.REG if exist HKCU_OutlookAddins.REG goto ErrorFileExist if exist HKCU_OutlookAddins2.REG goto ErrorFileExist if exist HKLM_OutlookAddins.REG goto ErrorFileExist if exist HKLM_OutlookAddins2.REG goto ErrorFileExist
REM Backup the Addins and check for errors reg export %TempKey1% HKCU_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey3% HKLM_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey2% HKCU_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey4% HKLM_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file
REM Delete the Addins and check for errors cls reg delete %TempKey1% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey3% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey2% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey4% if %errorlevel%==1 echo Error #4 – Error deleting reg key
echo Rename outcmd to .old ren "%USERPROFILE%\Application Data\Microsoft\Outlook\outcmd.dat" "outcmd_%time:~6,2%.old" echo Rename extend to .old ren "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook\extend.dat" "extend_%time:~6,2%.old" echo Rename frmcache to .old ren "%USERPROFILE%\Local Settings\Application Data\Microsoft\FORMS\FRMCACHE.DAT" "FRMCACHE_%time:~6,2%.old" REM Press any key to continue pause
REM Clear screen with success color message and puase color 2f cls echo. echo. echo Done! echo. echo. goto End
REM Error handling :ErrorFolder color 4f pause cls echo Error #1 – Could not create folder goto End
:ErrorFileExist color 4f pause cls echo Error #2 – File exist goto End
:ErrorExport color 4f pause cls echo Error #3 – Error exporting file goto End
:ErrorDelete color 4f pause cls echo Error #4 – Error deleting reg key goto End
REM Exit :End pause
|
For Outlook 2003 installed on Windows XP – Copy the text bellow in to text file and save it as .bat
The bat file will clean outlook 2003 Addins.
|
@echo off
REM # Outlook Addins Reset #
REM Change window title title Outlook Addins – Reset
REM Warning and pause REM cls REM color 3f REM echo. REM echo. REM echo This program will backup and delete Outlook Addins REM echo. REM echo. REM pause
REM Create backup directory (change color) color 1f cls set hour=%time:~0,2% if "%hour:~0,1%"==" " set hour=0%time:~1,1% set TempBackupPath="%HOMEDRIVE%\Backup Folder\%date:~10,4%_%date:~4,2%_%date:~7,2%_%hour%_%time:~3,2%_%time:~6,2%" set TempKey1="HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Addins" set TempKey2="HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins" set TempKey3="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Outlook\Addins" set TempKey4="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins"
md %TempBackupPath% %HOMEDRIVE% CD %TempBackupPath%
REM Check if the directory was created IF NOT "%cd%"==%TempBackupPath% goto ErrorFolder REM Check if the directory contains OutlookAddins.REG if exist HKCU_OutlookAddins.REG goto ErrorFileExist if exist HKCU_OutlookAddins2.REG goto ErrorFileExist if exist HKLM_OutlookAddins.REG goto ErrorFileExist if exist HKLM_OutlookAddins2.REG goto ErrorFileExist
REM Backup the Addins and check for errors reg export %TempKey1% HKCU_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey3% HKLM_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey2% HKCU_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey4% HKLM_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file
REM Delete the Addins and check for errors cls reg delete %TempKey1% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey3% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey2% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey4% if %errorlevel%==1 echo Error #4 – Error deleting reg key
echo Rename outcmd to .old ren "%USERPROFILE%\Application Data\Microsoft\Outlook\outcmd.dat" "outcmd_%time:~6,2%.old" echo Rename extend to .old ren "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook\extend.dat" "extend_%time:~6,2%.old" echo Rename frmcache to .old ren "%USERPROFILE%\Local Settings\Application Data\Microsoft\FORMS\FRMCACHE.DAT" "FRMCACHE_%time:~6,2%.old" REM Press any key to continue pause
REM Clear screen with success color message and puase color 2f cls echo. echo. echo Done! echo. echo. goto End
REM Error handling :ErrorFolder color 4f pause cls echo Error #1 – Could not create folder goto End
:ErrorFileExist color 4f pause cls echo Error #2 – File exist goto End
:ErrorExport color 4f pause cls echo Error #3 – Error exporting file goto End
:ErrorDelete color 4f pause cls echo Error #4 – Error deleting reg key goto End
REM Exit :End pause
|
For Outlook 2007 installed on Windows Windows Vista – Copy the text bellow in to text file and save it as .bat
The bat file will clean outlook 2007 Addins.
|
@echo off
REM # Outlook Addins Reset #
REM Change window title title Outlook Addins – Reset
REM Warning and pause REM cls REM color 3f REM echo. REM echo. REM echo This program will backup and delete Outlook Addins REM echo. REM echo. REM pause
REM Create backup directory (change color) color 1f cls set hour=%time:~0,2% if "%hour:~0,1%"==" " set hour=0%time:~1,1% set TempBackupPath="%HOMEDRIVE%\Backup Folder\%date:~10,4%_%date:~4,2%_%date:~7,2%_%hour%_%time:~3,2%_%time:~6,2%" set TempKey1="HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Addins" set TempKey2="HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins" set TempKey3="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Outlook\Addins" set TempKey4="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins"
md %TempBackupPath% %HOMEDRIVE% CD %TempBackupPath%
REM Check if the directory was created IF NOT "%cd%"==%TempBackupPath% goto ErrorFolder REM Check if the directory contains OutlookAddins.REG if exist HKCU_OutlookAddins.REG goto ErrorFileExist if exist HKCU_OutlookAddins2.REG goto ErrorFileExist if exist HKLM_OutlookAddins.REG goto ErrorFileExist if exist HKLM_OutlookAddins2.REG goto ErrorFileExist
REM Backup the Addins and check for errors reg export %TempKey1% HKCU_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey3% HKLM_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey2% HKCU_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey4% HKLM_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file
REM Delete the Addins and check for errors cls reg delete %TempKey1% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey3% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey2% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey4% if %errorlevel%==1 echo Error #4 – Error deleting reg key
echo Rename outcmd to .old ren %USERPROFILE%\AppData\Roaming\Microsoft\Outlook\outcmd.dat outcmd_%time:~6,2%.old echo Rename extend to .old ren %USERPROFILE%\AppData\Local\Microsoft\Outlook\extend.dat extend_%time:~6,2%.old echo Rename frmcache to .old ren %USERPROFILE%\AppData\Local\Microsoft\FORMS\FRMCACHE.DAT FRMCACHE_%time:~6,2%.old REM Press any key to continue pause
REM Clear screen with success color message and puase color 2f cls echo. echo. echo Done! echo. echo. goto End
REM Error handling :ErrorFolder color 4f pause cls echo Error #1 – Could not create folder goto End
:ErrorFileExist color 4f pause cls echo Error #2 – File exist goto End
:ErrorExport color 4f pause cls echo Error #3 – Error exporting file goto End
:ErrorDelete color 4f pause cls echo Error #4 – Error deleting reg key goto End
REM Exit :End pause
|
For Outlook 2003 installed on Windows Vista – Copy the text bellow in to text file and save it as .bat
The bat file will clean outlook 2003 Addins.
|
@echo off
REM # Outlook Addins Reset #
REM Change window title title Outlook Addins – Reset
REM Warning and pause REM cls REM color 3f REM echo. REM echo. REM echo This program will backup and delete Outlook Addins REM echo. REM echo. REM pause
REM Create backup directory (change color) color 1f cls set hour=%time:~0,2% if "%hour:~0,1%"==" " set hour=0%time:~1,1% set TempBackupPath="%HOMEDRIVE%\Backup Folder\%date:~10,4%_%date:~4,2%_%date:~7,2%_%hour%_%time:~3,2%_%time:~6,2%" set TempKey1="HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Addins" set TempKey2="HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins" set TempKey3="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Outlook\Addins" set TempKey4="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins"
md %TempBackupPath% %HOMEDRIVE% CD %TempBackupPath%
REM Check if the directory was created IF NOT "%cd%"==%TempBackupPath% goto ErrorFolder REM Check if the directory contains OutlookAddins.REG if exist HKCU_OutlookAddins.REG goto ErrorFileExist if exist HKCU_OutlookAddins2.REG goto ErrorFileExist if exist HKLM_OutlookAddins.REG goto ErrorFileExist if exist HKLM_OutlookAddins2.REG goto ErrorFileExist
REM Backup the Addins and check for errors reg export %TempKey1% HKCU_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey3% HKLM_OutlookAddins.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey2% HKCU_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file reg export %TempKey4% HKLM_OutlookAddins2.REG if %errorlevel%==1 echo Error #3 – Error exporting file
REM Delete the Addins and check for errors cls reg delete %TempKey1% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey3% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey2% if %errorlevel%==1 echo Error #4 – Error deleting reg key reg delete %TempKey4% if %errorlevel%==1 echo Error #4 – Error deleting reg key
echo Rename outcmd to .old ren %USERPROFILE%\AppData\Roaming\Microsoft\Outlook\outcmd.dat outcmd_%time:~6,2%.old echo Rename extend to .old ren %USERPROFILE%\AppData\Local\Microsoft\Outlook\extend.dat extend_%time:~6,2%.old echo Rename frmcache to .old ren %USERPROFILE%\AppData\Local\Microsoft\FORMS\FRMCACHE.DAT FRMCACHE_%time:~6,2%.old REM Press any key to continue pause
REM Clear screen with success color message and puase color 2f cls echo. echo. echo Done! echo. echo. goto End
REM Error handling :ErrorFolder color 4f pause cls echo Error #1 – Could not create folder goto End
:ErrorFileExist color 4f pause cls echo Error #2 – File exist goto End
:ErrorExport color 4f pause cls echo Error #3 – Error exporting file goto End
:ErrorDelete color 4f pause cls echo Error #4 – Error deleting reg key goto End
REM Exit :End pause
|
Thanks to Microsoft support blog http://blogs.microsoft.co.il/blogs/support/default.aspx