Modifying registry entries on a remote machine.

  • Thread starter swcritic \(removethis\)
  • Start date
S

swcritic \(removethis\)

Hi,

I want to modify some registry entries on a remote
machine, using a .reg file.

On the local machine, I do something like

regedit /s <FILE>.reg

I was wondering if I can do something similar to change
the entries on a different machine.

I have access to reg.exe but it only modifies a key at a
time and not in a "batch" mode.

Thanks,
Raman
 
D

Dave Patrick

Yes you can as long as the user has registry editing rights.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Hi,
|
| I want to modify some registry entries on a remote
| machine, using a .reg file.
|
| On the local machine, I do something like
|
| regedit /s <FILE>.reg
|
| I was wondering if I can do something similar to change
| the entries on a different machine.
|
| I have access to reg.exe but it only modifies a key at a
| time and not in a "batch" mode.
|
| Thanks,
| Raman
 
G

Guest

Hi Dave,

Thanks for the reply.

I have been a user of WIndows for a while but this is the
first time I am "working" using/on windows.

If you could, can you tell me what the process would be to
modify registry entries on a remote machine?

Thanks a lot,
Raman
 
D

Dave Patrick

I don't know in what context but you can add your line
regedit /s <FILE>.reg
to a shell script and then place the shell script in the startup directory
or run it in your logon script.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


| Hi Dave,
|
| Thanks for the reply.
|
| I have been a user of WIndows for a while but this is the
| first time I am "working" using/on windows.
|
| If you could, can you tell me what the process would be to
| modify registry entries on a remote machine?
|
| Thanks a lot,
| Raman
 
G

Guest

I have to do it while running a test via a harness - the
type of test depends on a set of keys in the registry. I
am able to do it for local machine by doing exactly what
you suggested. I want to be able to do the same (via the
same harness) on a remote machine.

Actually, I may have figured out a way by using reg.exe
(which does allow remote administration). The only
drawback is reg.exe will only update one key at a time. I
guess I just create a bat file (or something like that)
and run it in my harness startup. Will try it out tomorrow
to see if really works. If it doesn't, I am back looking
for help.

Thanks for the pointers.

Raman
 
D

Dave Patrick

No idea what this means.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


|
| I have to do it while running a test via a harness -
 

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