Edit Registry

  • Thread starter Thread starter Kelly
  • Start date Start date
K

Kelly

Hello There,

I am trying to delete a registry key out of many windows 2000 systems
at the same time. Is there a way I can do this quickly?

Thanks,
(e-mail address removed)
 
Kelly said:
I am trying to delete a registry key out of many windows 2000 systems
at the same time. Is there a way I can do this quickly?

Hi

One of 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.


This is one possible way to do it, you can delete a key (as well as a value)
with a registry file:

Delete key (note the - ):

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]

Delete value:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-

Be sure that you registry file contains a blank line at the end.

Then you can run the registry file unattended like this:

regedit.exe /s "somefile.reg"


Use PsExec or Beyondexec to copy the somefile.reg to the remote computer and
execute it with the command line above.


All the command line alternatives above can e.g. in a batch file be fed with
computer names from a text file in a loop.
 
Kelly said:
I am trying to delete a registry key out of many windows 2000 systems
at the same time. Is there a way I can do this quickly?

Hi

One of 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.


This is one possible way to do it, you can delete a key (as well as a value)
with a registry file:

Delete key (note the - ):

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]

Delete value:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-

Be sure that you registry file contains a blank line at the end.

Then you can run the registry file unattended like this:

regedit.exe /s "somefile.reg"


Use PsExec or Beyondexec to copy the somefile.reg to the remote computer and
execute it with the command line above.


All the command line alternatives above can e.g. in a batch file be fed with
computer names from a text file in a loop.
 
Back
Top