Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

How to know if a ghost cast session is free ?

Updated: 21 May 2010 | 1 comment
DeWaRs's picture
+1 1 Vote
Login to vote

Hello,

I want to know if it's possible, before starting ghost, if the session call with -ja=session name is free. 

I explain : I have a batch menu who run different ghost image with the commande ghost.exe -ja= session name -sure
If the session already in use, ghost repport an error "unable to etablish contact with session "session nam" ", so I want to check in the batch, before running ghost if the session is free. 

Is it possible ? 

Thank you for your answers.

Best regards,

Manu

Comments

Eugene Manko's picture
03
Nov
2009
1 Vote +1
Login to vote

No it is not possible but in

No it is not possible but in your batch script you can just as well code by starting ghost.exe and then verifying returned code from exe. If this is the error "unable to contact session" then you know it is not free and you can act on it.