Announcement

Collapse
No announcement yet.

Reboot Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reboot Script

    Hi

    Hope you can help.

    Do you have or could write a reboot script that warns a user that the machine will reboot in a time that can be customized, also with a message that can be customized.
    but forces a reboot after the time stated?

    Thank You.

  • #2
    Hobs ,

    Please see the following procedures:

    https://scripts.itarian.com/frontend...ed-message-box

    https://scripts.itarian.com/frontend...up-message-box

    https://scripts.itarian.com/frontend...ocedure-to-run

    lastly, you can utilize the reboot radio button on the EM Portal. This allows you as well to control the time before the machine restarts and a custom message and user interaction to cancel reboot if need be.


    Comment


    • #3
      Thank's for your help Jimmy I will have a look at these in the morning.

      Comment


      • #4
        Hobs ,

        You are welcome

        Comment


        • #5
          Originally posted by Jimmy View Post
          Hobs ,

          Please see the following procedures:

          https://scripts.itarian.com/frontend...ed-message-box

          https://scripts.itarian.com/frontend...up-message-box

          https://scripts.itarian.com/frontend...ocedure-to-run

          lastly, you can utilize the reboot radio button on the EM Portal. This allows you as well to control the time before the machine restarts and a custom message and user interaction to cancel reboot if need be.

          Jimmy The problem with the message scripts is that are they are required to run in the user context so the user sees the message. However, some procedures to which we would want to add a user notification/postpone choice have to be run as the system user.

          So, can we either have a script that will run a system procedure but pop up messages to the user, or can we have Restart Control options tab added to procedures like the one we have for the patch procedures?

          Comment


          • #6
            amcssit ,

            We can only run the procedures as System User or Logged in User and not as both simultaneously. To display the pop-up message the procedure has to be executed only as Logged-in User. The Restart Control for other scripting operations seems to be a good addition. We will get our Developers insights and provide you their output.
            Last edited by Jimmy; 11-25-2019, 03:12 PM.

            Comment

            Working...
            X