IT Management Suite

  • 1.  wait for winpe environment before proceeding

    Posted Jul 16, 2012 11:48 AM

    Is there a way to set in your job to wait for the PE environment?  Say I put in my job reboot to PXE can I then put something in the job to wait and check for this specific environment before proceeding with the next task?



  • 2.  RE: wait for winpe environment before proceeding

    Posted Jul 17, 2012 08:51 AM

    If you have a look to this article there are several jobs and tasks samples:

    https://www-secure.symantec.com/connect/downloads/deployment-solution-samples-v71-sp1-smpcms-71-x64

    One of this job check if the computer is in PE Environment, if not it launch a reboot to environment task.

    Stéphane Bachelet

    Azerys



  • 3.  RE: wait for winpe environment before proceeding

    Posted Jul 17, 2012 12:04 PM

    I have installed these samples and I don't see the job that does this.  Do you know the exact name of the job you are referring to?



  • 4.  RE: wait for winpe environment before proceeding

    Posted Jul 25, 2012 04:01 AM

    As per my understanding, you want to run particular task only in preboot environment, but before running it you want to make sure, if you are into the preboot environment or not ? correct ?

    There is a very simple way of achieving it with Notification Server

    Let's say you have created a Job with two tasks in it.

    1 Boot to PXE

    2 Create Image

    To make sure if create image is running in preboot only, you need to click on check box which says Fail job if any task fails ( you find this in new client job )

    Now NS will take care of your concern.

    Just for your information, with 7.5, Boot To PXE/Automation/Production will succeed only after booting into that particular environment unlike in previous releases. There is one more addition with this release, your server will not boot to PXE if it is already in PXE after running BOOT TO PXE task.

    I hope this will help you.



  • 5.  RE: wait for winpe environment before proceeding

    Posted Jul 25, 2012 05:29 PM

    ok but 7.5 is not a possibility right now.  Word is won't be available till September the earliest.



  • 6.  RE: wait for winpe environment before proceeding
    Best Answer

    Posted Jul 27, 2012 08:23 AM

    One more way out for you...

    On notification server you'll find a task named Run Script

    I . Create a Rub script task with following script ( use command script option )

    @ECHO OFF
    set regpath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    set regvalue=ProductName
    set regdata=Preinstallation
    reg query "%regpath%" /v "%regvalue%" | find /i "%regdata%"
     

    II. Create a job with three tasks

      1 BOOT TO AUTOMATION./PXE

      2 RUN SCRIPT

      3 Task which you want to run in automaton/pxe

    Make sure that check box which says is checked

    Run script task will succeed only when it is in automation/pxe and will fail in production

    All the best.

     



  • 7.  RE: wait for winpe environment before proceeding

    Posted Jul 27, 2012 10:03 AM

    shailesh_mali@symantec.com

     

    Thanks for this info as from what I see from the code this should work prefectly.

    I noticed you edited the post you may want to edit this part of the post:

    I . Create a Run



  • 8.  RE: wait for winpe environment before proceeding

    Posted Jul 27, 2012 11:56 PM

    Yup,

    Let us know if it works....