Ghost Solution Suite

 View Only
  • 1.  Error auto-connecting to Ghostcast - GhostCode 19914

    Posted Nov 10, 2009 08:59 PM
    I'm using WDS to push out a Win7 PE boot image containing the Ghost Tools that came with GSS 2.5

    This works great, and I have no issue there.

    However, this morning I tried editing the startnet.cmd entry for Ghost32.exe

    I want all clients to automatically connect to a Ghostcast session called "a"

    I used the following syntax:

    ghost32.exe -ja=a -sure -rb

    However, I get "Unable to start Ghostcasting with ghostcode 19914" as soon as startnet.cmd fires up ghost32 using this syntax.

    However, If I then manually run exactly the same command using the same syntax, it connects?

    The only thing I can think if is that something still hasn't finished initialising in the background when Win7 PE runs the ghost32 line in startnet.cmd?

    Can someone please help?




  • 2.  RE: Error auto-connecting to Ghostcast - GhostCode 19914

    Posted Nov 10, 2009 10:58 PM
     It's almost certainly the case that the cause is that the OS hasn't finished loading all the necessary services; the exact order in which things become available tends to subtly change in each edition of Windows, particularly as Microsoft reorganize things to make the perceived boot times faster by letting more and more services come up after the parts of the OS needed to service interactive use.

    So, in Vista PE it could take quite a long time before all the network interfaces became available because the OS would still be detecting and installing network drivers at the time startnet.cmd was running, and in the case of 19914 it means that almost none of the fundamental machinery for TCP/IP networking is available in the OS when Ghost is starting.

    It may help to ensure that you are using "WPEUTIL InitializeNetwork" to ensure that all the necessary services have started.




  • 3.  RE: Error auto-connecting to Ghostcast - GhostCode 19914

    Posted Nov 11, 2009 12:36 AM
    Great, thanks for that.

    Is "WPEUTIL InitializeNetwork" a command I can just add to startnet.cmd, prior to calling ghost32.exe?

    Cheers


  • 4.  RE: Error auto-connecting to Ghostcast - GhostCode 19914

    Posted Nov 11, 2009 01:43 AM
    I agree with Nigel on the diagnosis of the issue, but I usually resolve this by adding ipconfig/renew just before the calling Ghost32.exe and the switches. It's a simple command, it adds a little time to the process to deal with network latency and tries to pull a new DHCP address. I'm sure the WPEUTIL InitializeNetwork would work just fine, though.