Maui - Set script to Automatic (Delayed Start)

Dani_S 3,296 Reputation points
2023-12-06T10:50:20.4833333+00:00

Hi,

I used this script in maui.

I want this start up script to be Automatic (Delayed Start)

User's image

@ECHO OFF

echo Installer GS Automation Service

echo ---------------------------------------------------

sc.exe create "GS Automation Service" binpath="%~dp0\Service\AutomationClient.WorkerService.exe startup="delayed-auto"

pause

echo Done

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,904 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dani_S 3,296 Reputation points
    2023-12-06T14:58:33.4733333+00:00

    @ECHO OFF

    echo Installer GS Automation Service

    echo ---------------------------------------------------

    sc.exe create "GS Automation Service" binpath="%~dp0\Service\AutomationClient.WorkerService.exe" start= delayed-auto

    pause

    echo Done

    0 comments No comments