NightWatchman command-line switches
NightWatchman can be configured from the command-line by administrators. This enables systems running NightWatchman across an enterprise to be configurable from a central location using any systems management tool that enables commands to be run on remote computers.
Please refer to 1E Agent Mac command-line switches for Macs.
Windows command-line syntax
On NightWatchman for Windows, all switches must be preceded by a dash and all values must be set using an equals sign:
nightwatchman.exe -<switch>=<value>
For example, to set the NightWatchman service to start automatically:
nwmsvc.exe -start=auto
Note
The command-line examples assume that NightWatchman is placed on the Windows path or that the administrator has changed directory to the NightWatchman installation folder.
NightWatchman command-line switches
Service switches
There is no equivalent service for the Mac; commands such as relicense
are run from the nightwatchman executable.
Switch/option | Notes |
---|---|
nwmsvc -relicense | Licenses NightWatchman with the valid license key. |
nwmsvc -start | Starts the NightWatchman service. |
nwmsvc -stop | Stops the NightWatchman service. |
Executable information switches
You can use these to display information about the current version and settings.
Switch | Notes |
---|---|
Displays the NightWatchman product version number. You will need the version number when contacting 1E support. | |
Displays the current NightWatchman service configuration parameters on the command-line. | |
Displays the current NightWatchman service configuration parameters on the command-line. | |
Displays the command-line syntax help. |
System switches
Use these to control the core functionality of NightWatchman.
Switch | Notes |
---|---|
countdowndlgtext | Enables customization of a countdown message. |
countdownsecs | Number of seconds that the countdown timer dialog is displayed before a power-off or log-off action is executed. |
hibernatenow | Puts the computer into hibernate mode. Works in conjunction with countdownsecs and shutdownmsg. |
logoffaction | Determines the behavior when a user is logged onto the system. In Active and Force mode, scripts are executed to close down applications gracefully. |
monitorjobs | Turns the Configuration Manager job monitoring on or off. |
onceoff | Determines whether the other switches on the NightWatchman command-line is applied in a once-off operation. |
pendingjobwindowmins | Defines the power down behavior according to pending Configuration Manager jobs. |
retryattempts | Number of times a power-off is attempted if cancelled by the user. |
retryinterval | Interval (in minutes) the service retries the power-off if cancelled by the user or if the power-off cannot be performed. |
runalways | Sets the behavior for running the |
runalwaysforsleep | Behavior for running the |
scheduledactions | Configures scheduled power down actions at specific times for specified days of the week. |
scripttimeoutsecs | Number of seconds NightWatchman waits before deciding a script has timed out. |
Use scheduledactions instead. | |
shutdowndays | Use scheduledactions instead. |
shutdownmsg | Enables customization of a countdown message. |
shutdownnow | Implements an immediate power-off, regardless of shutdownaction. |
shutdowntime | Use scheduledactions instead. |
standbynow | Puts the computer into standby mode. |
systemtray | Controls the behavior of the system tray applet. |
useractivitymaxidlemins | Duration (in minutes) for the window that governs the recent user activity test. |
Script control switches
Use these to control the behavior of NightWatchman scripts.
Switch | Notes |
---|---|
prerun | Enables a custom script to be run, prior to a NightWatchm an p ower-off, hibernate or standby event. |
runalways | Behavior for running the |
runalwaysforsleep | Behavior for running the |
runonresume | Behavior for the |
scripttimeoutsecs | Number of seconds NightWatchman waits before deciding a script has timed out. |
Policy switches
Use these to set the communications between the 1E Agent and the Agility Framework server to retrieve its Power Policies from the NightWatchman Console.
Switch | Notes |
---|---|
Sets the location of the NightWatchman Management Center policy service. | |
Sets the polling interval, in minutes, to check for new Power Policy settings. | |
Sets the retry interval, in minutes, to check for new power policy settings if the initial check fails. |
Power scheme switches
Use these switches to control the behavior of monitors, disks, sleep and hibernate functions.
Switch | Notes |
---|---|
powerscheme | Controls the setting of a NightWatchm an p ower scheme when the service starts and at user login. |
monitorac | Switches the monitor to standby after a specified number of minutes of system idle time when the computer is running on mains power. |
monitordc | Switches the monitor to standby after a specified number of minutes of system idle time when the computer is running on battery power. |
diskac | Switches the hard disks to standby after a specified number of minutes of system idle time when the computer is running on mains power. |
diskdc | Switches the hard disks to standby after a specified number of minutes of system idle time when the computer is running on battery power. |
standbyac | Switches the computer to standby after a specified number of minutes of system idle time when the computer is running on mains power. |
standbydc | Switches the computer to standby after a specified number of minutes of system idle time when the computer is running on battery power. |
hibernateac | Switches the computer to hibernate after a specified number of minutes of system idle time when the computer is running on mains power. |
hibernatedc | Switches the computer to hibernate after a specified number of minutes of system idle time when the computer is running on battery power. |
passwordonwakeup | Determines if a password is required when the client computer resumes from standby or hibernate. |
Hardware utilization monitoring switches
Use these switches to control the monitoring of hardware utilization by the 1E Agent.
Switch | Notes |
---|---|
Enables or disables the Hardware Utilization feature. | |
Hardware utilization sample interval in seconds. | |
Aggregation interval in minutes. |
Process exception switches
Use the following to control process exceptions. Before a scheduled NightWatchman event takes place, it checks to see if any of the the processes in the list are running and will abort the event if found, for details refer to Command-line switches.
Switch | Notes |
---|---|
pelistshow | Displays the process exception list. |
pelistadd | Adds a process name to the process exception list. The name must match the name of the process as it appears in Task Manager. |
pelistdel | Deletes a process from the process exception list. |
pelistfrom | Replaces the process exceptions list with the contents of a named file. The named file must contain a list of process names, one on each line in the file. |
pelistclear | Clears all process exceptions. |
Sleepless detection switches
Use these switches to control sleepless detection and its related exclusion list. Some processes may prevent computers from going into a sleep state. The exclusion list contains a list of processes that NightWatchman tells the computer to ignore when it attempts to enter a sleep state.
Switch | Notes |
---|---|
Turns advanced sleepless detection mode on or off. | |
Turns busy process detection on or off. | |
Displays the sleepless exclusion list. | |
Adds a process to the sleepless exceptions list. The process name must match the name as it appears in the NightWatchman Sleepless Client Detection/Busy and Sleepless Processes report. | |
Deletes a process from the sleepless exclusion list. | |
Replaces the sleepless exceptions list with the contents of a named file. The named file must contain a list of process names, one on each line in the file. | |
Clears all sleepless exclusions. |
Alarm clock and maintenance window switches
Use these to control alarm clocks and maintenance windows.
Switch | Notes |
---|---|
Sets an alarm clock schedule for specific days of the week. | |
Determines if the display for a computer is turned on when an alarm clock wake up occurs. | |
Maintenance schedule for specific days of the week. | |
Determines if the display for a computer is turned on when a Maintenance Window wake up occurs. |
Policy and reporting switches
Use these switches for policy and reporting retrievals.
Switch | Notes |
---|---|
When using | |
When using | |
When using | |
When using | |
Sets the URL of the NightWatchman Management Center policy service. | |
Sets the status of NightWatchman reporting. | |
Sets the URL for the NightWatchman Management Center Web Service reporting. | |
Sets the URL for the secure NightWatchman Management Center policy service. | |
Sets the URL for the secure NightWatchman Management Center Web Service reporting. |
Log file switches
Use these to set options for the log file.
Switch | Notes |
---|---|
Level of debug information output to the NightWatchman log file. | |
Location and name for the NightWatchman log file. | |
Maximum size (in bytes) for the NightWatchman log file. |
Command-line switches
Property | Default value | Notes | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
acturnonmonitor | Determines if the display for a computer is turned on when an alarm clock wake-up occurs. To turn monitors on when an alarm clock occurs: nightwatchman -acturnonmonitor=on | ||||||||||||||||||
advancedsleeplessdetection | ON | Turns advanced sleepless detection mode on or off. See Sleepless detection for basic and advanced modes. Values are:
To turn advanced sleepless detection off: nightwatchman -advancedsleeplessdetection=off | |||||||||||||||||
Sets an alarm clock schedule for specific days of the week. On Windows, the format of the value is a list of entries separated by a vertical bar ( The first entry in the list specifies whether to turn the monitor on during the alarm clock and uses the format: For example, the following sets an alarm clock for 07:00 Monday and 08:00 Tuesday (the client computer will be awoken at 06:55 and 07:55 respectively): nightwatchman -alarmclock="monitorstate=off| mon(07:00)|tue(08:00)" On the Mac, the format of the value is a list of entries separated by commas where each entry is a day of operation and a time to wake up, in the following format: For example, the following sets an alarm clock for 07:00 Monday and 08:00 Tuesday (the client computer will be awoken at 06:55 and 07:55 respectively): nightwatchman -alarmclock mon=07:00, tue=08:00 | |||||||||||||||||||
autorestart |
| ||||||||||||||||||
busyprocessdetection | ON | Disables busy process detection. Note
To turn busy process detection on: nightwatchman -busyprocesssdetection=on | |||||||||||||||||
countdowndlgtext | Customize a countdown message. NoteThe maximum length is 79 characters; if this is exceeded the default message is used. This message varies according to the shutdownaction currently set. Setting a value for | ||||||||||||||||||
countdownsecs | 30 seconds | Duration (in seconds) the countdown timer dialog is displayed before a power-off or log-off action is executed.
The countdown timer dialog will only appear if nightwatchman -countdownsecs=300 | |||||||||||||||||
13 | Sets the level of debug information output to the NightWatchman log file. You should only change this value after checking with the 1E support. | ||||||||||||||||||
delaysecs | 30 seconds | Sets the number of seconds before the countdown timer dialog is displayed before a power-off or log-off action is executed.
To set a 1 minute delay before the countdown starts: nightwatchman -delaysecs=60 | |||||||||||||||||
diskac | 60 minutes | Switches the hard disks to standby after a number of minutes of system idle time when the computer is running on mains power.
| |||||||||||||||||
diskdc | 5 minutes | Switches the hard disks to standby after a number of minutes of system idle time when the computer is running on battery power.
| |||||||||||||||||
OFF | Enables or disables hardware utilization monitoring. When enabled the 1E Agent will retrieve information from PCs to determine which ones are in use throughout the day. Values are:
| ||||||||||||||||||
600 | Hardware utilization sample interval (in seconds).
| ||||||||||||||||||
60 | The aggregation interval (in minutes).
| ||||||||||||||||||
Displays the command-line syntax help. | |||||||||||||||||||
hibernateac | 0 | Switches the computer to hibernate after a number of minutes of system idle time when the computer is running on mains power.
| |||||||||||||||||
hibernatedc | 0 | Switches the computer to hibernate after a number of minutes of system idle time when the computer is running on battery power.
| |||||||||||||||||
hibernatenow | Puts the computer into hibernate mode. Works in conjunction with countdownsecs and shutdownmsg. NoteAny other switches on the same command-line aborts the hibernate operation and reports an error. | ||||||||||||||||||
httpserver | Server name hosting the NightWatchman Management Center standard security websites used for policy retrieval and reporting. This can be set to the server name or IP address and may also refer to the port number if this has been changed from the default on the server side. For example, to set the server name to ./nightwatchman -s HTTPServer nwmcserver To use an IP address of 192.168.23.23: ./nightwatchman -s HTTPServer 192.168.23.23 To use nwmcserver as the server using port 180: ./nightwatchman -s HTTPServer nwmcserver:180 | ||||||||||||||||||
httpsserver | Server name hosting the NightWatchman Management Center secure websites used for policy retrieval and reporting. This can be set to the server name and may also refer to the port number if this has been changed from the default on the server side. NoteYou cannot use the IP address for the secure server definition. To set the server name to nwmcserver: ./nightwatchman -s HTTPSServer nwmcserver To set the server name to nwmcserver using port 180: ./nightwatchman -s HTTPSServer nwmcserver:180 | ||||||||||||||||||
ignoreerrors | OFF | Behavior on detecting errors in the power-off scripts during a scheduled event.
| |||||||||||||||||
ignorescripterrors | OFF | Behavior on detecting errors in the power-off scripts during a scheduled event.
| |||||||||||||||||
C:\ProgramData\ 1E\Agent\nightwatchman.log | Location and name for the NightWatchman log file. For example, to set the log file called nightwatchman -logfilename=C:\TEMP\NW.LOG | ||||||||||||||||||
logoffaction | Active | Determines the behavior when a user is logged onto the system. In NoteThis switch is now provided for legacy support only. Use scheduledactions instead.
| |||||||||||||||||
macspoolerdirectory | /Library/ApplicationSupport/ 1E/NightWatchman/Messages | Location for the Mac spooler directory, where reporting messages are stored before being sent to the NightWatchman Management Center Web Service. | |||||||||||||||||
maintenancewnd | Maintenance schedule for specific days of the week. The format of the value is a list of entries separated by a vertical bar |. The first entry in the list determines if the on/off state of the monitor during the maintenance window and uses the format: monitorstate=<state> where day(Hrs:Mins,Duration,EndAction) The
For example, to set a 23-minute maintenance window on Mondays leaving the computer on, and a 1-hour maintenance window on Tuesdays leaving the computer on standby: nightwatchman -maintenancewnd="monitorstate=off| mon(03:00,23,0)|tue(02:00,60,1)" | ||||||||||||||||||
maxbatchsendintervalsecs |
| Interval (in seconds) to wait before batch dispatching messages in the spooler to the NightWatchman Management Center Web Service. This switch takes precedence over minmessagesperbatch.
| |||||||||||||||||
maximumfileagesecs | 604800 (7 days) | Duration (in seconds) the 1E Agent will store reporting information locally when the NightWatchman Management Center Web service cannot be contacted. Data held beyond the default value is deleted. | |||||||||||||||||
1048578 bytes | Maximum size (in bytes) for the NightWatchman log file. If the log file exceeds this value NightWatchman saves the current log file to a file in the same location but with the extension .LO_, overwriting any existing copy. NightWatchman will continue to write to the file specified in logfilename.
For example, to set a 32K limit for the log file: nightwatchman -maxlogfilesize=32768 | ||||||||||||||||||
minmessagesperbatch |
| Minimum number of messages in the spooler before a batch is dispatched to the NightWatchman Management Center Web Service. It is subservient to maxbatchsendintervalsecs in terms of setting how long between sending messages to the NightWatchman Management Center Web Service. | |||||||||||||||||
monitorac | 15 minutes | Switches the monitor to standby after a specified number of minutes of system idle time when the computer is running on mains power.
| |||||||||||||||||
monitordc | 3 minutes | Switches the monitor to standby after a specified number of minutes of system idle time when the computer is running on battery power.
| |||||||||||||||||
monitorjobs | ON | Enables or disables the Configuration Manager job monitoring.
| |||||||||||||||||
mwturnonmonitor | Determines if the display for a computer is turned on when a maintenance window wake up occurs. For example, to turn a monitor on when a maintenance window wake up occurs: nightwatchman -mwturnonmonitor=on | ||||||||||||||||||
onceoff | Replaces shutdownonce. Determines whether the other switches on the NightWatchman command-line is applied in a once-off operation. Any other switches used in conjunction with the Note
For example, to force a power-off at 7:30 pm: nightwatchman -onceoff -shutdowntime=19:30 -logoffaction=force -shutdownaction=normal | ||||||||||||||||||
passwordonwakeup | ON | Determines if a password is required when the client computer resumes from standby or hibernate.Values are:
For example, to set the client computer not to request a password on resumption: nightwatchman -passwordonwakeup=off | |||||||||||||||||
Adds a process name to the process exception list.The name must match the name of the process as it appears in Task Manager. For example, to set Nightwatchman to abort power-offs when the Notepad application is running: nightwatchman -pelistadd=notepad.exe | |||||||||||||||||||
pelistclear | Clears all process exceptions. | ||||||||||||||||||
Deletes a process from the process exception list. For example, to remove the Notepad application process from the process exception list: nightwatchman -pelistdel=notepad.exe | |||||||||||||||||||
Replaces the process exceptions list with the contents of a named file. The named file must contain a list of process names, one on each line in the file. NoteClears any existing items in the process exceptions list before adding the new items from the file. For example, to list the contents of a process exception list from a file named nightwatchman -pelistfrom=myprocesses.txt | |||||||||||||||||||
pelistshow | Displays the process exception list. | ||||||||||||||||||
5 | Defines the power down behavior according pending Configuration Manager jobs. It takes an integer that defines the number of minutes in the look-ahead window. monitorjobs The way that the power-off behavior is modified is dependent on the shutdown type:
When NoteThis behavior is dependent on checking the list of pending Configuration Manager jobs. If the client is not installed on the local computer, power down will proceed as normal regardless of the setting of the switch | ||||||||||||||||||
If using NoteThis must be set to the same value as reportingcertissuer. | |||||||||||||||||||
If using NoteThis must be set to the same value as reportingcertsubject. | |||||||||||||||||||
URL of the NightWatchman Management Center policy service in the format: http://<server>/AFWebService/PolicyService.asmx where This value is set during installation and will not require modification during normal use. For example, to set your NightWatchman Management Center Web Service server to AFServer: nightwatchman -policyserverurl=http://AFServer/AFWebService/PolicyService.asmx | |||||||||||||||||||
| Polling interval (in minutes) to check for new power policy settings. This poll checks to see which power policy is used for the client computer and retrieves its settings. Power policies and their associated computers are defined using the NightWatchman Console.
Power policies held in the NightWatchman Management Center will set this value if applied to the 1E Agent. Default values in the NightWatchman Management Center are dependent on the environment size (selected in the NightWatchman Management Center installer). These are:
| ||||||||||||||||||
pollintervalsecs | 600 | Interval (in seconds) for the delay in resending rejected messages to the NightWatchman Management Center Web Service Component. | |||||||||||||||||
| Retry interval (in minutes) to check for new power policy settings if the initial check fails.
| ||||||||||||||||||
powerscheme | OFF | Controls the setting of a NightWatchman power scheme when the service starts and at user login. NoteThe logged in user requires permissions to be able to change their local power scheme.
| |||||||||||||||||
prerun | Enables a custom script to be run, prior to a NightWatchman power-off, hibernate or standby event. This script is set to run before all other actions. At the start of any scheduled event and depending on the status of the -prerun option, NightWatchman runs this script to have control over whether the scheduled event continues.
During a NightWatchman installation, a default
| ||||||||||||||||||
rebootnow | Reboots the computer. NoteAny other switches on the same command-line will abort the reboot operation and report an error. | ||||||||||||||||||
relicense | Licenses NightWatchman with the valid license key. If no license key was entered during the initial NightWatchman installation, a 30-day evaluation license would have been put in place. If the license key has already expired the service will have stopped. You will need to restart the service manually after relicensing with: nwmsvc.exe -start For example, to relicense NightWatchman for Windows with a new licence key (ABCDE-1234-3456-5678-5678): nwmsvc.exe -relicense=ABCDE-1234-3456-5678-5678 To relicense NightWatchman for Macs with a new licence key (ABCDE-1234-3456-5678-5678): ./nightwatchman -s relicense ABCDE-1234-3456-5678-5678 | ||||||||||||||||||
Status of NightWatchman reporting. If
| |||||||||||||||||||
If using NoteThis must be set to the same value as policycertissuer. | |||||||||||||||||||
If using NoteThis must be set to the same value as policycertsubject . | |||||||||||||||||||
reportingserver | NoteThis switch is replaced by reportingserverurl . | ||||||||||||||||||
Replaces reportingserver. Sets the URL for the NightWatchman Management Center Web Service reporting in the format: http://<server>/AFWebService/PostMessage.aspx where For example, to set your NightWatchman Web Service server to nightwatchman -reportingserverurl= http://RServ/AFWebService/PostMessage.aspx | |||||||||||||||||||
retryattempts | 3 | Number of times a power-off is attempted if cancelled by the user
For example, to set NightWatchman to try and shutdown 10 time after the user cancels the event: nightwatchman -retryattempts=10 | |||||||||||||||||
60 | Interval (in minutes) the service retries the power-off if cancelled by the user or if the power-off cannot be performed.
For example, to set NightWatchman to retry every 15 minutes: nightwatchman -retryinterval=15 | ||||||||||||||||||
OFF | Bbehavior for running the NoteOn Windows, the script is called
| ||||||||||||||||||
OFF | Behavior for running the NoteOn Windows, the script is called
| ||||||||||||||||||
runonresume | OFF | Behavior for the NoteOn Windows the script is called
| |||||||||||||||||
runonresumedelaysecs | 20 | Delay (in seconds) between the resume event and when the
| |||||||||||||||||
runscriptseverylogoff | NoteThis switch is no longer supported. | ||||||||||||||||||
scheduledactions | Configures scheduled power down actions at specific times for specified days of the week. The syntax for Windows is D{,D,D}(T,P,L){| D{,D,D}(T,P,L)} and for Macs D{,D,D}=T,P,L { D{,D,D}=T,P,L} where
NoteAll the above values are case insensitive For example, t o set a power down on Windows at 18:00 with a NightWatchman.exe –scheduledactions=”ALLDAYS(18:00, PowerOff,Force)” To set a power down on Mac at 18:00 with a logoffaction=FORCE for every day of the week: sudo ./nightwatchman –scheduledactions | ||||||||||||||||||
scripttimeoutsecs | 30 | Duration (in seconds) NightWatchman waits before deciding a script has timed out.
NoteIf the value for | |||||||||||||||||
URL for the secure NightWatchman Management Center policy service in the format https://<server>/AFWebService/PolicyService.asmx where This value is set during installation and will not require modification during normal use. If you do need to change this, you must set the full URL. For example, to set your NightWatchman Management Center Web Service server to nightwatchman -securepolicyserverurl= https://AFServer/AFWebService/PolicyService.asm | |||||||||||||||||||
URL for the secure NightWatchman Management Center Web Service reporting in the format: https://<server>/AFWebService/PostMessage.aspx where For example, to set your NightWatchman Web Service server to nightwatchman -reportingserverurl= http://RServ/AFWebService/PostMessage.aspx | |||||||||||||||||||
Adds a process to the sleepless exceptions list. The process name must match the name as it appears in the NightWatchman Sleepless Client Detection/Busy and Sleepless Processes report. Normally, the name matches the Task Manager process but for running services that are hosted by NoteYou will only get the detail of the service name if advanced sleepless client detection is turned on. For example, to set NightWatchman to sleep even if the nightwatchman -selistadd=SvcHost.exe(LanManServer) | |||||||||||||||||||
Clears all sleepless exclusions. | |||||||||||||||||||
Deletes a process from the sleepless exclusion list. For example, to remove the Notepad process from the sleepless exclusion list: nightwatchman -selistdel=notepad.exe | |||||||||||||||||||
Replaces the sleepless exceptions list with the contents of a named file. The named file must contain a list of process names, one on each line in the file. NoteClears any existing items in the sleepless exclusions list before adding the new items from the file. For example, to list the contents of a sleepless exception list from a file named nightwatchman -selistfrom=myprocesses.txt | |||||||||||||||||||
Displays the sleepless exclusion list. | |||||||||||||||||||
Displays the current NightWatchman service configuration parameters on the command-line. NoteThis switch is now identical to the -summary switch. | |||||||||||||||||||
Normal | Determines the shutdown type. NoteThis switch is now provided for legacy support only, use scheduledactions instead.
| ||||||||||||||||||
shutdowndays | All days | Note
Sets the days of operation as a range or a set of integers.
After a default installation NightWatchman is set to operate 7 days a week. For example, to set a range from Monday to Friday: nightwatchman -shutdowndays=1-5 To set a shutdown for Monday,Tuesday and Thursday only: nightwatchman -shutdowndays=1,2,4 | |||||||||||||||||
shutdownmsg | Customize a countdown message. NoteThe maximum length is 79 characters; if this is exceeded the default message is used. This message varies according to the shutdownaction currently set. Setting a value for coutdowndlgtext replaces all messages with a single custom message. This message only appears if countdownsecs is not equal to 0. To customize a countdown message with the text 'Let's save some energy!': nightwatchman -shutdownmsg="Let’s save some energy!" | ||||||||||||||||||
shutdownnow | Implements an immediate power-off, regardless of shutdownaction, depending on the value of the countdownsecs, shutdownmsg and logoffaction switches. If there are any other switches on the same command-line, the power-off aborts and reports an error. Note
To force a power-off: nightwatchman -shutdownnow -logoffaction=force NoteIf | ||||||||||||||||||
shutdownonce | Note
| ||||||||||||||||||
shutdowntime | Note
Sets the time for the scheduled event.
| ||||||||||||||||||
spoolerdirectory | C:\ProgramData\ 1E\Reporting\NightWatchman\ | Location of the spooler directory where NightWatchman Management Center Reporting messages are stored before being sent to the NightWatchman Management Center Web Service. | |||||||||||||||||
standbyac | 60 | Switches the computer to standby after a number of minutes of system idle time when the computer is running on mains power.
| |||||||||||||||||
standbydc | 5 | Switches the computer to standby after a number of minutes of system idle time when the computer is running on battery power.
| |||||||||||||||||
standbynow | Puts the computer into standby mode. Note | ||||||||||||||||||
start | Starts the NightWatchman service. Values are:
For example, to start the service: nwmsvc –start To set the service to auto start: nwmsvc –start=auto | ||||||||||||||||||
stop | Stops the NightWatchman service, for example: nwmsvc -stop | ||||||||||||||||||
Displays the current NightWatchman service configuration parameters on the command-line. Note
| |||||||||||||||||||
systemtray | Behavior of the system tray applet. Note
| ||||||||||||||||||
useractivitymaxidlemins | 0 | Duration (in minutes) for the window that governs the recent user activity test. If users have been active during a determined period prior to a NightWatchman scheduled event, the event is postponed.
NoteWe recommended setting this to a value less than The postponement time is governed by the NightWatchman To set the user activity window to 20 minutes: nightwatchman -useractivitymaxidlemins=20 | |||||||||||||||||
Displays the NightWatchman product version number. You will need the version number when contacting 1E support. | |||||||||||||||||||
waitminutesforunavailableserver | 1440 | Duration (in minutes) to wait before the spooler retrys connecting to the NightWatchman Management Center Web Service. |