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

Article:TECH109618  |  Created: 2007-01-08  |  Updated: 2013-10-26  |  Article URL http://www.symantec.com/docs/TECH109618
Article Type
Technical Solution


Issue



You want to know how to move the Symantec Ghost Solution Suite 2.x Console to a different computer, or, retain Console settings during a reinstall.


Solution



The following instructions describe how to export the Symantec Ghost Solution Suite (GSS) database and then restore it to a different computer.

Warning: Symantec Support recommends that you back up the registry before using or making any changes to it. Incorrect changes to the registry could result in permanent data loss or corrupted files. Modify only the keys that are specified. Please refer to the document How to make a backup of the Windows registry before proceeding.

There are two ways to move the Console: With batch files or manually.

To use batch files, please see this document for the files and instructions: http://www.symantec.com/docs/TECH109727

To manually move the console:

    Export the Ghost credentials
    1. Log in as administrator on the Ghost Console computer.
    2. In Windows, click on the Start button.
    3. Click on Run.
    4. In the Run window, type CMD in the Open edit field.
    5. Click on the OK button. The Command Prompt window appears (a.k.a, DOS Shell).
    6. In the Command Prompt window, change directories to where Ghost is installed to. By default this is at "C:\Program Files\Symantec\Ghost". Type cd c:\program files\symantec\ghost to change directories to the Ghost installation folder. Note: If Ghost is installed to a different drive or folder, use this path here and in all other instructions, in place of the above default path.
    7. Press the Enter key.
    8. Type ngserver -export to export the Ghost credentials. 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.
    9. Press the Enter key.
    10. Type regedit to run the Registry Editor.
    11. Press the Enter key.
    12. In the Registry Editor window, using the left window pane, navigate to the following key:
    · 32-bit: HKEY_LOCAL_MACHINE\Software\Symantec\Symantec Ghost\NGServer
    · 64-bit = HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Symantec\Symantec Ghost\NGServer
    13. Click on the NGServer key in the left window pane.
    14. Click on the Registry menu.
    15. Click on Export Registry File.
    16. In the Export Registry File window, type a file name in the "File name" field.
    17. Click on the OK button. A .reg file is created.
    18. Close the Registry Editor window.
    19. In the Command Prompt window, type exit to exit the Command Prompt window.
    20. Press the Enter key.
    21. Copy the exported NGServer .reg file key to the new Ghost Console computer.

    Make a copy of the Ghost Server database
    1. At the Ghost Server computer, close the Ghost Console if it is running.
    2. In Windows, click on the Start button.
    3. Click on Run.
    4. In the Run window, type "c:\program files\symantec\ghost\ngserver.exe" -uninstall in the Open field.
    5. Click on the OK button.
    6. Right click on an empty area of the Windows Taskbar.
    7. Click on Task Manager.
    8. In the Windows Task Manager window, locate and click on the process called ngtray.
    9. Click on the End Process button.
    10. Close the Windows Task Manager window.
    11. Copy the following files to a safe location:
    · C:\Program Files\Symantec\Ghost\db\SymantecGhost.db
    · C:\Program Files\Symantec\Ghost\Pubkey.crt
    · C:\Program Files\Symantec\Ghost\Privkey.crt

    Install the Ghost credentials on the new computer
    1. Log in as administrator on the new computer.
    2. In Windows, click on the Start button.
    3. Click on Run.
    4. In the Open window, type "c:\program files\symantec\ghost\ngserver.exe" -uninstall in the Open field.
    5. Click on the OK button.
    6. Copy the exported NGServer .reg file to the new computer:
    · 32-bit = HKEY_LOCAL_MACHINE\Software\Symantec\Symantec Ghost\NGServer
    · 64-bit = HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Symantec\Symantec Ghost\NGServer
    7. Double-click on the .reg file to activate it.
    8. Click on Yes to merge the NGServer key into the registry.
    9. Right click on an empty area of the Windows Taskbar.
    10. Click on Task Manager.
    11. In the Windows Task Manager window, locate and click on the process called ngtray.
    12. Click on the End Process button.
    13. Close the Windows Task Manager window.
    14. Copy the following files that were saved from the previous machine to the new machine, overwriting the existing ones:
    · C:\Program Files\Symantec\Ghost\db\SymantecGhost.db
    · C:\Program Files\Symantec\Ghost\Pubkey.crt
    · C:\Program Files\Symantec\Ghost\Privkey.crt
    15. In Windows, click on the Start button.
    16. Click on Run.
    17. In the Run window, type "c:\program files\symantec\ghost\ngserver.exe" -install in the Open field.
    18. Click on the OK button.


Please note:

  • The exported NGServer .reg file contains the master key for the database. It should be erased from both computers or otherwise secured to avoid inadvertent disclosure.
  • Straight migration of exported NGServer key for 64-bit Windows registry to 32-bit Windows registry will not work. An extra step is required to manually delete the “Wow6432Node” part of the path inside the .reg file.
  • For best results with the import of the Ghost database to a new computer, maintain the full computer name of the original Ghost Console. Without taking this step, client connectivity issues will almost certainly persist.
  • If you are moving the console, you will want to disable the old console before putting the new one online.
  • If your clients don't automatically connect to the new console, you will need to rewrite their pubkey.crt file.
    This is the file that tells a client what console they are connected to.
    You can simply take a copy of C:\Program Files\Symantec\Ghost\pubkey.crt from the server and replace the files on the clients.
    Once that file is overwritten, you will need to reboot the client or restart the Symantec Ghost Client service.

 

References
'Uninstalling a Symantec Ghost™ Client or modifying it to work with a new Console' available at  http://www.symantec.com/docs/TECH107982
'Ghost console database backup and restore tools' at http://www.symantec.com/docs/TECH109727

Technical Information
More information is available in the document 'How to reinstall the Ghost Console or move it to a new computer' located at  http://www.symantec.com/docs/TECH110341



Legacy ID



2007100811210760


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


Terms of use for this information are found in Legal Notices