Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT Services

Status
Not open for further replies.

jguillory

IS-IT--Management
Jun 7, 2001
60
US
Anyone know how to copy Services from on NT 4 server to another without having to manually add them. I am switching a server out with a new one. Thanks.
 
I do not think that you really want to do this. Just what specific service do you have in mind? Why do you think that you need or could copy services? Most services are useally installed automaticaly as part of some application install. -- Devil Dog --
 
I am changing an existing server with a new server and restoring from backup to the new server. So the new server is identical to the old server after exporting certain registry setting from the old to the new. The only thing different is the services. I would reinstall the programs but there are many programs most of which I would need help to install correctly (this server is accessed by over 200 users a day). Therefore, being identical, I should be able to install the identical services from the old server to the new. I was just hoping there was an easy way.
 
You say that you performed a restore from the original to the new. If that was a FULL backup than your servers should be identical and there should be no diff on services unless your backup was only partial. What services are different? -- Devil Dog --
 
when all files are in place, then you can export the keys you want to copy under HKLM\System\CurrentControlSet\Services

obviously, you can import the new services in the registry on the new server

I don't have to tell you that you should back up your registry before doing this :) I have not failed, I just found 10000 ways that don't work

Peter Van Eeckhoutte
peter.ve@pandora.be

Did this post help ? Click below to let me know ;-)
 
What is the difference in the hardware between the two servers?
 
There is too large a difference between hardware to use ghost or export the entire registry. I did use a full backup but the services did not show up for some reason. I have just exported the registry keys that peterve suggested. See if that works.
 
jguillory, could you still identify what services did not show up after the restore? I am very curious. -- Devil Dog --
 
I can look at the old server and figure out which services did not come over. For instance, Network Associates, etc.
 
Ghost can and will work as long as you use a bit of lateral thinking as follows:
1. Video - in all likelyhood you have two different video controllers and this will cause an issue on the new machine. To resolve this, set the original machine to standard VGA before creating the image. You can then install the correct drivers on the taget machine once you have it up.
2. HDD Controllers - this is another major issue as well. Say your first machine is a Compaq and the second an IBM. The image won't work on the target because the target has an IBM controller, not a Compaq. To resolve this issue, install the HDD controller on the original machine before creating the image. When NT boots, it tries to load all of the installed HDD drivers, but only loads the ones for which a controller is installed. What will happen is that if you boot the image on the Compaq, the Compaq driver will load and NT will 'see' the partition. When you have imaged the second machine, on booting, NT will load the IBM driver and still 'see' the partition.
3. Services - you may have some services which will conflict because the new machine has different hardware. To resolve this issue, go into services on the original machine and set any services which aren't essential to booting NT to be disabled. Do this before you create the image. In this way, all services will be present on the target machine. Once you have the target up, you can remove any services you don't want and enable any you need as required.
4. BOOT.INI - The BOOT.INI that you take across may be incorrect on the target. Before you make the image, add a line that will 'see' the partition on the target. This way you can select that start option on the target machine.

In the past I have moved NCR to Compaq, Compaq to IBM and IBM to IBM - all with quite diverse hardware. It works. If you don't have ghost, you can perform the 'transplant' with the following proceedure:

1. On the original machine, perform all of the above steps.
2. On the original machine, install a second, 'vanilla' copy of NT in a directory called WINNT.TMP
3. On the target machine, install one copy of NT to WINNT
4. On the target machine, install one copy of NT to WINNT.TMP

Now both machines have a primary copy of NT and a Temp copy.

5. Boot the Temp copy on both machines.
6. From the original machine, copy everything (excluding the WINNT.TMP directory), to the target machine.
7. On the target, boot the primary copy of NT
8. Delete the WINNT.TMP

Now all you need to do is:

1. Install and configure video
2. Remove the 'old' HDD controller driver
3. Fix up the services - remove any unwanted and enable any wanted.
4. Remove/Install any network drivers and configure networking.

You have successfully performed an NT 'mind' transplant.

Let me know if you have any questions...

Phil
 
jguillory - I think that if you are missing whole services (registry) then you are missing a heck-of-a-lot more than that. Unless your registry is the only thing that is incomplete. What makes you think that the installation of Network Associates is complete? Can you at least execute the application? I think that you will encounter serious problems down the road. Your backup was incomplete and cannot be fixed by simply copying registry entries. The apps will have to be reinstalled. GOOD LUCK -- Devil Dog --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top