Application Lockdown Commands Parent topic

Perform actions related to Application Lockdown using the Command Line Interface by typing your command in the following format:
SLCmd.exe -p <admin_password> <command>   <parameter> <value>
The following table lists the available abbreviated forms of parameters.

Abbreviations and Uses

Parameter
Abbreviation
Use
quarantinedfile
qf
Manage quarantined files
exceptionpath
ep
Manage exceptions to Application Lockdown
The following table lists the commands, parameters, and values available.

Application Lockdown Commands

Command
Parameter
Description
show quarantinedfile
 
Display a list of quarantined files
restore quarantinedfile
<id> [-al] [-f]
Restore the specified file from quarantine
Using the optional -al value also adds the restored file to Approved List.
Using the optional -f value forces the restore.
remove quarantinedfile
<id>
Delete the specified file
show exceptionpath
 
Display current exceptions to Application Lockdown
For example, type: SLCmd.exe -p <admin_password> show exceptionpath
add exceptionpath
-e <file_path> -t file
Add an exception for the specified file
For example, type: SLCmd.exe -p <admin_password> add exceptionpath –e c:\sample.bat –t file
-e <folder_path> -t folder
Add an exception for the specified folder
For example, type: SLCmd.exe -p <admin_password> add exceptionpath –e c:\folder –t folder
-e <folder_path> -t folderandsub
Add an exception for the specified folder and related subfolders
For example, type: SLCmd.exe -p <admin_password> add exceptionpath –e c:\folder –t folderandsub
-e <regular_expression> -t regexp
Add an exception using the regular expression.
For example, type:
  • SLCmd.exe -p <admin_password> add exceptionpath –e c:\\folder\\.* -t regexp
  • SLCmd.exe -p <admin_password> add exceptionpath -e \\\\computer\\folder\\.*\\file\.exe -t regexp
remove exceptionpath
-e <file_path> -t file
Remove an exception for the specified file
For example, type: SLCmd.exe -p <admin_password> remove exceptionpath –e c:\sample.bat –t file
Note
Note
Specify the exact <file_path> originally specified in the corresponding add command.
-e <folder_path> -t folder
Remove an exception for the specified folder
For example, type: SLCmd.exe -p <admin_password> remove exceptionpath –e c:\folder –t folder
Note
Note
Specify the exact <folder_path> originally specified in the corresponding add command.
-e <folder_path> -t folderandsub
Remove an exception for the specified folder and related subfolders
For example, type: SLCmd.exe -p <admin_password> remove exceptionpath –e c:\folder –t folderandsub
Note
Note
Specify the exact <folder_path> originally specified in the corresponding add command.
-e <regular_expression> -t regexp
Remove an exception using the regular expression.
For example, type: SLCmd.exe -p <admin_password> remove exceptionpath –e c:\\test\\.* –t regexp
Note
Note
Specify the exact <regular_expression> originally specified in the corresponding add command.
test exceptionpath
<regular_expression> <string> -t regexp
Check if the regular expression matches the string.
For example, type: SLCmd.exe -p <admin_password> test exceptionpath C:\\test\\.* C:\test\sample.exe -t regexp