Error 20077: "Please register Ghost before attempting this operation"

Article:TECH108721  |  Created: 2004-01-08  |  Updated: 2010-01-18  |  Article URL
Article Type
Technical Solution



When using Ghost, you see "Error 20077: Please register Ghost before attempting this operation."


To solve this problem, make sure that all copies of Ghost.exe are registered, and that all versions are identical.

To redeploy the Ghost.exe to a client
If you see this error message when running a task using the Ghost Console, delete the Ghost.exe file from each client where the problem occurs, then re-run the task. The Console will send the current copy of Ghost.exe to the clients. If this does not resolve the error, delete the virtpart.dat file on the workstation at the root of c:\ (this is a hidden protected operating system file). Assign the clone task again. This will create a new virtual partition.

If the problem still occurs, continue with the rest of the document to replace the copy of Ghost.exe on the Console with a registered copy.

One solution is to do a re-install of the Ghost Solution Suite Console and Standard Tools:
  1. Backup the database, by going to C:\Program Files\Symantec\Ghost\scripts and running backupdb.wsf. (This creates a backup file and folder in My Documents)
  2. Uninstall Ghost Solution Suite in Add/Remove programs. Delete the folder C:\Documents and Settings\Symantec\Ghost.
  3. Re-install Ghost Solution Suite 2.5 Console and Standard Tools from the installation file or CD.
  4. Run the shortcut Restore Latest Backup at in \My Documents\GSSBackup.
  5. Open and attempt the task from the console, or create a new boot disk.

To manually register Ghost.exe
  1. Copy both Ghost.exe and Ghost.env from the C:\Program Files\Symantec\Ghost folder to a floppy disk.
  2. Boot the computer to DOS.
  3. At the DOS prompt, type:


    and then press Enter.
  4. Press Ctrl+C to exit Ghost.

To copy the registered version of Ghost to the Console
  1. Boot the computer into Windows.
  2. Close the Ghost Console, if it is open.
  3. Click Start > Run.
  4. Type:

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

    including the quotes ("), and then click OK.
    The drive letter and path might be different on your computer.
  5. In Windows Explorer, go to the C:\Program Files\Symantec\Ghost folder.
  6. Find and delete Ghost.env and Ghost.exe.
  7. Copy the Ghost.env and Ghost.exe from the floppy you created earlier to the C:\Program Files\Symantec\Ghost folder.
  8. Restart the Console or reboot the computer.

You should now be able to create boot disks using the Ghost Boot Wizard and run Console tasks without seeing the error message.

Technical Information
If problem persists after following that above suggestion,

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices