Removing Symantec Ghost™ 7.5 after Add/Remove Programs does not work

Article:TECH107994  |  Created: 2002-01-04  |  Updated: 2004-01-04  |  Article URL http://www.symantec.com/docs/TECH107994
Article Type
Technical Solution

Environment

Issue



You want to uninstall Symantec Ghost 7.5, but the usual uninstall routine from the Windows Add/Remove Programs applet in the Control Panel does not work. You already tried to reinstall and then uninstall Ghost, but the process did not finish. You want to know another way to remove Ghost from the computer.


Solution



The best way to remove Ghost from the computer is to use the Add/Remove Programs applet in the Windows Control Panel. When that does not work, Ghost has a variety of methods available for uninstalling Ghost. Try each method in the order listed.

Reinstalling Ghost
If you successfully installed any 6.x or 7.x version of Ghost and then added computer names, the location of image files, and so on to the Ghost Console. and you intend to reinstall Symantec Ghost, you might want to keep that configuration information instead of recreating it. To save Ghost configuration information, copy the following folders and files to a safe location before proceeding.
    • The folder C:\Program Files\Symantec\Ghost\db
    • The files Privkey.crt and Pubkey.crt, which are located in the folder C:\Program Files\Symantec\Ghost


Method 1: Automatic repair
Use the Repair option to repair the installation, and then uninstall Ghost from the Add/Remove Programs applet. The Repair option is available from two places:
  • The Ghost installation CD, after you click the installation option
  • The Add/Remove Programs applet after you choose Symantec Ghost, and then click Install or Change


Method 2: Manual repair
Manually repair the Ghost installation, and then uninstall Ghost from the Add/Remove Programs applet.

CAUTION: We strongly recommend that you back up the Windows registry before making any changes. Incorrect changes to the registry could result in permanent data loss or corrupted files. Please make sure you modify only the keys specified. Please see the document "How to Back Up the Windows 95/98/NT Registry" before proceeding.

To manually repair Ghost
  1. Verify that the registry key HKEY_LOCAL_MACHINE\Software\Symantec\Symantec Ghost has the appropriate value for the "default" entry. Note that if the Ghost version is earlier than Symantec Ghost 7.5, use the word "Enterprise" rather than "Corporate" in the following entries. The appropriate value depends on the installation type, as follows:
    • For a Ghost Console installation: Symantec Ghost Corporate Edition Server
    • For a Ghost Client installation: Symantec Ghost Corporate Edition Client
    • For a Ghost Standard Tools installation: Symantec Ghost Corporate Edition Server Tools
    • For a Ghost Standalone Client installation: Symantec Ghost Corporate Edition Standalone Client
  2. Verify that the data value for the following registry key is correct. The data value is the path to the Ghost folder, such as C:\Program Files\Symantec\Ghost. Note that the path must not have a trailing slash mark.

    HKEY_LOCAL_MACHINE\Software\Symantec\InstalledApps\GHOST
  3. Verify that the Ghost installation folder includes the following files. If the files are not on the computer, copy them from a different computer that has a Ghost installation.
    • For the Ghost Client and Standalone Client: ngctw32.exe
    • For the Ghost Console: ngserver.exe


Method 3: Manual uninstall prior to a reinstall
If the Ghost uninstall still does not complete, you can uninstall Ghost manually. To uninstall Ghost so that you can reinstall Ghost cleanly, use the following instructions:


CAUTION: We strongly recommend that you back up the Windows registry before making any changes. Incorrect changes to the registry could result in permanent data loss or corrupted files. Please make sure you modify only the keys specified. Please see the document "How to Back Up the Windows 95/98/NT Registry" before proceeding.

