Unable to Uninstall Office 2007 from Add or Remove Programs
Under normal circumstances, you must uninstall Office 2007 using the Add or Remove programs feature only. However, at times, this might not be possible. Some of the reasons, due to which, you may not be able to uninstall Office 2007 using Add or Remove programs are:
- An error occurs when you are uninstalling the program.
- Some of office components fail to uninstall.
When this happens, you may not be able to reinstall Office 2007 on your system.
Here, we are going to discuss an alternative method to uninstall Office 2007.
Warning: You must follow this method only when you are unable to completely install Office 2007 from Add or Remove Programs.
Workaround Method
To uninstall Office 2007, if you are unable to do uninstall it using the Add or Remove Programs feature, perform the following steps:
Note : Before starting, ensure that you are logged on to the computer with a user account that has administrative rights to the computer.
- Search for and remove all left behind Office 2007 Windows Installer packagesby performing the following steps:
- Open Start menu, select Run, type Installer, and then select the OK button to open the %windir%\Installer folder.
- Open the View menu and select the Details command.
- Open the View menu again, and then select the Choose Details command.
- In the Choose Details dialog box, select the Subject check box, in the Width of selected column (in pixels) box, type 340, and then select the OK button.
- Wait for a while to allow the subjects to appear, and then open the View menu again, point to the Arrange icons by command, and then select Subject.
- Locate all .msi file that have subject as "Microsoft Office Name_of_Product 2007," right-click, and then select the Uninstall command.
- Stop the Office Source Engine service, by performing the following steps:
- Open Start menu, select Run, type services.msc, and then select the OK button to open the Services management console window.
- Scroll-down the Services window, locate the Office Source Engine service and check if it is running.
- If the Office Source Engine service is running, right-click on it, and then click the Stop command.
- Exit the Services window.
- Search for and remove any left-behind Office 2007 installation files and folders, by performing the following steps:
- Open Start menu, select Run, type %CommonProgramFiles%\Microsoft Shared, and then select the OK button to open the Microsoft Shared folder.
- Check if the following folders exist in the Microsoft Shared folder:
- Open Start menu, select Run, type %ProgramFiles%\Microsoft Office, and then select the OK button to open the Microsoft Office folder.
Note : On a 64-bit Windows XP system, type %ProgramFiles%\Microsoft Office.
- Locate and delete the Office12 folder.
- Open the root folder of each hard disk drive (C:, D:, and so on) and locate the MSOCache folder—If this folder is not visible, perform the following steps:
- Open the Windows Explorer window, open the Tools menu, and then select the Folder Options command.
- In the Advanced settings pane, on the View tab of Folder Options dialog box, do the following
- Select the Show hidden files and folders check box located under Hidden files and folders.
- Clear the Hide protected operating system files check box
- Select the OK button
- Now, MSOCache will be visible in Windows Explorer, expand it, open the All Users folder, and then delete all folders with “0FF1CE)-” in their names.
- Open Start menu, select Run, type %appdata%\microsoft\templates, and then select the OK button to open the Templates folder.
- Delete the following files from the Templates folder:
- Normal.dotm
- Normalemail.dotm
- Open Start menu, select Run, type %appdata%\microsoft\document building blocks\Language_ID, and then select the OK button to open the Templates folder.
- Click Start, click Run, type %appdata%\microsoft\document building blocks\Language_ID, and then click OK.
Note : If you are unable to open this folder proceed further. Language_ID represents the language of your Office 2007 program. The Language_ID for English—the United States is 1033.
- In this folder, delete the Building blocks.dotx file.
- Open Start menu, select Run, type %temp% , and then select the OK button.
- Select all files in the Temp folder and delete them.
- Open Start menu, select Run, type %AllUsersprofile%\Application Data\Microsoft\Office\Data , and then select the OK button.
- In the Data folder that opens, locate and delete the
- Open Registry Editor and then search for and delete all the Office 2007 registry keys, by performing the following steps:
Warning :As the method discussed below requires you to work with the Windows registry. You must be very careful while editing the registry because there is no undo option in Registry Editor and any mistakes in registry edits may render your PC unbootable. This is the reason why, it is recommended that you back up the registry before you make any edits to it.
- Open Start menu, select Run, type Regedit, and then select the OK button to open the Registry Editor window.
- Navigate to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0
- Open the File menu, select the Export command, type DelOfficeKey01, and then select the Save button.
- Now, right-click on the sub-key, select Delete, and then select Yes to confirm your decision.
- Repeat the steps (b) to (c) for each of the following registry sub-keys.
- HKEY_CURRENT_USER\Software\Microsoft\Office\12.0
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Delivery\SourceEngine\Downloads\*0FF1CE}-*
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*0FF1CE*
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\*F01FEC
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\*F01FEC
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ose
- HKEY_CLASSES_ROOT\Installer\Features\*F01FEC
- HKEY_CLASSES_ROOT\Installer\Products\*F01FEC
- HKEY_CLASSES_ROOT\Installer\UpgradeCodes\*F01FEC
- HKEY_CLASSES_ROOT\Installer\Win32Assemblies\*Office12*
Note: In the above listed registry entries, the keys with * (asterisks), represent one or more characters in the name the specific sub-key. When you export keys, increment their names by 1 so that each key is saved in a new file (DelOfficeKey01, DelOfficeKey02, DelOfficeKey03, and so on). In case, you want to restore the deleted key, you just need to double-click on the exported file and confirm your decision.
Note: On a computer that is running a 64-bit version of Microsoft Windows, you will have to delete the following registry entries.
- HKEY_CURRENT_USER\Software\Microsoft\Office\12.0
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\Delivery\SourceEngine\Downloads\*0FF1CE}-*
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*0FF1CE*
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\*F01FEC
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\*F01FEC
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ose
- HKEY_CLASSES_ROOT\Installer\Features\*F01FEC
- HKEY_CLASSES_ROOT\Installer\Products\*F01FEC
- HKEY_CLASSES_ROOT\Installer\UpgradeCodes\*F01FEC
- HKEY_CLASSES_ROOT\Installer\Win32Assemblies\*Office12*
- Now, in the Registry Editor window, navigate to the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Note : The path to this subkey on a 64-bit version of Windows is:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
- Open the File menu, select the Export command, type UninsOfficeKey01, and then select the Save button.
- In the Uninstall subkey that you open, click on each sub-key to see if any of them have the following values assigned to them:
- Name : UninstallString
- Data : Installation_Program_Name File_path\Office Setup Controller\Setup.exe path
- If you find a subkey with these entries, delete it.
- After you have checked and deleted all the subkeys that contain the above information, exit the Registry Editor window.
- Restart your computer and then reinstall Office 2007 on your computer.
|