Microsoft KB Archive/928218

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:34, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


How to uninstall the 2007 Office system if you cannot uninstall it by using the "Add or Remove Programs" 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:

  1. 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.
    1. Click Start, click Run, type installer, and then click OK.

      This process opens the %windir%\Installer folder.
    2. On the View menu, click Details.
    3. On the View menu, click Choose Details.
    4. 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.
    5. On the View menu, point to Arrange icons by, and then click Subject.
    6. For each .msi file whose subject is "Microsoft Office Product_Name 2007," right-click the .msi file, and then click Uninstall.

      Note Product_Name is a placeholder for the name of the 2007 Office product.
  2. Stop the Office Source Engine service. To do this, follow these steps:
    1. Click Start, click Run, type services.msc, and then click OK.
    2. 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.
    3. Close the Services window.
  3. Remove any remaining 2007 Office installation files and folders. To do this, follow these steps:
    1. Click Start, click Run, type %CommonProgramFiles%\Microsoft Shared, and then click OK.
    2. If the following folders are present, delete them:
      • Office12
      • Source Engine
    3. 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.
    4. Delete the Office12 folder.
    5. 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:
      1. Open Windows Explorer, and then click Folder Options on the Tools menu.
      2. Click the View tab.
      3. In the Advanced settings pane, click Show hidden files and folders under Hidden files and folders.
      4. Click to clear the Hide protected operating system files check box, and then click OK.
    6. Open the drive_letter:\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 "O" and "I."
    7. Click Start, click Run, type %appdata%\microsoft\templates, and then click OK.
    8. Delete the following files:
      • Normal.dotm
      • Normalemail.dotm
    9. Click Start, click Run, type %appdata%\microsoft\document building blocks\Language_ID, and then click OK.

      Notes
      • If you cannot open this folder because the folder does not exist, go to step 3k.
      • Language_ID 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 Language_ID value is 1033.
    10. Delete the Building blocks.dotx file.
    11. Click Start, click Run, type %temp%, and then click OK.
    12. On the Edit menu, click Select All.
    13. On the File menu, click Delete.
    14. Click Start, click Run, type %AllUsersprofile%\Application Data\Microsoft\Office\Data, and then click OK.
    15. Delete the opa12.dat file.
  4. 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.
    1. Locate and then delete the registry subkeys of the 2007 Office system if they are present. To do this, follow these steps:
      1. Click Start, click Run, type regedit, and then click OK.
      2. Click the following subkey:

        HKEY_CURRENT_USER\Software\Microsoft\Office\12.0

      3. On the File menu, click Export, type DeletedKey01, and then click Save.
      4. On the Edit menu, click Delete, and then click Yes to confirm the deletion.
      5. 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.
        • 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 If the computer is running a 64-bit version of Microsoft Windows, locate and then delete the following subkeys:

        • 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*
    2. 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

    3. On the File menu, click Export, type UninstallKey01, and then click Save.
    4. 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:
      • Name: UninstallString
      • Data: file_name path\Office Setup Controller\Setup.exe path

        Note In this example, file_name is a placeholder for the name of an installation program, and path is a placeholder for the file path.
    5. 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.
    6. 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.
    7. Close Registry Editor.
  5. Restart the computer, and then reinstall the 2007 Office system.

UserInfo subkeys:

HKEY_CURRENT_USER\Software\Microsoft\Office\Common\UserInfo


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

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Office\12.0


Shadow subkeys for Windows Server 2008:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software



Additional query words: OFF2007 Office2007 Office 2007 cleansweep clean sweep

Keywords: kberrmsg kbtshoot kbregistry kbsetup kbprb kbexpertiseinter kbinstallation KB928218