forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Load hive...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
Meganaton
Newbie


Joined: 10 Oct 2006
Posts: 2

PostPosted: Tue Oct 10, 2006 5:52 am    Post subject: Load hive... Reply with quote

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
View user's profile Send private message
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Wed Oct 11, 2006 11:36 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Wed Oct 11, 2006 1:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group