The information in this article applies to:
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. SUMMARYThis article describes various methods for resetting user options and registry settings in Microsoft Word. MORE INFORMATION
There are two basic kinds of options that a user can define in Word. The first kind affects the way the program operates. The information for this kind of option is usually stored in the Windows registry. The second kind of option affects the formatting or appearance of one or more documents. The information for this option is stored in templates or documents.
Holding the SHIFT KeyWord reserves special names for macros that you can create to automatically alter the way Word behaves. These are called "auto" macros. The auto macros in Microsoft Word are listed in the following table.
Word recognizes a macro with a name that begins with "Auto" as a macro that
automatically runs when the situation to which it applies occurs. You can prevent an auto macro from running by holding down SHIFT while
performing the action that causes the macro to run.
Starting Word Using /AStarting Word by using /a on a command line causes Word to use the default settings for all options and prevents add-ons from being loaded.The /a switch allows you to start Word without loading the following components:
For the following example, assume that Word is located in the C:\Program Files\Microsoft Office\Office folder. To start Word by using /a:
Q244843 WD2000: What Does the Word Startup '/a' Switch Really Do? Renaming the Normal TemplateTo prevent formatting, AutoText, and macros that are stored in the Normal template (Normal.dot) from affecting behavior of the program and documents that are opened, rename Normal.dot. Renaming allows you to quickly determine whether the Normal template is causing the problem or behavior.NOTE: Renaming the Normal.dot template resets several options back to the default settings, including custom styles, custom toolbars, macros, and AutoText entries. For this reason, Microsoft strongly recommends that you rename the Normal.dot file. Certain kinds of configurations may create more than one Normal.dot file. These situations include cases in which multiple versions of Word are running on the same computer or cases in which several workstation installations exist on the same computer. In these situations, be sure to rename the correct copy of Normal.dot. To rename the Normal.dot file:
For more information about using the Organizer, click Microsoft Word Help on the Help menu, type Organizer in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned. Using Detect and RepairWord now has the ability to detect and repair problems associated with Setup. This feature uses the Windows Installer to correct problems with missing files and to repair registry settings. This is equivalent to using the /f Setup command-line switch with the following options:o - Reinstall a file if it is missing, or an older version if present.For example, the syntax for this switch is: drive:\setup.exe /focumsThere are three methods you can use to repair or reset Word files and values: The following table lists the aggressiveness of each type of Detect and Repair, in the order of aggression.
Detect and Repair on the Help MenuYou can access the Detect and Repair feature from the Help menu in Word. This option fixes and repairs errors in Word. All files, registry entries, and optional shortcuts for all Office 2000 programs are verified and repaired. This means that if you run Detect and Repair from within Word, all other Office 2000 programs are checked as well. This option only performs a checksum.The Detect and Repair feature can also restore the Word program shortcuts on the Start menu. The Restore my shortcuts while repairing option must be selected for this to occur. If Detect and Repair does not correct the problem, you may need to reinstall Word. The Reinstall option in the Maintenance Mode dialog box completes the same action as Detect and Repair, except that Reinstall copies down a file when the files are of equal versions. Detect and Repair does not copy over the file when the install file has the correct version and checksum. NOTE: The Detect and Repair feature does not repair corrupted documents or a damaged Data key in the registry or the Normal template. If a file that is required to start Word is missing, the Windows Installer automatically installs that file before starting the application. Repair Word in Maintenance Mode SetupThe Word Maintenance Mode Setup process is similar to that in earlier versions. It allows you to repair Word, add or remove features, and remove Word. The Repair Word feature is a new enhancement in Maintenance Mode that finds and fixes errors in a Word installation.To start Maintenance Mode:
Saving and Deleting Registry EntriesWARNING: 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). Deleting the Data SubkeyNOTE: Deleting the Data subkey resets several options back to the default settings, including the most recently used file list on the File menu and many settings you customize in the Options dialog boxes.Most common options (click Options on the Tools menu) are stored in the Data subkey. One troubleshooting step is to delete the Data key. Word rebuilds this Data subkey by using the default settings the next time the program is started. To delete the Data subkey:
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Data Where Settings Are Stored in the RegistryWord stores all of its settings in the Windows registry. This section lists the settings in the registry that pertain to Word.The locations are organized into the following sections:
Main Locations of Word SettingsMost settings in Word are stored in the following subkey:HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\WordChanges made to this HKEY_CURRENT_USER subkey are mirrored in the following subkey: HKEY_USERS\Default\Software\Microsoft\Office\9.0\WordThe difference between the two locations is that first applies only to the current user of the system, and the other is the default for all users. However, Word entries are the same for both, so any change made to one is automatically reflected in the other. NOTE: For the remainder of this section, all references to the HKEY_CURRENT_USER subtree apply also to the HKEY_USERS subtree except where noted. Word SubkeyHKEY_CURRENT_USER\Software\Microsoft\Office\9.0\WordThe settings that you may need to examine during troubleshooting are located in this subkey. The Data subkey and the Options subkey are the most frequently changed areas. Data SubkeyHKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\DataThis subkey contains binary information for most recently used lists, including the most recently used file list and the most recently used address book list. It also contains Track Changes settings and Edit settings. Options SubkeyHKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\OptionsThis subkey stores the options that you can set from Word either by changing menu options or by running the RegOptions macro (see the "Using the RegOptions Macro" section later in this article). The settings fall into two groups: default settings and optional settings. Default settings are established during Setup. You can change them by modifying options in Word. Stationery SubkeyHKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\StationeryThis subkey contains the default location for the template for WordMail and the links to find the template. The four settings are the following: NOTE: These options may or may not be present.
Wizards SubkeyHKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\WizardsAll wizard defaults are stored here. These settings are created the first time that you run a wizard. Common SubkeyHKEY\CURRENT_USER\Software\Microsoft\Office\9.0\CommonThis subkey is used by other Microsoft programs, such as the Office programs. Likewise, these settings are shared between programs. Changes made in one program's settings also appear in the other program's settings. Shared Tools SubkeyHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared ToolsThis subkey contains paths for all Windows utilities (programs such as Equation, WordArt, and MsGraph). Paths for graphics filters and text converters are also registered in this location. Using the RegOptions MacroYou can use the RegOptions macro to examine the Windows registry or to make changes to Word settings stored there.For additional information about the RegOptions macro, please click the article number below to view the article in the Microsoft Knowledge Base: Q230121 WD2000: What's Contained in Support9.dot and How to Install It Alphabetical List of Options and Where They Are StoredNOTE: In the following table, "Template" refers to either the Normal.dot template or to a custom template.
For additional information about options and where they are stored, please click the article number below to view the article in the Microsoft Knowledge Base:
Q212242 WD2000: Where Settings Are Stored in the RegistryAutoCorrect lists are shared between Office programs. Any changes you make to the AutoCorrect entries and settings while in one program are immediately available to the other programs. In addition, Word can store AutoCorrect items that consist of formatted text and graphics. Information pertaining to AutoCorrect is stored in various locations. These locations are listed in the following table.
Additional query words:
Keywords : kbdta |
Last Reviewed: January 7, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |