Windows Server 2003
1833704 Members
3663 Online
110062 Solutions
New Discussion

W2K3 - How to copy certain registry entries to another server?

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

W2K3 - How to copy certain registry entries to another server?

Hi,

I had inadvertently removed a (non-windows) service from a (W2K3 SP1) server.
I have a similar server that has that same exact service installed.

Is it possible to copy all of the registry entries for that service to another server that doesn't have that service?

10 points to any answer.
Thank you
Gino
2 REPLIES 2
Phil.Howell
Honored Contributor
Solution

Re: W2K3 - How to copy certain registry entries to another server?

It would be safer to re-install the service.

you could export keys from HKLM\SYSTEM\CurrentControlSet\Services
and/or HKLM\SOFTWARE

at a command prompt

regedit /E /S "HKEY_LOCAL_MACHINE\Software\company\product"

regedit /E /S "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\yourservice"

then copy the reg files to the other server and run them
Phil
Hugo Tigre
Trusted Contributor

Re: W2K3 - How to copy certain registry entries to another server?

Hi Gino,

Another way of doing it is opening the regedit console, then go to the key you want, and choose "export" from the top menus. You can then import it to another server.

However this is not a very good idea, it's very difficult to know what exact keys and values you need to copy to the server, even if the service is the same.

And also, the keys might not be the only thing you are missing.

If you have the option, it's best to install the service again, even if that means to install another program again that cames with that service


hope this helps,
hugo tigre