Maintenance Mode Commands Parent topic

Perform actions related to Maintenance Mode 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
approvedlist
al
Manage Approved List in Maintenance Mode
maintenancemode
mtm
Manage Maintenance Mode
maintenancemodeschedule mtms
Manage Maintenance Mode schedule
The following table lists the commands, parameters, and values available.

Maintenance Mode Commands

Command
Parameter
Description
start maintenancemode
 
Start Maintenance Mode
For example, type: SLCmd.exe -p <admin_password> start maintenancemode
 
-scan quarantine
Start Maintenance Mode and enable file scanning after the maintenance period. Safe Lock scans files that are created/executed/modified during the period and quarantine detected files. Safe Lock adds files that are not detected as malicious to the Approved List.
For example, type: SLCmd.exe -p <admin_password> start maintenancemode -scan quarantine
 
-scan al
Start Maintenance Mode and enable file scanning after the maintenance period. Safe Lock scans files that are created/executed/modified files during the period and adds these files (including files that are detected as malicious) to the Approved List.
For example, type: SLCmd.exe -p <admin_password> start maintenancemode -scan al
stop maintenancemode
 
Stop Maintenance Mode
For example, type: SLCmd.exe -p <admin_password> stop maintenancemode
Note
Note
You cannot stop Maintenance Mode when an agent is preparing to leave Maintenance Mode.
 
-discard
Stop Maintenance Mode and do not add files in the file queue to the Approved List
For example, type: SLCmd.exe -p <admin_password> stop maintenancemode discard
Note
Note
You cannot stop Maintenance Mode when an agent is preparing to leave Maintenance Mode.
set maintenancemodeschedule
-start YYYY-MM-DDTHH:MM:SS -end YYYY-MM-DDTHH:MM:SS
Set the schedule for Maintenance Mode
For example, type: SLCmd.exe -p <admin_password> set maintenancemodeschedule -start 2019-04-07T01:00:00 -end 2019-04-07T05:00:00
Note
Note
  • You cannot set the Maintenance Mode schedule when an agent is already in Maintenance Mode or is preparing to leave Maintenance Mode.
  • If you configure the Maintenance Mode schedule to start earlier than the current time, the system starts the maintenance period immediately after you save the settings.
 
-start YYYY-MM-DDTHH:MM:SS -end YYYY-MM-DDTHH:MM:SS -scan qaurantine
Use this command to configure the following:
  • Set the schedule for Maintenance Mode
  • Enable file scanning after the maintenance period. Safe Lock scans files that are created/executed/modified during the period and quarantine detected files. Safe Lock adds files that are not detected as malicious to the Approved List.
For example, type: SLCmd.exe -p <admin_password> set maintenancemodeschedule -start 2019-04-07T01:00:00 -end 2019-04-07T05:00:00 -scan quarantine
Note
Note
  • You cannot set the Maintenance Mode schedule when an agent is already in Maintenance Mode or is preparing to leave Maintenance Mode.
  • If you configure the Maintenance Mode schedule to start earlier than the current time, the system starts the maintenance period immediately after you save the settings.
 
-start YYYY-MM-DDTHH:MM:SS -end YYYY-MM-DDTHH:MM:SS -scan al
Use this command to configure the following:
  • Set the schedule for Maintenance Mode
  • Enable file scanning after the maintenance period. Safe Lock scans files that are created/executed/modified during the period and adds these files (including files that are detected as malicious) to the Approved List.
For example, type: SLCmd.exe -p <admin_password> set maintenancemodeschedule -start 2019-04-07T01:00:00 -end 2019-04-07T05:00:00 -scan al
Note
Note
  • You cannot set the Maintenance Mode schedule when an agent is already in Maintenance Mode or is preparing to leave Maintenance Mode.
  • If you configure the Maintenance Mode schedule to start earlier than the current time, the system starts the maintenance period immediately after you save the settings.
remove maintenancemodeschedule
 
Clear the Maintenance Mode schedule settings
For example, type: SLCmd.exe -p <admin_password> remove maintenancemodeschedule
Note
Note
You cannot delete the schedule settings when an agent is already in Maintenance Mode or is preparing to leave Maintenance Mode.
show maintenancemode
 
Display the Maintenance Mode status
For example, type: SLCmd.exe -p <admin_password> show maintenancemode
show maintenancemodeschedule
 
Display the Maintenance Mode schedule settings
For example, type: SLCmd.exe -p <admin_password> show maintenancemodeschedule
Important
Important
Before using Maintenance Mode, apply the required updates on the following supported platforms:
  • For Windows 2000 Service Pack 4, apply the update KB891861 from the Microsoft Update Catalog website.
  • For Windows XP SP1, upgrade to Windows XP SP2.
Note
Note
  • Before starting Maintenance Mode, perform an agent update on endpoints.
  • To reduce risk of infection, run only applications from trusted sources on endpoints during the maintenance period.
  • Agents start one scheduled maintenance period at a time. If you configure a new maintenance period, the system overwrites existing maintenance schedule that has not started yet.
  • When the agent is about to leave Maintenance Mode, restarting the agent endpoint prevents Safe Lock from adding files in the queue to the Approved List.
  • During the maintenance period, you cannot perform agent patch updates on endpoints.
  • When Maintenance Mode is enabled, Safe Lock does not support Windows updates that require restarting an endpoint during the maintenance period.
  • To run an installer that deploys files to a network folder during the maintenance period, Safe Lock must have access permission to the network folder.