Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Start GhostCast via Psexec on WindowsPE

Updated: 12 Jul 2010 | 1 comment
arednor's picture
0 0 Votes
Login to vote

Hello,

is it possible to start the GhostCast Server on my Server via Psexec with Windows PE ?
I add psexec in my Configuration

My Start.bat:

START.BAT:
set path=%path%;x:\ghost

x:
cd \ghost
rem --- This will create primary OS drive configuration ---
ghost32.exe /setosdrives /blind >> x:\ghost\startlog.txt
start x:\psexec.exe -accepteula \\GHOSTSERVER -u Administrator -p PASSWORD C:\Programme\Symantec\Ghost\GhostSrv.exe c:\Images\TEST.gho Create_Image -d -c
start ghost32.exe -clone,src=1,dst=@MCCreate_Image -sure

So my idea is, that i don't do anything on the server, so the Creating-Process is working automatically.

But when I Start this, nothing happen on the Server. In the Task Manager is no GhostSrv.exe. When i boot a normal Windows XP an try "psexec.exe -accepteula \\GHOSTSERVER -u Administrator -p PASSWORD C:\Programme\Symantec\Ghost\GhostSrv.exe c:\Images\TEST.gho Create_Image -d -c" , a Process with GhostSrv.exe is in the TaskManager. When i reboot the Client and boot my Image (GhostSrv.exe is still startet with Psexec from the other WindowsXP Machine), he can't find the Session "Create_Image". I think the Psexec.exe didn't start the GhostCast correctly :(

Is my idea possible?

arendorr

Discussion Filed Under:

Comments

Krish Jayaratne's picture
12
Jan
2010
0 Votes 0
Login to vote

I havn't tried this but probably possible

I think it is worth trying starting it on the server with the same command line (without psexec) and try if client can find the server. This will eliminate possible issues irrelevant to remote execution.

Most likely reason for the WinPE psexec command to fail is not giving the user context. You can try adding the username context (i.e. -u GHOSTSERVER\administrator).

Krish