Remote Registry via command line

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
 
T

Torgeir Bakken (MVP)

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?
 
S

Spec

-----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
 
M

Mark V

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.
 
T

Torgeir Bakken (MVP)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top