9 Replies Latest reply on Jan 6, 2010 1:07 AM by navind

    Send message to workstations

    Rookie

      Dear All,

       

      I would seeking forassistant to send a message via LANDesk to the workstation for restart machine. please take note that i have already patched the machines and only have notify user to restart mahcine . Please advice if anyone have script or other delivery method.

       

      Regards,

      Muru

        • 1. Re: Send message to workstations
          phoffmann SupportEmployee

          Muru,

           

          could you provide a bit more information here, what you're after?

           

          You can enable the UI option, and force a reboot ("always reboot") if needed, which will bring up a UI option.

           

          Alternatively, if you want to do something more fancy, you can wrap this whole thing into a batch-file (say), and run a separate window / program / "net send" at a push, to get a window to come up, which will state exactly what you want it to.

           

          Do the UI options we provide not give you the options for what you're trying to acheive already?

           

          - Paul Hoffmann

          LANDesk EMEA Technical Lead

          • 2. Re: Send message to workstations
            Rookie

            Hi Paul,

             

            Thanks for reply,

             

            I cannot do the force reboot while customer using thier machines since its against the policy, but keen to know more on the below method

             

            "Alternatively, if you want to do something more fancy, you can wrap this whole thing into a batch-file (say), and run a separate window / program / "net send" at a push, to get a window to come up, which will state exactly what you want it to."

             

            Can i have a sample script for above method?

             

            Regards,
            Muru

            • 3. Re: Send message to workstations
              Apprentice

              Hi Murugan,

               

              I guess the poweroff.exe doesn't support for custom messages. If this is the case I would prefer using the reboot option in the scan and repair settings itself.

               

              I find two ways to achieve this task. One is the traditional batch file which can be distributed through software distribution. Another way is through LANDesk's Manage script option. Save the ini file into the LANDeskCore's scripts folder (\\CoreServer\ldmain\Scripts) and then check the Manage Scripts - > All Scripts. You would find the Reboot script listed under All scripts. Right click -> Schedule

               

              I have attached ini and bat files herewith. You can customize further and use either any one of this.

               

              -Regis

              1 of 1 people found this helpful
              • 4. Re: Send message to workstations
                phoffmann SupportEmployee

                Regis - you're correct, POWEROFF.EXE doesn't support custom messages.

                 

                Murugan - in addition to the information Regis gave you, the best instructional material for "things you can do with batch files" is in this document - it's highly recommended reading for anyone who does something with software distribution:

                 

                Here's some interesting literature for you .

                 

                Understanding Batch File Distribution Packages
                - http://community.landesk.com/support/docs/DOC-2320

                 


                Working With Registry Keys in a Batch File:
                - http://community.landesk.com/support/docs/DOC-2417

                 

                What Additional Environment Variables Are Available in a Batch File Distribution Package?:
                - http://community.landesk.com/support/docs/DOC-4508

                 

                - Paul Hoffmann

                LANDesk EMEA Technical Lead

                • 5. Re: Send message to workstations
                  oku Apprentice

                  i find it alot easier by using autoit, if u install autoit they one sample of pop up message , just edit the sample message and compile it to exe and send it using LANDesk software distribution.

                  • 6. Re: Send message to workstations
                    Rookie

                    Dear All,

                     

                    The POP message was was successfully created and am enconther another problem which unable use the Scan and repair setting to reboot machines.The task shows succesful but the machines didn`t reboot. Do i need to add any settings?

                    But i use the batch file which can restart WINXP machines and its not workable in WIN2K.

                     

                    Regards,

                    Muru

                    • 7. Re: Send message to workstations
                      Rookie

                      I like the autoit idea mentioned above, you can also use the 'shutdown command from wiithin the autoit exe you send... I use a little more complicated method that supports other functions/commands we use from time to time, and I'd recommend using a text file for your message as a variable so you done need to recompile your source each time..

                       

                      notifyx.jpg

                      • 8. Re: Send message to workstations
                        Specialist

                        May not fit your needs exactly, but it works...

                         

                        http://community.landesk.com/support/docs/DOC-4461

                        • 9. Re: Send message to workstations
                          Rookie

                          Dear all,

                           

                          This method only help us to broadcast the message , but am looking for more advance like have the pop message from microsoft windows update. With this message we can let the user plan the restart thier machines. The script am using now only able popup the message to clients. Please advice if anyone has an script to do so.

                           

                          Regards,

                          Muru