How to Manage Windows Services in Remote Execution

    Start, stop, or restart services on Windows computers using Remote Execution.

    Note: Available on Windows only.
    Important: To use this feature, the user must be authenticated with zero trust authentication, which serves the security of the session.

    Authentication is required only once when you run a Remote Execution step.

    1. On the Remote Execution page, select Create new job.

      Result: The Create job page is displayed.

    2. Choose the platform where you want to run automation steps.
    3. Add the Service start, Service stop, or Service restart step to the list on the left.
    4. Type the name of the Windows service that you want to start, stop, or restart for example Appinfo.

      To find the name of a service, open Task Manager on the remote computer and go to the Services tab.

      Note: When multiple instances of a service are running on a computer and you stop that service, all those instances will be stopped.

    5. Click Next.
    6. From the list of Computers define the computers or a group of computers that will receive the script.

      You can organize your devices by selecting a grouping option from the top of the list.

    7. Name the job in a way that is easy to remember later on.
    8. Click Next.
    9. Click Run.

      Note: A preset timeout pertains to both the job and the .

      A timeout for every is set to two hours, meaning that GoTo Resolve waits two hours for the script to finish on the remote computer. When the script finishes, GoTo Resolve starts the next step and waits another two hours for that step to finish. If a step does not finish on a remote computer in two hours, then it times out and the whole job fails.

    Article last updated: 21 July, 2022