I'm working on a process to upgrade our remaining xp package servers to windows 7. Since our package servers also server as our pxe servers at the remote locations, I'm trying to get the process working with the embedded partition and using ghost to restore the image and preserve the package server directory. I've found some examples of commands to restore but I'm receiving error 10010 - cannot open image file. I'm running the command from winpe calling the ghost command. If I open ghost32 and go through the interactive session then I can restore the image without problem, so it leads me to believe there is something wrong my syntax.
I took out the preserve switches to simplify things and still got the error using this
ghost32 -sure -batch -clone,mode=prestore,dst=1:1,src=1:1\image.gho:1
Ultimately I'd like to do
ghost32 -sure -batch -clone,mode=prestore,dst=1:1,src=1:1\image.gho:1 -preserve="1:1\program files\altiris\altiris agent\package delivery" -preservedest=1
Any tips or pointers?
DS 6.9 Sp6
Winpe 4.0 x86