Skip to content

Commit

Permalink
Fixes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
isaak654 committed Oct 18, 2023
1 parent 2744612 commit 792721c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
16 changes: 8 additions & 8 deletions Content/StartProgram.md
Original file line number Diff line number Diff line change
@@ -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).
14 changes: 8 additions & 6 deletions Content/StartService.md
Original file line number Diff line number Diff line change
@@ -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).

0 comments on commit 792721c

Please sign in to comment.