OFF97: How to Completely Remove Microsoft Office 97

ID: Q158658


The information in this article applies to:
  • Microsoft Office 97 for Windows


IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

For information about backing up Microsoft Windows 95 registry files, see the following article in the Microsoft Knowledge Base:
Q132332 How to Back Up the Registry

SUMMARY

This article describes how to completely remove Microsoft Office 97 from your computer.

A utility that automates this process is also available. This utility is designed to be run only after you run the Setup program for Office 97 and click Remove All to remove Office. For more information, see the following article in the Microsoft Knowledge Base:

Q176823 OFF97: Utility to Completely Remove Remaining Office 97 Files
After you download, install, and run the Eraser program, you may also want to use the RegClean program to remove unnecessary entries from your registry.

For more information and download instructions about RegClean, please see the following article in the Microsoft Knowledge Base:
Q147769 INFO: RegClean 4.1a Description and General Issues
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
The FTP location is ftp://ftp.microsoft.com/Softlib/MSLFILES/
For information about removing Microsoft Office 97 for Windows, Service Release 1 (SR-1), please see the following article in the Microsoft Knowledge Base:
Q173431 OFF97: How to Completely Remove the SR-1 Patch and Patch Update


MORE INFORMATION

NOTE: After you complete the following steps, it may be necessary to reinstall earlier versions of programs that use the shared components that Microsoft Office 97 uses. For example, to use any of the programs included with Microsoft Office 7.0, it may be necessary to reinstall Microsoft Office 7.0 before you can use the programs.

WARNING: If Microsoft Outlook 98 is installed, you must remove it prior to removing Microsoft Office 97 using the steps in this article.

To remove Microsoft Office 97 from your computer, follow these steps:

  1. On the Start menu, point to Settings, and then click Control Panel.


  2. Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 97, and then click Add/Remove. If you installed Microsoft Office from a CD, you are prompted to insert the first CD.

    If a dialog box displays a message stating that programs are running, quit the programs, and click OK.


  3. In the Microsoft Office 97 Setup dialog box, click Remove All.


  4. When you are prompted to remove shared components, click Remove All.

    If you are prompted to restart the computer after Setup is completed, restart the computer.

    WARNING: Before proceeding with the next step, if you are running Microsoft Windows 98, do not delete the Program Files\Common Files\Microsoft Shared\MSInfo folder.

    NOTES:
    • Before you delete the Microsoft Office folder, make sure that you do not have other programs, such as Microsoft Project or Microsoft Publisher, installed in the Microsoft Office folder. If you delete the Microsoft Office folder, you may need to reinstall these programs.


    • Deleting the Microsoft Office folder also deletes the Program Files\Microsoft Office\Office\XLStart folder, which may contain personal files. Ensure that all personal files are removed from this folder before deleting it. Also, deleting the Microsoft Office folder deletes the Program Files\Microsoft Office\Templates folder, which may contain personal templates. Ensure that all personal files, including custom macros, are removed from this folder before you delete it.

      Some of the files located in the folders to be removed may contain macros, templates or other customizations that you may want to save. You should backup these files so that you can restore them after you reinstall Office. They are:
      Normal.dot
      Custom.dic
      *.xlb
      Personal.xls
      Blank.pot
      *.pst
      *.pab
      *.acl except Mso97.acl
      Any personal templates you created that might be in the Template folder.




  5. In Windows Explorer, delete the following folders.
    <x>:\Program Files\Microsoft Office
    <x>:\Program Files\Common Files\Microsoft Shared\Vba
    <x>:\Program Files\Common Files\ODBC
    <x>:\Windows\Temp\Vbe
    where <x> is the drive letter to which Microsoft Office 97 is installed.


  6. In Windows Explorer, delete the files in the following folders.
    
        Windows Folder
        --------------
    
        Artgalry.cag   Exchng.ini     Mso97.acl      Odbc.ini
        Odbcinst.ini   Twain.dll      Twain_32.dll   Twunk_16.exe
        Twunk_32.exe   Wininit.ini    <username>.acl <username>.pcb 

    NOTE: <username> is the name of the user who is logged on to the computer. If multiple users log on to the computer using different user names, each user has separate .acl and .pcb files. All of these files can be deleted.
    
        Windows\System Folder
        ---------------------
    
        WARNING:
        If you are running Microsoft Windows 98, do not delete the Mcf40.dll file 
        in the Windows\System folder.
        If you are running Microsoft Windows NT, delete the files from the 
        Winnt\System32 folder, NOT the Winnt\System folder.
    
    
        12520437.cpx   12520850.cpx   accwiz.dll     asycfilt.dll
        cnfnot32.exe   comcat.dll     comdlg16.ocx   commtb32.dll
        convdsn.exe    ctl3dv2.dll    dbnmpntw.dll   docobj.dll
        drvssrvr.hlp   ds16gt.dll     ds32gt.dll     emsabp32.dll
        emsmdb32.dll   emsui32.dll    emsuix32.dll   etexch32.dll
        fm20.dll       fm20enu.dll    hlink.dll      hlinkprx.dll
        iso88591.trn   jetdef35.hlp   jeterr35.cnt   jeterr35.hlp
        jetsql35.cnt   jetsql35.hlp   mapiform.vbx   mapifvbx.tlb
        mapisvc.cnt    mfc40.dll      minet32.dll    misc2.srg
        mlctrl.dll     mscal.cnt      mscal.dep      mscal.hlp
        mscal.ocx      mscpxl32.dll   msexcl35.dll   msforms.twd
        msfs32.dll     msjet35.dll    msjint35.dll   msjter35.dll
        msothunk.dll   msrd2x35.dll   msrepl35.dll   msriched.vbx
        msstkprp.dll   mstext35.dll   odbc16gt.dll   msxbse35.dll
        norweg.trn     oc25.dll       odbccp32.cpl   odbc32.dll
        odbc32gt.dll   odbcad32.exe   odbcinst.hlp   odbccp32.dll
        odbccr32.dll   odbcinst.cnt   odbcint.dll    odbcjt32.dll
        odbcjet.cnt    odbcjet.hlp    odbcji32.dll   odbctrac.dll
        odbcjtnw.cnt   odbcjtnw.hlp   odbctl32.dll   odtext32.dll
        oddbse32.dll   odexl32.dll    odfox32.dll    riched.dll
        pcdlib32.dll   picstore.dll   pubdlg.dll     swedish.trn
        riched20.dll   sqlsrv32.dll   stdole2.tlb    vaen2.dll
        system.mdw     threed16.ocx   usascii.trn    vbajet32.dll
        vaen21.olb     vb40016.dll    vb4en16.dll    wmsui.dll
        vbscript.dll   ven2232.olb    winsspi.dll
    
        Windows\Fonts Folder (optional)
        -------------------------------
    
        Arialn.ttf     Arialnb.ttf    Arialnbi.ttf   Arialni.ttf
        Ariblk.ttf     Bookos.ttf     Bookosb.ttf    Bookosbi.ttf
        Bookosi.ttf    Bssym1.ttf     Bssym2.ttf     Bssym3.ttf
        Comic.ttf      Comicbd.ttf    Gara.ttf       Garabd.ttf
        Garait.ttf     Hatten.ttf     Impact.ttf     Mapsym.ttf
        Mtextra.ttf    Mtsorts.ttf    Outlook.ttf    Tahoma.ttf
        Tahomabd.ttf
    
        Other Folders
        -------------
    
           File                      Folder
           ---------------------------------------------------
    
           Boot.ini.lnk              Windows\Recent (optional)
           Off97pro.stf.lnk          Windows\Recent (optional)
           Valupk8.hlp.lnk           Windows\Recent (optional)
           Readme.txt.lnk            Windows\Recent (optional)
           Wcleanos.ini.lnk          Windows\Recent (optional)
           My Documents.lnk          Windows\Favorites
           Mscreate.dir              Windows\Odbc
           Mscreate.dir              Windows\Odbc\Data
           Valupk8.gid               Windows\Help
           Rec21c1.mdb               Windows\Temp 


  7. On the Start menu, click Run. If you are using Windows 95 in the Open box, type "regedit" (without the quotation marks), and then click OK. If you are using Windows NT in the Open box, type "regedt32" (without the quotation marks), and then click OK.

    WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

    For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).


  8. Select the following key in the registry:
    
          HKEY_CURRENT_USER\Software\Microsoft\Office\8.0 

    With the key selected, click Delete on the Edit menu. When you are prompted to delete this key, click Yes.


  9. Repeat step 8 and delete the following registry keys:
    
           HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Mso97.dll
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{000C0114-0000-0000-C000-
               000000000046}
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{53230322-172B-11D0-AD40-
               00A0C90DC8D9}
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{53230327-172B-11D0-AD40-
               00A0C90DC8D9}
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{812034D2-760F-11CF-9370-
               00AA00B8BF00}
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Office.Actor
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Office.ActorPreview
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{5B87B6F0-17C8-11D0-
               AD41-00A0C90DC8D9}\8.0
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{812034D0-760F-11CF-
               9370-00AA00B8BF00}
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{000204EF-0000-0000-
               C000-000000000046}\3.0
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2DF8D04C-5BFA-101B-
               BDE5-00AA0044DE52}
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MOS\Mail\Inbox
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MOS\Mail\SendNote
    
           HKEY_LOCAL_MACHINE\Software\Microsoft\Office\8.0
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\AutoCorrect\8.0
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MRT7ENU
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Msoc.dll
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Vba332.dll
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Vbe.dll 

    NOTE: On the following registry key, delete only the values that point to Mso97.dll, Vbe.dll, and Vba332.dll.
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ 
               SharedDLLs\  

    NOTE: On the following registry key, delete only the value that points to Mso97.dll. Do not delete any other values.
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Help
    
           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBA\VbeDllPath
    
           HKEY_USERS\.Default\Software\Microsoft\Office\8.0 


Additional Information for Removing a Run From CD Installation

Select the following key in the registry

   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools 

and then select and delete each value that refers to the CD-ROM drive letter. For example, if your CD-ROM drive is drive D, delete any value that refers to D:\Office or D:\OS.

Select the following key in the registry:

   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs 

and then select and delete each value that refers to the CD-ROM drive letter and the Office or OS folders. For example, if your CD-ROM drive is drive D, delete any value that refers to D:\Office or D:\OS.

Additional query words: OFF97 8.00 97 cde uninstall manual manually removing sr-1 sr1

Keywords : kbsetup offwinsetup
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: January 17, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.