Ghost Solution Suite

 View Only
Expand all | Collapse all

Symantec Ghost Solution Suite - PXE, WinPE, startnet.cmd, echo off

  • 1.  Symantec Ghost Solution Suite - PXE, WinPE, startnet.cmd, echo off

    Posted Jul 18, 2011 08:57 AM

    Hello all,

    I am currently setting up my Symantec Ghost Solution Suite GhostCast server. Everything is working smoothly at the moment. However, when I boot into PXE, there is a program startnet.cmd that runs and displays "echo off". Basically, I boot into PXE, a command prompt window opens and says:

    X:\Windows\system32> echo off

    From my researching of this issue, this has to do with my WinPE environment. Here is a excerpt from one resource material that I found:

    You can add customized command-line scripts in Windows PE by using Startnet.cmd By default, Windows PE includes a startnet.cmd script located at %systemroot%\System32 of your customized Windows PE image. Startnet.cmd currently starts Wpeinit.exe

    However, I cannot find this startnet.cmd file in my C:\Windows\system32\ folder and I cannot access drive X:\

    I simply want to edit startnet.cmd to get rid of the "echo off" or maybe to even change it to "Loading Wpeinit.exe" or something to that effect.

    I do not think that I have to create a "new" startnet.cmd because there obviously is one already created, if the script runs when I boot into PXE.

    Do I have to "mount" my WinPE image to do this? If so, please try to explain what "mounting" my WinPE image really means. I understand that I have to use ImageX due to this excerpt from another resource material that I found:

    9. Open "c:\winpe_x86\mount\Windows\System32\startnet.cmd".

    NOTE: The boot.wim is mounted on ram disk as x: drive when WinPE boots. At that time, the startnet.cmd is in "X:\Windows\system32\" folder.

    PLEASE, ANY HELP WOULD BE APPRECIATED. I am not understanding the purpose of "mounting" the WinPE image and/or where I am screwing up.

    Thanks,

    AndyzSym

    PS: Here are my resource links:

    http://technet.microsoft.com/en-us/library/cc76652...

    http://www.symantec.com/business/support/index?pag...



  • 2.  RE: Symantec Ghost Solution Suite - PXE, WinPE, startnet.cmd, echo off

    Posted Jul 18, 2011 12:14 PM

    Hi, You could definitely do it if you are patient enough to try this



  • 3.  RE: Symantec Ghost Solution Suite - PXE, WinPE, startnet.cmd, echo off

    Posted Jul 18, 2011 08:34 PM

    Adventures with WinPE Symantec Connect

    This article discusses setting up various boot media with WinPE which is sourced as a Microsoft download, but is the same version as it used in GSS 2.5.1.2266

    It should give you some input on how to mount edit and dismount the WIM file so that your changes are committed. Remember that you must edit the file in the system32 folder under the mount point with the WIM opened in write mode, and then make sure that the changes are committed..

    Personally, I point the startnet.cmd file at another batch file in the root of my USB flash drive or hard disk boot device, so that it is called when WinPE boots and startnet.cmd runs. That way you can change what your batch file does just by editing it, without having to mount or edit the WIM in any way, as the file remains external to the WIM.