Force Folder

ForceFolder is a sandbox setting in Sandboxie.ini which allows to force folder contents to run inside a specific sandbox. If any files or programs in these folders* (or in a sub-folder of one of these folders) are started outside any sandbox, they will be automatically sandboxed into a particular sandbox. For example:

   .
   .
   .
   [DefaultBox]
   ForceFolder=C:\Download
   ForceFolder=E:\

The first example specifies that files/programs started from the C:\Download folder (or any folders below contained in those folders) will be forced to run sandboxed in the sandbox DefaultBox.

The second example specifies that any files/programs started from drive E will be forced to run sandboxed in the sandbox DefaultBox. For CDROM and DVD drives, this includes forcing the AutoRun programs that are automatically started by Windows.

Another consideration is that Modern / Store Apps are not supported. If your default application for opening a specific file type is a Windows Modern app (such as the Photos app in Windows 10), the application will not launch at all. For more information, please see the Known Conflicts page.

See also: ForceProcess. If both a ForceFolder and a ForceProcess are applicable to a program that is starting, the ForceFolder setting takes precedence.

Related Sandboxie Control setting: Sandbox Settings > Program Start > Forced Folders