Microsoft KB Archive/142265

= How to use Regini.exe to modify HKEY_CURRENT_USER =

Article ID: 142265

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51

-



This article was previously published under Q142265



SUMMARY
Regini is a character-based batch file utility that you can use to add keys to the Windows NT Registry by specifying a registry script. This article explains how you can use REGINI.EXE to create a registry script to modify the HKEY_CURRENT_USER registry hive.



MORE INFORMATION
To create a registry script, do the following:

WARNING: Using Registry Editor incorrectly can cause serious, systemwide 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.

 Run Registry Editor (REGEDT32.EXE). From the HKEY_USERS subtree, go to the following key and note the :

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

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

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

Value Name: Engineer

Data Type: REG_SZ

String: JohnDoe</li> Create a registry script file called TEST.REG and enter the following:

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

</li> From the command line, type the following:

Regini test.reg </li></ol>

Additional query words: prodnt

Keywords: KB142265

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.