Delete Office Addins from registry

Posted on October 18th, 2009 in Office 2007, Outlook 2002 XP, Outlook 2003, Outlook 2007 by Gil Kreslavsky

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

This meeting is not in the Calendar; it may have been moved or deleted – Outlook error

Posted on July 16th, 2009 in Microsoft, Outlook 2003, Outlook 2007, Windows 7, Windows XP by Gil Kreslavsky

You receive a meeting and see a small note that meeting is not in your calendar

image

To fix the problem do the following.

Close your outlook and search your computer for FRMCACHE.DAT file.
Make sure to select hidden and system files.

Delete it.
Restart Outlook.

Outlook should rebuild FRMCACHE.DAT file.

Other option is to to run outlook.exe /cleanreminders command line switch .

To see other command line switches look at Outlook command line switches.

Reduce calendar size in Outlook 2003-2007

Posted on June 10th, 2009 in Microsoft, Outlook 2003, Outlook 2007 by Gil Kreslavsky

To cleanup your calendar size you can delete old meetings and meetings with attachments.

  1. navigate to your calendar.
  2. Press on View and chose “all appointments”
     image
  3. Chose those that you’d like to delete.

Upload Outlook contacts to Gmail

Posted on April 27th, 2009 in Google, Microsoft, Outlook 2002 XP, Outlook 2003, Outlook 2007 by Gil Kreslavsky

Copy you contact list from Microsoft Outlook (2003 or 2007) to Gmail Account:

  1. Open Outlook
  2. Go to File>Import and Export.
  3. Select “Export to a file” and click “Next”.
    image
  4. Choose “Comma-separated values” and click on Next
  5. Locate your contacts folder and click “Next”.
    image
  6. Save the file in .csv extension.
  7. Now go to you Gmail account.
  8. Click the “Contacts” on the left pane and subsequently select “Import” at the top right corner.

8. Click browse to locate the .csv file that you saved earlier.

9. You can click “Import” to start importing your contact. Of course you can add these imported contacts to a new group and you can name the group as well.

Remove Outlook 2007 Business manager

Posted on March 30th, 2009 in Microsoft, Outlook 2007 by Gil Kreslavsky

Outlook 2007 Business manager can be uninstalled via Add or Remove Programs (Programs and Features in Vista)
However, if you want to keep Business Contact Manager and only remove it from outlook it can be done via registry:

  1. Close Outlook.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Navigate to the  following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\Microsoft.BusinessSolutions.eCRM.OutlookAddIn.Connect.1

  4. Right-click on  LoadBehavior, and chose Modify.
  5. In the Value data box, set 1, and then click OK.
  6. Quit Registry Editor.
  7. Start Outlook.

Outlook Delay or schedule Email Send

Posted on March 17th, 2009 in Microsoft, Office 2007, Outlook 2002 XP, Outlook 2003, Outlook 2007 by Gil Kreslavsky

Recently I had to release email after work hours and I wondered if outlook have that option and I was verry happy to find it.

To schedule automatic email send follow the steps.

  • After you finished writing your  email, don’t click Send (yet).
  • In Outlook 2007:
    • Click Options
    • Then click on Delay Delivery and schedule when to send the message
      delay-email send

 

 

Just fill when you want to send the message as seen on the image bellow
schedule-send

_______________________________________________________________________________________

In other versions of Outlook: Click Options on the toolbar to display the Message Options screen.

Under Delivery Options, tick "Do not deliver before" and fill in the relevant date and time. Click Close.

Now click Send!

Your email will be moved to the Outbox but will not be sent out until the first time (after your set time) that Outlook does a Send & Receive.

Outlook: Show received meetings as tentative

Posted on July 29th, 2008 in Microsoft, Outlook 2002 XP, Outlook 2003, Outlook 2007 by Gil Kreslavsky

Show received meetings as tentative:

Meetings are automatically placed on the calendar as tentative, so that timeslots will not be overbooked. As meeting updates come in, prior updates are marked “out of date” and are automatically deleted. This means that meeting updates are not accepted in an out of order fashion keeping your calendar items current.”
You can stop/start the automatic addition of a tentative meeting when meeting request e-mail is received in Outlook by clearing/marking the check box for “Process requests and responses on arrival” :

1. On the Tools menu, click Options.
2. Click Email Options.
3. Click Tracking Options.
4. Click to clear/mark the “Process requests and responses on arrival” check box.

Outlook status shows disconnected.

Posted on June 25th, 2008 in Excahnge 2003, Microsoft, Other, Outlook 2002 XP, Outlook 2003 by Gil Kreslavsky

On errors:

Mapi session “/o=COMPANY/ou=Europe/cn=Recipients/cn=User1? exceeded the maximum of 32 objects of type “session”.

Task “Microsoft Exchange Server” reported error (0×80040115): “The
connection to the Microsoft Exchange Server is unavailable. Outlook must be
online or connected to complete this action.”

Task ‘Microsoft Exchange Server’ reported error (0×8004011d): ‘The server is
not available. Contact your administrator if this condition persists.’

Don’t waste your time on profile recreation … It doesn’t help!!!

Things to check .

1.      Ping to exchange server by short name and FQDN

a. If no ping check connectivity and name resolution.

b. Consider adding exchange name/ip to hosts file

2.      Go to file and check if “Work Offline” is not checked

a. If it is uncheck it.

3.      If you have check point client try to

a. Disable security policy

b. Stop Vpn client

c. Remove checkpoint secure remote “v” on local area connection properties ( do it only for testing – remember if you remove the “v” user will be not able to dial VPN.

4.      Run Outlook.exe with rpcdiag switch “outlook.exe /rpcdiag” see where is hanging

5.      On exchange system manger open user related mailbox store in logons section check if user exceeded maximum of 32 connections to the store.

a. If do : To solve this problem for this user, download the sysinternals tool called TCPView and run it on your Exchange server. You will see a whole bunch of connections. Work out the IP address of user, and then using TCP view terminate all sessions to that IP address.

b. Other option is to mount / unmount store – not recommended

6.      In order to Increase default 32 MAPI connections limit do the following things

a. Click Start, click Run, type regedit in the Open box, and then click OK.

Locate and then click the following registry sub key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

If the Maximum Allowed Sessions Per User entry does not exist, do the following:

On the Edit menu, point to New, and then click DWORD Value.

Type Maximum Allowed Sessions Per User as the entry name, and then press ENTER.

Right-click the Maximum Allowed Sessions Per User entry, and then click Modify

Click decimal, type the value that you want to set in the Value data box, and then click OK.

Exit Registry Editor.

Click Start, click Run, type services.msc in the Open box, and then click OK.

Click the MSExchange Information Store service, and then click Restart Service.

Didn’t solve the problem ? Read Related Microsoft solutions

http://support.microsoft.com/kb/842022

http://support.microsoft.com/kb/830836

http://support.microsoft.com/kb/840835

http://support.microsoft.com/kb/821188

http://support.microsoft.com/kb/821188

http://support.microsoft.com/default.aspx?scid=898060