Microsoft KB Archive/928218

= How to uninstall the 2007 Office system if you cannot uninstall it by using the &quot;Add or Remove Programs&quot; feature =

Article ID: 928218

Article Last Modified on 11/26/2007

-

APPLIES TO


 * Microsoft Office Professional Plus 2007
 * Microsoft Office Ultimate 2007
 * Microsoft Office Enterprise 2007
 * Microsoft Office Professional 2007
 * Microsoft Office Standard 2007
 * Microsoft Office Home and Student 2007
 * Microsoft Office Basic 2007
 * Microsoft Office Access 2007
 * Microsoft Office Excel 2007
 * Microsoft Office InfoPath 2007
 * Microsoft Office OneNote 2007
 * Microsoft Office Outlook 2007
 * Microsoft Office PowerPoint 2007
 * Microsoft Office Publisher 2007
 * Microsoft Office Word 2007
 * Microsoft Office Accounting Express 2007
 * Microsoft Office SharePoint Designer 2007
 * Microsoft Office Project Professional 2007
 * Microsoft Office Project Standard 2007
 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Standard 2007

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



INTRODUCTION
This article describes how to uninstall the existing 2007 Microsoft Office system if you cannot uninstall it by using the Add or Remove Programs feature in Control Panel.

If you want to reinstall the 2007 Office system, we recommend that you first uninstall it by using the Add or Remove Programs feature in Control Panel. When this method is successful, the 2007 Office system is completely uninstalled.

However, you may be unable to successfully uninstall the 2007 Office system by using this method. For example, you may experience issues with the Add or Remove Programs dialog box. Or, some 2007 Office components may not be uninstalled. In these cases, you may be unable to reinstall the 2007 Office system.

This article describes an alternative method that you can use to uninstall the existing 2007 Office system. After you use this alternative method, you can reinstall the 2007 Office system.

Note You should not use this alternative method instead of the recommended method. This is because the alternative method does not completely uninstall the 2007 Office system.



MORE INFORMATION
To uninstall the existing 2007 Office system if you cannot uninstall it by using the Add or Remove Programs feature, follow these steps:  Remove any remaining Windows Installer packages of the 2007 Office system. To do this, follow these steps.

Note These steps require that your user account has Administrator permissions on the computer.  Click Start, click Run, type installer, and then click OK.

This process opens the %windir%\Installer folder. On the View menu, click Details. On the View menu, click Choose Details. Click to select the Subject check box, type 340 in the Width of selected column (in pixels) box, and then click OK.

Note It may take several minutes for the subjects to appear next to each .msi file. On the View menu, point to Arrange icons by, and then click Subject. For each .msi file whose subject is &quot;Microsoft Office  2007,&quot; right-click the .msi file, and then click Uninstall.

Note  is a placeholder for the name of the 2007 Office product.</li></ol> </li> Stop the Office Source Engine service. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type services.msc, and then click OK.</li> In the Services window, determine whether the Office Source Engine service is running. If this service is running, right-click Office Source Engine, and then click Stop.</li> Close the Services window.</li></ol> </li> Remove any remaining 2007 Office installation files and folders. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type %CommonProgramFiles%\Microsoft Shared, and then click OK.</li> If the following folders are present, delete them: <ul> Office12</li> Source Engine</li></ul> </li> Click Start, click Run, type %ProgramFiles%\Microsoft Office, and then click OK.

Note On a computer that is running a 64-bit version of Windows XP, type %ProgramFiles(x86)%\Microsoft Office instead.</li> Delete the Office12 folder.</li> On the root folder of each hard disk drive, locate and then open the MSOCache folder. If you cannot see the MSOCache folder, follow these steps: <ol> Open Windows Explorer, and then click Folder Options on the Tools menu.</li> Click the View tab.</li> In the Advanced settings pane, click Show hidden files and folders under Hidden files and folders.</li> <li>Click to clear the Hide protected operating system files check box, and then click OK.</li></ol> </li> <li>Open the :\MSOCache\All Users folder, and then delete every folder that has the following text in the folder name:

0FF1CE)-

Note This text contains a zero and a one for the letters &quot;O&quot; and &quot;I.&quot;</li> <li>Click Start, click Run, type %appdata%\microsoft\templates, and then click OK.</li> <li>Delete the following files: <ul> <li>Normal.dotm</li> <li>Normalemail.dotm</li></ul> </li> <li>Click Start, click Run, type %appdata%\microsoft\document building blocks\, and then click OK.

Notes <ul> <li>If you cannot open this folder because the folder does not exist, go to step 3k.</li> <li> is a placeholder for the four-digit number that represents the language of the 2007 Office system. For example, if you use the English version of the 2007 Office system, the  value is 1033.</li></ul> </li> <li>Delete the Building blocks.dotx file.</li> <li>Click Start, click Run, type %temp%, and then click OK.</li> <li>On the Edit menu, click Select All.</li> <li>On the File menu, click Delete.</li> <li>Click Start, click Run, type %AllUsersprofile%\Application Data\Microsoft\Office\Data, and then click OK.</li> <li>Delete the opa12.dat file.</li></ol> </li> <li>Remove the registry subkeys of the 2007 Office system. To do this, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol style="list-style-type: lower-alpha;"> <li>Locate and then delete the registry subkeys of the 2007 Office system if they are present. To do this, follow these steps: <ol> <li>Click Start, click Run, type regedit, and then click OK.</li> <li>Click the following subkey:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0

</li> <li>On the File menu, click Export, type DeletedKey01, and then click Save.</li> <li>On the Edit menu, click Delete, and then click Yes to confirm the deletion.</li> <li>For each registry subkey in the following list, repeat steps 4a(1) through 4a(4). Change the name of the exported key by one for each subkey.

For example, type DeletedKey02 for the second key, type DeletedKey03 for the third key, and so on.

Note In the following registry keys, the asterisk character (*) represents one or more characters in the subkey name. <ul> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li></ul>

Note If the computer is running a 64-bit version of Microsoft Windows, locate and then delete the following subkeys: <ul> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li></ul> </li></ol> </li> <li>Locate the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Note On a computer that is running a 64-bit version of Windows, locate the following registry subkey instead:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

</li> <li>On the File menu, click Export, type UninstallKey01, and then click Save.</li> <li>Under the Uninstall subkey that you located in step 4b, click each subkey, and then determine whether the subkey has the following value assigned to it: <ul> <li>Name: UninstallString</li> <li>Data:  \Office Setup Controller\Setup.exe

Note In this example,  is a placeholder for the name of an installation program, and   is a placeholder for the file path.</li></ul> </li> <li>If the subkey contains the name and the data that are described in step 4d, click Delete on the Edit menu. Otherwise, go to step 4f.</li> <li>Repeat steps 4d and 4e until you locate and then delete every subkey that matches the name and the data that are described in step 4d.</li> <li>Close Registry Editor.</li></ol> </li> <li>Restart the computer, and then reinstall the 2007 Office system.</li></ol>

UserInfo subkeys:

Shadow subkeys for Windows Server 2003 and for earlier versions of Windows Server:

Shadow subkeys for Windows Server 2008:

Additional query words: OFF2007 Office2007 Office 2007 cleansweep clean sweep

Keywords: kberrmsg kbtshoot kbregistry kbsetup kbprb kbexpertiseinter kbinstallation KB928218

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.