View previous topic :: View next topic |
Author |
Message |
Meganaton Newbie
Joined: 10 Oct 2006 Posts: 2
|
Posted: Tue Oct 10, 2006 5:52 am Post subject: Load hive... |
|
|
Current user is logged into computer, it is an administrator. How to make a program load hive for another user (TestUser)?
HKEY_USER\TestUser\...
In Windows XP, run REGEDT32.EXE, select File/Load hive... |
|
Back to top |
|
|
DaveR Valued Contributor
Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Wed Oct 11, 2006 11:36 am Post subject: |
|
|
Unfortunately Regedt32.exe, does NOT support batch or command prompt operations.
But you may find a solution if you google for 'logon scripts'. _________________ cheers
Dave |
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Wed Oct 11, 2006 1:44 pm Post subject: |
|
|
You could try this,
Quote: | Syntax
reg load KeyName FileName
Parameters
KeyName
Specifies the full path of the subkey to be loaded. For specifying remote computers, include the computer name (in the format \\ComputerName\) as part of the KeyName. Omitting \\ComputerName\ causes the operation to default to the local computer. The KeyName must include a valid root key. Valid root keys are HKLM, HKCU, HKCR, HKU, and HKCC. If a remote computer is specified, valid root keys are HKLM and HKU.
FileName
Specifies the name and path of the file to be loaded. This file must be created beforehand with the reg save operation using a .hiv extension.
/?
Displays help for reg load at the command prompt.
Remarks
The following table lists the return values for the reg load operation. Value Description
0 Success
1 Failure
Examples
To load the file named TempHive.hiv to the key HKLM\TempHive, type:
REG LOAD HKLM\TempHive TempHive.hiv
|
|
|
Back to top |
|
|
|