IT Management Suite

 View Only
  • 1.  Wake on LAN and Shutdown with custom Message in Altiris 7.5

    Posted Jul 07, 2014 05:59 AM

    I have made a task for both Shutdown and WOL, I want to display a custom message in which a user will be displayed with a message and with a cancel button in it. If user cancels the shutdown the PC should not shutdown.

    same way for WOL, Once the PC starts It should show some Welcome Message. Kindly help me regarding this.

    Thanks.



  • 2.  RE: Wake on LAN and Shutdown with custom Message in Altiris 7.5

    Broadcom Employee
    Posted Jul 08, 2014 03:57 AM

    Hi!

    1. For shutdown, you can create a Client job, including there a "Power Control" task and set ability to "Defer a task" with message. (But I don't remember that it is possible to cancel this receive client job... Need to check on SMP Console, what it offers.)

    • Or include in this Client job this script task:

    1. Open Symantec Management Console
    2. Select "Manage -> Jobs and Tasks"
    3. Select "Run Script"
    4. Under Script Type, select "Command Script"
    5. Write the script: 

    shutdown -r -t XXX(seconds) -c "Machine will restart in XX minutes, Please save all your documents."

    Took from http://www.symantec.com/docs/TECH169482

    2. For WOL and Welcome message, you can try to use Client job, where first task is WOL and second will be a script task, which will execute .vbs script to show a welcome message box.

    ClientJob.jpg

    Thanks,

    IP.



  • 3.  RE: Wake on LAN and Shutdown with custom Message in Altiris 7.5

    Broadcom Employee
    Posted Jul 22, 2014 04:01 PM


  • 4.  RE: Wake on LAN and Shutdown with custom Message in Altiris 7.5

    Posted Aug 05, 2014 01:08 PM

    You can do exactly what you want with a client job including two tasks and a condition. Make a Run Script task that runs as current logged on user and make it a vbscript. Display a messagebox with yes/no buttons and check the return value. If no was pressed, quit the script with zero return code, otherwise quit with a non-zero return code. Make a condition on this task that checks for return value does not equal zero. Add a power control task to reboot under this condition.

    The effect of this will be if the user presses yes, or the vbscript task fails (no user logged in for instance), the targeted computer will reboot.