How to move the Symantec Ghost Solution Suite 1.x Console to a different computer or retain Console settings during a reinstall

Article:TECH107776  |  Created: 2001-01-08  |  Updated: 2007-01-08  |  Article URL http://www.symantec.com/docs/TECH107776
Article Type
Technical Solution

Product(s)

Environment

Issue



The Ghost Server (sometimes referred to as the Ghost Console) is installed on one computer. You need to do one or more of the following:
- Move the Ghost Server to a different computer without losing Ghost configuration information and without having to reconfigure the client computers.
- Reinstall the Ghost Server onto the same computer without losing the Ghost Console settings.



Solution



This process varies depending on which version of Symantec Ghost you are using. Please follow the instructions in the section specific to your version.


For Symantec Ghost Solution Suite 1.1 and Symantec Ghost 8.3 or later

Ghost includes a utility tool which greatly simplifies the process of moving the Ghost Console.

Note: WARNING: Symantec technical support strongly recommends that you back up the registry before you make any changes. Incorrect changes to the registry could result in permanent data loss or corrupted files. Modify only the keys that are specified. See the document How to make a backup of the Windows registry before proceeding.

To export the Ghost credentials
  1. Log in as administrator on the current Ghost Console computer.
  2. Go to Start > Run and enter cmd then press Enter to open a command prompt.
  3. Change the current working directory to the location of where Ghost is installed, Example :
    .
    cd c:\program files\symantec\ghost\
  4. Type ngserver -export and press Enter
  5. Type exit and press Enter to exit the command prompt.
  6. Run the command "regedit" to launch the Windows Registry Editor.
  7. Navigate to the following key :

    HKEY_LOCAL_MACHINE\Software\Symantec\Symantec Ghost\NGServer
  8. Right-click the 'NGServer' key in the left pane and choose Export
  9. Make sure that 'Selected Branch' is selected in the 'Export Range' field, choose a filename, and click OK
  10. Transfer the exported NGServer key to the new computer.


Note: Running the ngserver command with the -export command creates the NGserver registry key and populates it with the internal credentials used by the Ghost console and configuration server. The key will be erased the next time the configuration server is run.

To make a copy of the Ghost Server Database
  1. At the current Ghost Server computer, close the Ghost Console.
  2. On the Windows taskbar, click Start > Run.
    3. In the Open box, type the following:

    c:\program files\symantec\ghost\ngserver.exe -stop

    The drive letter and path might be different on your computer.
  3. Click OK.
    The Ghost Console service is stopped.
  4. Copy the following files to a safe location (they contain Ghost configuration information):

    SymantecGhost.db (c:\program files\symantec\ghost\db)
    Pubkey.crt (c:\program files\symantec\ghost)
    Privkey.crt (c:\program files\symantec\ghost)


To install the Ghost credentials on the new computer
  1. Log in as administrator on the new computer.
  2. On the Windows taskbar, click Start > Run.
  3. In the Open box, type the following:

    c:\program files\symantec\ghost\ngserver.exe -stop

    The drive letter and path might be different on your computer.
  4. Click OK.
    The Ghost Console service is stopped.
  5. Load the SymantedGhost.db file from the source machine over the freshly installed file by Copying and replacing it over the existing database file. The existing database file is located by default at :
    c:\program files\symantec\ghost\db
  6. Copy the exported NGServer .REG file to the new computer, and double-click it.
  7. Click Yes to merge the NGServer key into the registry.
  8. Restart the Configuration server service.


This will copy the saved credential information out of the registry key, and then delete it.

Note: The exported NGServer .REG file contains the master key for the database, so it should be erased from both computers or otherwise secured to avoid inadvertant disclosure.


For Symantec Ghost Solution Suite 1.0 and Symantec Ghost 8.2 or earlier

To stop the Ghost Console service
  1. At the current Ghost Server computer, close the Ghost Console.
  2. On the Windows taskbar, click Start > Run.
  3. In the Open box, type the following text:

    c:\program files\symantec\ghost\ngserver.exe -stop

    The drive letter and path might be different on your computer.
  4. Click OK.
    The Ghost Console service is stopped.
  5. Copy the following files to a safe location (they contain Ghost configuration information):
    • SymantecGhost.db
    • Pubkey.crt
    • Privkey.crt


Note: The Pubkey.crt and Privkey.crt files are collected here as a precaution against potential issues with clients refusing to rejoin the console. They will not be required in most cases.

To reinstall Ghost
  1. Uninstall Ghost.
  2. Install Ghost.
  3. On the Windows taskbar, click Start > Run.
  4. In the Open box, type the following text:

    c:\program files\symantec\ghost\ngserver.exe -stop

    The drive letter and path might be different on your computer.
  5. Click OK.
    The Ghost Enterprise Console services are stopped.
  6. Replace the following files with the files that you previously copied to a safe location:
    • SymantecGhost.db
    • Pubkey.crt
    • Privkey.crt
  7. Restart the computer.

To move the Ghost Console
  1. Install Ghost onto the new Ghost Server computer.
  2. On the Windows taskbar, click Start > Run.
  3. In the Open box, type the following text:

    c:\program files\symantec\ghost\ngserver.exe -stop

    The drive letter and path might be different on your computer.
  4. Click OK.
    The Ghost Enterprise Console services are stopped.
  5. Replace the following files with the files that you previously copied to a safe location:
    • SymantecGhost.db
    • Pubkey.crt
    • Privkey.crt
  6. Restart the computer.
  7. Uninstall Ghost from the original Ghost server computer.

To copy Ghost configuration files.
In addtion to migrating the certificates, all files located in the directory \Documents and Settings\All Users\Application Data\Symantec\Ghost should be moved to an identical folder structure/ location on the new system. Otherwise, tasks that involves MoveTheUser packages, Sysprep configruations, Incremental Backup regimes, and user added/modified network interface card templates will fail and/or report an error stating specific resources are not available.

When the client computers cannot connect to the new server
If the client computers cannot find the new server, fix the problem by deleting both copies of PubKey.crt on the client computers.
For instructions, read How to Replace the PubKey.crt file.

If only one Ghost Console runs on the network, the Ghost Client computers will automatically bind to that Ghost Console, as follows:
  • The next time that you start the client computers into Windows, the Ghost Client recognizes the new Ghost Server computer and binds to it. A new PubKey.crt file is created on the Windows partition.
  • The next time you run a task on those client computers from the Ghost Console, Ghost.exe recognizes the new Ghost Server computer and binds to it. A new PubKey.crt file is created on the Windows partition.



References
How to uninstall the Ghost Client or change it to work with a new Console






Legacy ID



2001050812540225


Article URL http://www.symantec.com/docs/TECH107776


Terms of use for this information are found in Legal Notices