| Title: | Windows NT | 
| Notice: | See note 15.0 for HCL location | 
| Moderator: | TARKIN::LIN .com::FOLEY | 
| Created: | Thu Oct 31 1991 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 6086 | 
| Total number of notes: | 31449 | 
    Hi
    
    How can I apply a .REG file, generated by REGEDT32, to a registry in
    non-interactive mode?  Does REGEDT32 have a command line mode?
    
    Thanks!
    tl
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 5633.1 | REGINI.EXE | DECWET::MVB | Monty VanderBilt | Mon Feb 03 1997 09:45 | 13 | 
| Use REGINI.EXE (in resource kit)
REGINI /? give usage info
The file syntax is fairly simple. Here is a sample xxx.ini file to
install keys for a service named "xxx"
\registry\machine\system\currentcontrolset\services\xxx
    Start = REG_DWORD 0x00000003
    Group = Extended base
    ErrorControl = REG_DWORD 0x00000001
The command "regini xxx.ini" will add these keys to the registry
 | |||||
| 5633.2 | Answered wrong question | DECWET::MVB | Monty VanderBilt | Mon Feb 03 1997 10:18 | 7 | 
| Sorry, I reread .0 and realized I answered a different question than you asked. I don't know of any command line method to process files saved from REGEDT32.EXE. If you save a key from REGEDIT.EXE the format is close to what REGINI.EXE expects, but would still require editing. | |||||