AddCommand
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
|
AddAdditional 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
|
|||
-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>
|
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
|
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
|