Remote Registry via command line

  • Thread starter Thread starter Spec
  • Start date Start date
S

Spec

Hi
I am wanting to write a batch file using some remote
registry app that will import a specified .reg file to
the remote machines.
As in windows xp regedit, you can add multiple machines
remotely, import a .reg and apply it to the selected
machines, i want to do this via command line, is it
possible?
freeware? resource kit?

Thanks in advance
 
Spec said:
I am wanting to write a batch file using some remote
registry app that will import a specified .reg file to
the remote machines.
As in windows xp regedit, you can add multiple machines
remotely, import a .reg and apply it to the selected
machines, i want to do this via command line, is it
possible?
freeware? resource kit?

Hi

For what registry hive is this, HKEY_LOCAL_MACHINE, a user's HKEY_CURRENT_USER
or both?
 
-----Original Message-----
Spec wrote:

Hi

For what registry hive is this, HKEY_LOCAL_MACHINE, a user's HKEY_CURRENT_USER
or both?

<snip>
In this specific instance, HKEY_LOCAL_MACHINE.
Does the same procedure (im guessing you know of a way
for one or the other?) not apply to both?

Thanks
 
In said:
<snip>
In this specific instance, HKEY_LOCAL_MACHINE.
Does the same procedure (im guessing you know of a way
for one or the other?) not apply to both?

Some remote solutions would not recognize HKCU in the same context as
the logged on user would see it. (account specific)

PSEXEC.EXE (free sysinternals.com) might be one solution.
 
Spec said:
Torgeir Bakken

In this specific instance, HKEY_LOCAL_MACHINE.

Then the two following tools should probably have no problems helping you out
(both are able to e.g. copy a file to the remote computer before executing it):

Take a look at PsExec.exe in the free PsTools suite, found at
http://www.sysinternals.com

Another freeware program with similar merits to PsExec is Beyondexec.
http://www.beyondlogic.org/consulting/remoteprocess/BeyondExec.htm

Beyondexec also have multiple computer functionality.

Does the same procedure (im guessing you know of a way
for one or the other?) not apply to both?

Mark answered this one nicely.
 
Back
Top