Predefined Trusted Updater "Add" Command Parent topic

Add processes, files, or folders to the Predefined Trusted Updater List using the Command Line Interface by typing your command in the following format:
SLCmd.exe -p <admin_password> add predefinedtrustedupdater -u <folder_or_file> -t <type_of_object> [<optional_values>]
The following table lists the command, parameter, and base value.

Predefined Trusted Updater Add Command

Command
Parameter
Value
Description
add
predefinedtrustedupdater
<folder_or_file
Add a specified file or folder to the Predefined Trusted Updater List
For example, to add notepad.exe to the Predefined Trusted Updater List, type:
SLCmd.exe -p <admin_password> add predefinedtrustedupdater C:\Windows\notepad.exe
Append the following additional values at the end of the command:

Predefined Trusted Updater Add Additional Values

Value
Required / Optional
Description
Example
-u <folder_or_file>
Required
Add the specified file or folder to the Predefined Trusted Updater List
N/A
Note
Note
This parameter requires the use of the -t <type_of_object> value.
-t <type_of_object>
Required
Specify the type of object to add to the Predefined Trusted Updater List located in -u <folder_or_file>
Available objects types are as follows:
SLCmd.exe -p <admin_password> add predefinedtrustedupdater -u C:\Windows\notepad.exe -t process
process
Indicates only EXE file types
file
Indicates only MSI and BAT file types
folder
Indicates all EXE, MSI, and BAT files in the specified folder
folderandsub
Indicates all EXE, MSI, and BAT files in the specified folder and related subfolders
-p <parent_process>
Optional
Add the full file path to the specified parent process used to invoke the file(s) specified in -u <folder_or_file>
SLCmd.exe -p <admin_password> add predefinedtrustedupdater -u C:\Windows\notepad.exe -t process -p C:\batch files\note.bat
-l <label_name>
Optional
Specify a label name for the file(s) specified in -u <folder_or_file>
Note
Note
When left blank, Safe Lock assigns an arbitrary label name.
SLCmd.exe -p <admin_password> add predefinedtrustedupdater -u C:\Windows\notepad.exe -t process -l EDITOR
-al enable
Optional
Compare the hash values in the Approved List with the hash values calculated from the actual files
Note
Note
Enabled by default even when -al is not specified.
SLCmd.exe -p <admin_password> add predefinedtrustedupdater -u C:\Windows\notepad.exe -t process -al enable
-al disable
Optional
Do not compare the hash values in the Approved List with the hash values calculated from the actual files
SLCmd.exe -p <admin_password> add predefinedtrustedupdater -u C:\Windows\notepad.exe -t process -al disable