You want to know how to create an image that contains all data, including temporary files, deleted data, etc
By using the -IR switch, Ghost will create an sector copy of the drive. This includes everything (free space, deleted files, temporary folders and files, etc)
https://knowledge.broadcom.com/external/article/152308/alphabetical-list-of-ghost-switches.html