How to Rebuild the Reg.dat File and Re-register ApplicationsLast reviewed: February 20, 1998Article ID: Q122964 |
The information in this article applies to:
SUMMARYWindows uses the registration database (Reg.dat) to store information about OLE-compliant applications. Information in the Reg.dat file pertaining to a specific application may be incorrect, or the entire Reg.dat file may become corrupted. This article explains how to rebuild the entire Reg.dat file and how to re-register individual applications (including specific Microsoft applications). You should rebuild the Reg.dat file only be done when other troubleshooting measures have proven unsuccessful, and when the nature of the problem suggests Reg.dat difficulties. If the problem affects only one application, re-register an individual application before rebuilding the entire Reg.dat. If the problem you are trying to solve is OLE-related, and other troubleshooting methods haven't worked, rebuild the entire Reg.dat file. It is not clear what causes corrupt Reg.dat files. The "More Information" section of this article is divided into the following subsections:
MORE INFORMATION
HOW TO REBUILD THE REG.DAT FILE COMPLETELYTo completely rebuild the Reg.dat file, perform the following steps:
HOW TO RE-REGISTER APPLICATIONSThe best method for re-registering an application is to reinstall it. Many applications have a Setup icon in Program Manager in the program group where the application icon is located. To reinstall these applications, double- click each icon and choose the reinstall option. If there is no Setup icon, insert the first disk of the application's program disks, and run Setup from the disk. Choose the Reinstall option. See the following section for instructions on how to re-register Microsoft applications.
HOW TO RE-REGISTER INDIVIDUAL MICROSOFT APPLICATIONS
Associate .reg Files with Regedit.exeFor an application to automatically register itself when the .reg file is double-clicked, files with the .reg extension must be associated with the REGEDIT program. To ensure that association, use the following steps:
Microsoft Access 2.0To register Microsoft Access, start Microsoft Access. Microsoft Access registers itself automatically when run, so it is not necessary to merge its .reg files into the registration database.
Microsoft Excel 5.0To register Microsoft Excel, start Microsoft Excel. Microsoft Excel registers itself automatically when run, so it is not necessary to merge its .reg files into the registration database. However, if there is no current entry for Microsoft Excel in the registry and you allow it to self-register, it may include incorrect information that could cause erratic behavior of the OLE server. To avoid this, reinstall Microsoft Excel. An alternative method involves the following two steps:
Microsoft Office 4.2Microsoft Office 4.2 and Microsoft Office 4.3 use .reg files that contain variable path statements for their applications. Depending upon your directory structure, these may be incorrect. To merge these .reg files, open them and edit them first. You will find the following .reg files in different locations depending on the media and size. They are on Disk 1 of non-DMF versions, varying disk numbers of DMF disks and in the Setup.adm\Disk1 folder of the Office 4.2-CD and 4.3-CD:
Artgalry.reg Eqnedit2.reg Graph5.reg Orgchart.reg Pp4.reg Wordart2.regTo use these files to register the applications, follow these steps:
Microsoft Office 4.3 Shared ApplicationsSee the instructions for Microsoft Office 4.2 provided above.
Microsoft PowerPoint 4.0To register Microsoft PowerPoint, start Microsoft PowerPoint. Microsoft PowerPoint registers itself automatically when run, so it is not necessary to merge its .reg files into the registration database.
Microsoft Publisher 2.0If you have installed any of the Office applications after installing Publisher, double-click the Mspub.reg file. You may need to first follow the instructions in the "Associate .reg files with Regedit.exe" section above. To register the other applications, use the method outlined in the "Office 4.2" section above. If you did not install Office, double-click each of the following .reg files:
Artgalry.reg Mspub.reg Wordart2.reg Msdraw.reg Note-it.reg Microsoft Word 6.0To register Word, start Word. Word registers itself automatically when run, so it is not necessary to merge its .reg files into the registration database.
Microsoft Works 3.0Works for Windows writes valid .reg files to the hard disk if the default path choices were not changed during installation. These can be used as-is to register the applications in the Reg.dat file. Follow the steps outlined under "Microsoft Publisher 2.0" above. If Works for Windows is installed to any folder other than the default folder, or if you have installed any of the Office applications after Works was installed, you will need to edit the .reg files before merging them using steps similar to those outlined above. For additional information about how to register Works for Windows 3.0, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q111772 TITLE : Manually Registering Works for Windows 3.0 BACKGROUND: HOW APPLICATIONS REGISTER AUTOMATICALLYMost applications register themselves automatically the first time they run. Some applications even include a .reg file that you can double-click or merge in the Registration Editor should you ever want to re-register the application. Some of these .reg files include a placeholder for the Windows folder path. When you run the application's setup program, the setup program replaces the placeholder with the correct Windows path. If you double-click or merge one of these files, the placeholder, and not the actual Windows path, is placed in the Reg.dat file.
Registration methods for Microsoft applications
Application .reg file not .reg file .reg file may needed (self has correct have invalid registering) path default path Windows Accessories Paintbrush, Notepad, Setup.regWrite, Cardfile, Sound, Package
OLE files Ole2.regOffice Applications:
Microsoft Access 2.0 Msaccess.exe Microsoft Excel 5.0 Excel.exe* Excel5.reg* Microsoft PowerPoint 4.0 Powerpnt.exe Pp4.reg Microsoft Word 6.0 Winword.exeOffice Shared Applications:
ClipArt Gallery Artgalry.exe Artgalry.reg Draw 2. Msdraw.reg Equation Editor 2.0 Eqnedit2.reg Graph 5.0 Graph5.exe Graph5.reg Media Player Mplayer.exe Organization Chart 1.0 Orgchart.exe Orgchart.reg WordArt 2.0 Wordart2.regHome product files:
Works 3.0 Msworks3.reg Art Gallery Artgalry.reg MS Draw Msdraw.reg Note-It Note-it.reg WordArt Wordart2.reg Publisher Mspub.reg Art Gallery Artgalry.reg MS Draw Msdraw.reg Note-It Note-it.reg* A combination of merging the .reg file and running the application may be needed to properly install Microsoft Excel 5.0. Refer to the "How To Re-register Individual Microsoft Applications" section above.
|
Additional query words: winword winppt power point powerpt word6 word7
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |