Using Regedit with Regedt32 to Search for Registry Values

Last reviewed: August 6, 1997
Article ID: Q168646
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

Your Windows NT computer may not start due to an entry in the Registry. You will receive an error message, in certain instances, pointing to the registry value causing the problem. The Regedt32.exe program does not allow you to search for the actual registry values or data, only registry keys.

RESOLUTION

To overcome the problem, you can install a second copy of Windows NT in a temporary directory on your computer and follow the steps outlined below.

To successfully search a loaded registry hive:

  1. Install a parallel copy of Windows NT into another directory on the local hard drive.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Run Regedt32.exe from the newly installed version of Windows NT and open the HKEY_LOCAL_MACHINE key on the Local Machine subtree.

  2. Click Load Hive from the Registry menu. Browse to the following registry file on the original Windows NT installation:

          %SystemRoot%\System32\Config\System (or software depending on what
          area the problem is occurring).
    

  3. Type test in the dialog box.

  4. Start Regedit and open the Hkey_Local_Machine folder.

  5. Select the Test registry key.

  6. From the Edit menu, click Find.

  7. Type the appropriate registry entry that you are trying to locate, and then click Find Next.

  8. Repeat the process until you find the correct key.

  9. Write down the correct location (path) for the registry key.

  10. Exit Regedit.exe, and from within Regedt32 locate the path in step 8.

  11. Do any required modifications, and then select the newly loaded key.

        Click registry from the menu and Unload Hive Option will appear.
    

This is helpful when you are not certain of the location or error message that you are trying to fix. Be sure to close Regedit, and then to unload the hive from Regedt32 after making your changes.


Additional query words: regedit regedt32 values data keys
Keywords : nthowto ntregistry NTSrvWkst ntutil kbenv
Version : WinNT:4.0
Platform : winnt


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.