From 792721c4288ce3cc4d631436778ff3c9a661b854 Mon Sep 17 00:00:00 2001 From: isaak654 Date: Wed, 18 Oct 2023 22:26:55 +0200 Subject: [PATCH] Fixes and improvements --- Content/StartProgram.md | 16 ++++++++-------- Content/StartService.md | 14 ++++++++------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Content/StartProgram.md b/Content/StartProgram.md index 1b71a4d13..856c88d8b 100644 --- a/Content/StartProgram.md +++ b/Content/StartProgram.md @@ -1,19 +1,19 @@ # Start Program -_StartProgram_ is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). This feature provides an automatic start for the specified process. Any specified application will automatically run inside sandboxie. For example: +_StartProgram_ is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). It provides an automatic start for the specified program. For example: ``` . . . [DefaultBox] - StartProgram=chrome.exe - StartProgram=Ccleaner.exe - [MailBox] - StartProgram=FireZilla.exe - + StartProgram=%ProgramFiles%\Google\Chrome\Application\chrome.exe ``` -The example specifies that Chrome (chrome.exe) and Ccleaner (Ccleaner.exe) will be forced to run sandboxed in the sandbox _DefaultBox_. Fire (FireZilla.exe) will be forced to run sandboxed in the sandbox _MailBox_. +The example specifies that Google Chrome (chrome.exe) will be forced to run sandboxed in the sandbox _DefaultBox_. -Note that the _StartProgram_ launches the specified application in hidden mode, for services see [StartService](StartService.md). +**Technical Details** + +_StartProgram_ is processed by SandboxieRpcSs.exe, which runs just once in every sandbox. Like the [AutoExec](AutoExec.md) setting, it is processed when the first program begins to run in a sandbox. + +Note that _StartProgram_ launches the specified application in hidden mode. For services, see [StartService](StartService.md). diff --git a/Content/StartService.md b/Content/StartService.md index 32594aada..488467c28 100644 --- a/Content/StartService.md +++ b/Content/StartService.md @@ -1,17 +1,19 @@ # Start Service -_StartService_ is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). This feature provides an automatic start for the specified service. Any specified service will be started automatically. For example: +_StartService_ is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). It allows to run a service program in the sandbox. This setting expects a service name, which is defined outside the sandbox. For example: ``` . . . [DefaultBox] - StartService=Google Update.exe - StartService=Adaware.exe - + StartService=Adguard Service ``` -The example specifies that Google Update (Google Update.exe) and Adaware (Adaware.exe) will be forced to run sandboxed in the sandbox _DefaultBox_. +The example specifies that the service name _Adguard Service_ will be forced to run sandboxed in the sandbox _DefaultBox_. -Note that the _StartService_ works right after launching any application the specified sandbox, for general applications see [StartProgram](StartProgram.md). +**Technical Details** + +_StartService_ is processed by SandboxieRpcSs.exe, which runs just once in every sandbox. Like the [AutoExec](AutoExec.md) setting, it is processed when the first program begins to run in a sandbox. + +For applications, see [StartProgram](StartProgram.md).