Select the product you need help with
How to change registry values or permissions from a command line or a scriptArticle ID: 264584 - View products that this article applies to. This article was previously published under Q264584 SUMMARY
To change a registry value or registry permissions from a command line or from a script, use the Regini.exe utility. The Regini.exe utility is included in the Windows NT Server 4.0 Resource Kit, in the Microsoft Windows 2000 Resource Kit, and in the Microsoft Windows Server 2003 Resource Kit. Note The Regini.exe utility for Windows 2000 is no longer supported and is not available for download from Microsoft. This tool is available on the original Microsoft Windows 2000 Resource Kit CD-ROM only. MORE INFORMATION
The syntax for changing registry values or permissions with Regini is: REGINI [-m \\machinename] files Here, the -m \\machinename option is used to modify the registry of a remote machine, and files represents the names of the script files that contain the changes to the registry.The text file or files should contain the registry changes in the following format. \Registry\Hiveroot\Subkeys registry value=data [permissions] The Regini utility works with kernel registry strings. When you gain access to the registry in User mode with HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, and so on, the string is converted in Kernel mode as follows:
Caution When you use Regini to change permissions, the current permissions are replaced, not edited. The following example script file shows the syntax for changing permissions on a registry key. PropertiesArticle ID: 264584 - Last Review: July 14, 2008 - Revision: 3.0 APPLIES TO
| Article Translations |


Back to the top