To manually uninstall Ghost
  1. Disable Adaptive Server Anywhere:
    Ghost installs a run-time version of the Adaptive Server Anywhere program. Disable this program before manually removing Ghost:
    1. Open the window for disabling Adaptive Server Anywhere:
      • For Windows 95/98/Me:
        1. Click Start, point to Settings, and click Control Panel.
        2. Double-click the ODBC Data Sources icon.
      • For Windows NT:
        1. Click Start, point to Settings, and click Control Panel.
        2. Double-click the ODBC Data Sources icon.
      • For Windows 2000 and XP:
        1. Click Start, point to Programs, and point to Administrative Tools.
        2. Click "Data Sources (ODBC)."
    2. Click the System DSN tab.
    3. Click the name Symantec Ghost. The driver displayed for Symantec Ghost should be Adaptive Server Anywhere 7.0. If Symantec Ghost is not listed, continue with step 2.
    4. Click Remove and follow the prompts.
  2. Stop the Ghost service:
    1. Close Ghost Console and all other open Ghost applications.
    2. Click Start, and then click Run. The Run dialog box appears.
    3. Type:

      C:\
      Program Files\Symantec\Ghost\ngserver.exe -stop

      and click OK. This uninstalls the Ghost Console Services. The drive letter and path might be different on your computer.
  3. Remove the user account that is for the Ghost service, NGserver, from the domain controller. By default, the user name is GHOST_xxxxxxxx, where xxxxxxxx is the first eight characters of the computer name.
    1. From the Start menu, point to Programs, then Administrative Tools (Common).
    2. Open the User manager and delete the account:
      • For Windows 2000/XP:
        1. Select "Active Directory Users and Computers."
        2. Under Users, select the service user account described previously and choose Delete.
      • For Windows NT:
        1. Select User Manager for Domains.
        2. Click NGSERVER.
        3. Click User from the menu and select Delete.
  4. Delete the folder Symantec Ghost from the Program Files folder.
  5. Delete the folder that holds Ghost's application data. This folder is hidden. If you do not see the folder, configure Windows Explorer to show all files and folders.
    • In Windows 95/98/Me, the folder is located at:
      C:\Windows\All Users\Application Data\Symantec\Ghost
    • In Windows NT, the folder is located at:
      C:\Winnt\Profiles\All Users\Application Data\Symantec\Ghost
    • In Windows 2000/XP, the folder is located at:
      C:\Documents and Settings\All Users\Application Data\Symantec\Ghost
  6. Delete the Ghost Start Menu icons:
    1. Open Windows Explorer.
    2. Navigate to the following folder:
      Note that the location of the folder might be different on your computer, depending on the operating system.
      • For Windows 98: C:\WINDOWS\Start Menu\Programs\Symantec Ghost
      • For Windows 2000/XP: C:\Documents and Settings\All Users\Start Menu\Programs\Symantec Ghost
    3. Verify that all entries in this folder are shortcuts.
    4. Delete the Symantec Ghost folder.
  7. Remove the registry entries that refer to GHOST:
    1. Click Start, and then click Run. The Run dialog box appears.
    2. Type REGEDIT and then click OK.
    3. Navigate to and delete the following keys:
      • HKEY_CLASSES_ROOT\Installer\Products\A66714CD3BAF36348038E6E763F30188
        Note that this "A667..." value might be in a different location in your registry. If you do not find this key at HKEY_CLASSES_ROOT\Installer\Products, search the registry for the string "A66714CD3BAF36348038E6E763F30188" and delete the key that has this string.
      • HKEY_CURRENT_USER\Software\Symantec\Symantec Ghost
      • KEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Ghost
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DC41766A-FAB3-4363-0883-6E7E363F1088}
    4. Delete the GHOST string in the key: HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\InstalledApps
  8. Remove Adaptive Server Anywhere references from the registry. Perform this step only if you were unable to disable the Adaptive Server Anywhere entries in step 2.


    CAUTION: Other programs besides Ghost might require the Adaptive Server Anywhere program. If you remove the Adaptive Server Anywhere references as described in the following steps, you may need to reinstall other programs that use the Adaptive Server Anywhere program.
    1. Click Start, and then click Run. The Run dialog box appears.
    2. Type regedit and then click OK. The Registry Editor opens.
    3. Delete any key related to Adaptive Server Anywhere that is under the following subkeys:
      HKEY_LOCAL_MACHINE/Software/ODBC/ODBCINST.INI
      HKEY_LOCAL_MACHINE/Software/ODBC/SYBASE
    4. Delete the Value for any Adaptive Server Anywhere key that is under the following subkey:
      HKEY_LOCAL_MACHINE/Software/ODBC/ODBCINST.INI/ODBC Drivers
    5. Delete the following key:
      KEY_LOCAL_MACHINE/SOFTWARE/ODBC/SYMANTEC GHOST.
    6. Click Registry and click Exit to save the changes and close the Registry Editor.
  9. Restart the computer.
  10. If you see a message instructing you to update the Windows ODBC drivers, install the latest ODBC (MDAC) drivers. For information, see ODBC errors while installing Ghost Server, running Ghost Enterprise Console, or running an ODBC application.


Method 4: Manual uninstall for complete removal
To completely remove Ghost from the computer, follow the instructions in the section "Method 3: Manual uninstall prior to a reinstall," and then remove additional registry entries as indicated in the following instructions.


CAUTION: We strongly recommend that you back up the Windows registry before making any changes to it. Incorrect changes to the registry can result in permanent data loss or corrupted files. Modify only the keys that are specified. See the document How to back up the Windows registry for instructions.
  1. Open the registry editor and start a search:
    1. Click Start, and then click Run. The Run dialog box appears.
    2. Type regedit and then click OK. The Registry Editor appears.
    3. Click Edit, and then click Find. The Find dialog box appears.
    4. Type GHOST in the Find What box, and then click Find Next. The registry searches for and displays the first registry entry that includes Ghost.
  2. Delete the Ghost entry:
    1. Verify that the selected item is related to Symantec Ghost, and then press the Delete key.

      CAUTION: Be sure to review what you are going delete before you delete it. For example, a search for the folder NU would find entries containing the word MENU, (because the search finds the letters "nu" that are in the word "menu"). Deleting MENU entries would cause various kinds of problems, for example, Windows would no longer function correctly.

    2. Press Enter when prompted to confirm the deletion. Note that Windows 2000 might not delete the entry. When running in Normal mode, Windows 2000 does not allow you to delete registry entries for processes that are currently running. If you installed Ghost to a Windows 2000 computer, and you now see a message indicating that you cannot delete the entry because the process is running, exit the registry editor, restart the computer into VGA mode, and then start with step 1.
    3. Press the F3 key to continue searching the registry.
  3. Repeat steps 2.a through 2.c until you see the message "Finished searching through the registry."
  4. Click the Registry menu option, and then click Exit.



References
Related information

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




Legacy ID



2002010415343825


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


Terms of use for this information are found in Legal Notices