https://man.liquidfiles.com
LiquidFiles Documentation

Normally, Outlook Plugin and Windows Agent store settings in %AppData%\LiquidFiles\Liquid.xml

Some policy settings can be overridden and distributed to end users through Windows Registry.

You can set up connectivity and behavioral policies through registry. Outlook Plugin, Windows Agent and Command-Line Utility will comply with these settings as they share the same core functionality.

In all cases, a value would be checked under HKEY_CURRENT_USER branch first. If a value is missing or set as empty string, value will be checked under HKEY_LOCAL_MACHINE branch. Please note that under 64bit OS, 32bit applications (like 32-bit Office) will check values located under HKEY_LOCAL_MACHINE\Software\Wow6432Node branch, and therefore you will have to set policies in both branches for 64bit and 32bit applications in this case.

Please also see how to configure the same policies at LiqiudFiles server using LiquidFiles Groups.

Requirements

  • Works with all versions of Outlook Plugin and client applications unless specified version when introduced.

Configuration

Predefine URL to the server Requires version 2.0.10

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"BaseUrl"="https://yourserver"

Remove restriction on maximum attachment size for Outlook Requires version 2.0.10

Outlook Plugin has functionality to intercept "add attachment" event in Outlook and use SecureAttachment function instead, if size of attachment exceeds certain threshold. However, Outlook has its own policy on maximum attachment size, and if that policy exists, it will be executed before LiquidFiles has opportunity to intervene. Therefore, you may need to change that policy.

For Outlook'2010, use this regedit snippet to effectively set MaximumAttachmentSize to maximum value possible (for other Outlook versions, you need to change version component in registry key path)

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences]
"MaximumAttachmentSize"=dword:7fffffff

Replace or Place Back Microsoft Outlook's Attach File dialog (Outlook 2007+) Requires version 2.0.10

Starting with Outlook 2007, when using Ribbon command to attach files, Outlook will prevent attaching large files before we have chance to intervene. Therefore it is necessary to replace Outlook's Attach File(s) dialog to make that feature work. However, some functionality native to Outlook's Attach window will be lost when replacing the dialog (Tools menu, access to Outlook's Templates folder), so, if it is necessary to maintain that functionality, you may need to apply registry tweak.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"OverrideAttachFileDialog"=dword:00000002

Permitted Values:

  • dword:00000000 - do not override
  • dword:00000001 - use MS Word's dialog instead (a bit slower to show, same functionality as Outlook)
  • dword:00000002 - use custom dialog instead (no tools menu, no shortcut to Templates folder)

Set limit to trigger automatic upload via FileTransfer rather than conventional Outlook attachment once limit has been exceeded Requires version 2.0.10

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"AutoUploadInKb"="1024"

Please note that the value is in Kb, so 1024 = 1Mb

As of 2.0.10, values below 500Kb are ignored and default limit used instead.

Upload files in chunks Requires version 2.0.10

If chunked upload is used, file will be split into logical chunks, uploaded as series of files of the specified sized and merged at the server.

Example: set chunk to 100MB = 102400 KB

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"UploadChunksKB"="102400"

Allow plugin more time to connect to Windows Agent or disable connecting to Windows Agent at all Requires version 2.0.54

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"ConnectWindowsAgentTimeout"="10"

This is default setting, specifying that Outlook Plugin has 10 seconds to establish connection to Windows Agent. We use WCF communication over named pipes. If Windows Agent already runs in memory, connection will be established in less than a second (providing that WCF communication is not blocked). If it's not, Outlook Plugin will use ShellEx command to start Windows Agent and will try to connect.

Setting this parameter to zero will force Outlook Plugin not to connect to Windows Agent.

Inject files at start of message Requires version 2.0.54

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"InjectPosition"=1 (REG_DWORD)

As of 2.0.54, to allow user change position still, add:

"InjectPositionEnforced"=0 (REG_DWORD)

NOTE: any changes set by user will be reset after restart or re-authentication. To allow user select permanent setting, do NOT set "InjectPosition" value, set "InjectPositionDefault" value (see below).

As of 2.0.56, you can change default value to "Inject files at start of message", while still allowing user to change position. To do that, add:

"InjectPositionDefault"=1 (REG_DWORD)

NOTE: it will not have effect on workstations where the plugin is already installed. It will only take effect on new workstations. To test, remove file "liquid.xml" under %APPDATA%\LiquidFiles folder (that will reset all settings and authentication).

Upload any attachments automatically Requires version 2.0.44

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"AutoUploadAnySize"="1" (REG_DWORD)

Always use same folder when browsing for file or folder Requires version 2.0.44

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"DefaultBrowseFilesFolder"="path"

You can use %DESKTOP%, %MYDOCUMENTS% or environmental variables such as %APPDATA%,%HOMEDRIVE%, %HOMEPATH%, %LOCALAPPDATA%, %USERPROFILE%.,

Do not allow user to set download count Requires version 2.0.45

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"DisableSetDownloadCount"=1

Default download count Requires version 2.0.49

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"DefaultExpirationDownloadCount" = N

Note: you can combine it with DisableSetDownloadCount, preventing user from changing default value.

Authenticate user on startup Requires version 2.0.52

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"AuthenticateOnStartup" = 1

Authenticates user when Windows Agent starts (this is not the default behavior since version 2.0.42). This action consumes client license automatically.

Allow HTTP redirects Requires version 2.0.53

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"HttpAllowAutoRedirect" = 1

By default, redirects are not allowed.

Force specific language Requires version 2.0.54

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"ForceLanguageId" = "languageid"

languageid is standard Windows two-letter abbreviation culture Id; as of version 2.0.54, the following languages are supported:

  • en: English
  • de: German
  • fr: French
  • is: Islandic
  • it: Italian
  • nl: Dutch
  • ru: Russian
  • sv: Swedish
  • es: Spanish

By default, current user's UI culture is used (per Regional preferences).

Upload body as Text, HTML or not at all Requires version 2.0.55

To upload plain text only

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"UploadMessageBodyMode" = "DisableHtml"

To upload HTML (default behavior):

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"UploadMessageBodyMode" = "AttemptHtml"

To upload no text at all:

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"UploadMessageBodyMode" = "NoText"

Format FileRequest link Requires version 2.0.55

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"InsertFileRequestTemplate"= REG_MULTI_SZ | REG_SZ

Only plain text templates are supported at this point. To specify template that spaces several lines, use REG_MULTI_SZ type (in that case, RegEditor will not accept empty lines, use SPACE instead of empty lines if you want to specify any extra lines).

Template must contain %LINK% placeholder, such as

Please use the link below to send the files:
%LINK%

Use only "Private Message" functionality in plugin, "FileLinks" functionality in Windows Agent Requires version 2.0.56

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"EnableOnlySecureSendWithPlugin"= 1 (DWORD)

This setting will make invisible all control buttons in Outlook Plugin except "Private Message" (previously "Secure Email"). It will also make invisible all control buttons in Windows Agent except "File Link".

To hide panel for control buttons in Windows Agent completely, disable FileLinks functionality for group of that user.

Redirect folder where local data is stored Requires version 2.0.58

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"DataFolder"= "path_to_data" (REG_SZ)

You can use %AppData%, %LocalAppData%, %MyDocuments%,%Desktop% in path, such as: "DataFolder"= "%AppData%\MyOtherFolder"

Force Ribbon elements into their own tab Requires version 2.0.58

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"OutlookRibbonTabCaption"= "Caption of the new tab" (REG_SZ)

If value is missing, ribbon elements will be merged into default tab. NOTE: The same effect can be achieved by overriding whole Ribbon elements, but this method requires much less effort to do so.

Disable automatic uploading of attachment based on recipients Requires version 2.0.59

You can set policies to disable automatic uploading of attachments based on list of recipients. Please note that this policy only acts as prerequisite to other policies (such as file size). If the result of evaluation of this policy is "disable", no further action is done. However if the result is "enable", other policies will be evaluated.

This behavior is based on three values: AutoUploadRuleMode, AutoUploadRuleExcludeDomains, AutoUploadRuleIncludeDomains.

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"AutoUploadRuleMode" = "RequireAtLeastOneValidRecipient"

OR

"AutoUploadRuleMode" = "AutoUploadWhenNoRecipients"

To enable this option, set "AutoUploadRuleMode" to either "RequireAtLeastOneValidRecipient" or "AutoUploadWhenNoRecipients". "AutoUploadWhenNoRecipients" will enable auto-uploading when you attach an item to a message which does not have any recipients yet. "RequireAtLeastOneValidRecipient" will make plugin to never auto-upload an attachment when there's no recipients.

Set AutoUploadRuleExcludeDomains to comma-separated, or semicolon-separated list of SMTP domains, for which you want to exclude auto-uploading. Note that these are SMTP domains, like yourdomain.com. You can disable all Exchange addresses altogether by listing domain EX. In this case, plugin will treat any Exchange address as being listed.

For example, to exclude all internal recipients, including all recipients with Exchange addresses, you might want to specify

"AutoUploadRuleExcludeDomains " = "EX,yourdomain.com"

By default, if there's any recipient which is not on AutoUploadRuleExcludeDomains list, auto-upload action will be enabled. However you can specify an explicit list of domains, and only allow automatic upload when there's at least one recipient in those domains. You can do this by setting AutoUploadRuleIncludeDomains option (comma and semicolon-separated, and you can use EX for any exchange addresses).

For example, to only allow auto-uploading when recipient is in domains domain1.com, domain2.com, you might specify:

"AutoUploadRuleExcludeDomains " = "domain1.com, domain2.com"

If you specified both AutoUploadRuleExcludeDomains and AutoUploadRuleIncludeDomains rules, auto-upload action will be enabled when there's at least one match in AutoUploadRuleIncludeDomains and no match in AutoUploadRuleExcludeDomains.

By default, third-level domains are considered separate domains. Use wildcard "*" to enable third-level domain matching: domain name *.domain.com will match domain.com and mail.domain.com.

Inject files after signature OR Use regular expression to inject list of attachments into any place of email Requires version 2.0.67

[HKEY_CURRENT_USER\Software\LiquidFiles\SFT]
"InjectPosition"=2 

Optionally, you can specify your own regular expression to inject files into any place in the email message

"CaptureSignaturePlaceholderRegexes"= "(regular expression goes here)" (REG_SZ or REG_MULTI_SZ)

In case of REG_MULTI_SZ, each line will correspond to a regular expression, and they will be evaluated top to bottom. The first match will be used.

Case will be ignored. You can add (?#rtl) comment to force right-to-left matching, and (?#delete) comment to delete the match. Use standard (?<=...)XXX(?=...) notation to specify suffix and prefix which will be excluded from the match. If you do not specify (?#delete) comment, signature will be injected at the start of regular expression match. In case of multiple matches, only the first will be processed. To process the last match instead of first, use (?#rtl) comment (right-to-left matching).

KNOWN ISSUE: In 2.0.67, you also need to set "Inject position" to "After signature", e.g.

"InjectPosition"=2

Otherwise, the policy will not be effective. This will be amended with the next versions.