install_startup
Installs a scheduled task to automatically start the server at user logon, with options for administrator privileges and HTTP mode configuration.
Instructions
Install a scheduled task so this server starts automatically at user logon.
By default the task runs with Administrator privileges (RunLevel Highest) and launches the server in HTTP mode so it is always available after boot. Registering the task requires elevation - a UAC prompt appears if the server is not already elevated.
Args: params (InstallStartupInput): run_as_admin, http, host and port options.
Returns: str: JSON {"ok": bool, "output": "...", "task_name": "...", "run_as_admin": bool}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |