You are currently offline, waiting for your internet to reconnect

How to use Regini.exe to modify HKEY_CURRENT_USER

This article was previously published under Q142265
SUMMARY
Regini is a character-based batch file utility that you can use to add keysto the Windows NT Registry by specifying a registry script. This articleexplains how you can use REGINI.EXE to create a registry script to modifythe HKEY_CURRENT_USER registry hive.
MORE INFORMATION
To create a registry script, do the following:

WARNING: Using Registry Editor incorrectly can cause serious, systemwideproblems that may require you to reinstall Windows NT to correct them.Microsoft cannot guarantee that any problems resulting from the use ofRegistry Editor can be solved. Use this tool at your own risk.
  1. Run Registry Editor (REGEDT32.EXE).
  2. From the HKEY_USERS subtree, go to the following key and note the <User Node>:

    \HKEY_USERS\&lt;User Node&amp;g


    NOTE: The following user node is used for this example:

    S-1-5-21-124525095-708259637-154311902-2419
  3. From the HKEY_CURRENT_USER subtree, go to the following key:

    \Softwa
  4. From the Edit menu, select Add Key.
  5. Enter the Key name and click OK. For this example, use the key name: Test.
  6. For this example, enter the following:

    Value Name: Engineer
    Data Type: REG_SZ
    String: JohnDoe
  7. Create a registry script file called TEST.REG and enter the following:

    \registry\user\S-1-5-21-124525095-708259637-154311902-2419\software\test Engineer = REG_SZ WZolt


    NOTE: Make sure there is a carriage return at the end of each line in the registry script file. For additional information, please see the following article(s) in the Microsoft Knowledge Base:

    ARTICLE-ID: 139278
    TITLE : Example in Windows NT Resource Kit For REGINI Does Not Work
  8. From the command line, type the following:

    Regini test.reg
prodnt
Properties

Article ID: 142265 - Last Review: 11/01/2006 06:08:10 - Revision: 4.1

  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • KB142265
Feedback