RCCMD for Windows offers extensive possibilities to run a well-structured shutdown. To provide quick configuration, the command "Shut down system" is already preconfigured as a basic setting: As soon as RCCMD receives a valid shutdown signal, the script shutdown.bat is started, which instructs the operating system to terminate all programs and processes, shut down the operating system and switch off the associated machine.
Note:
This command should be the last command of the command sequence that RCCMD should execute, as RCCMD will switch itself off with this command. All commands that follow will no longer be executed.
The script that gives this command its effectiveness can be found at shutdown.bat. You will find this page below the dialogue and can adapt or change this batch file as desired by clicking "Edit file".
Adding a command to the existing command sequence
Click Insert to add a new command to the current sequence.
RCCMD provides a list of possible pre-defined commands:
| Command | Operating System | Description |
| Shut Down System | Windows, Linux, MAC | The programs are closed, and the operating system is shut down normally. |
| Log off from System | Windows, Linux, MAC | All users are logged out, and the foreground processes are terminated. The system remains active and shows the login mask |
| Power Off System | Windows, Linux, MAC | All active processes are terminated and the system is turned off |
| Restart System | Windows, Linux, MAC | Similar to shutting down, except that instead of turning off the computer, it restarts. |
| Hibernate System | Windows, Linux, MAC | A power saving mode in which all components not required for direct operation are switched off to save power. The operating system dumps volatile data onto the hard drive, empties the RAM and puts the computer in a powerless state. |
| Suspend System | Windows, Linux, MAC | A power saving mode in which all components not required for direct operation are switched off to save power. The operating system stores all the data necessary for operation in RAM memory in order not to burden the hard drive. The computer goes into a deep sleep mode but is not de-energized. If the computer is turned off, the data stored in RAM will be lost. |
| Quit Lotus Notes | Windows only | Lotus Notes reacts sensitively when you simply shut down the operating system and specifically needs to be shut down beforehand. |
| Quit Siemens SIMATIC | Windows only | A SIMATIC server is very sensitive if you do not strictly adhere to a shutdown sequence for SIMATIC. This job cleanly terminates the SIMATIC server before the operating system can be shut down in the next step. |
| Wait some seconds | Windows, Linux, MAC | Especially if you have your own scripts running, which in turn trigger parallel scripts or contain special save and copy commands, it may happen that the scripts do not have enough time to run cleanly to the end and fulfill their respective task. This entry in the shutdown sequence allows you to define a timer that RCCMD waits before jumping to the next point. |
| RCCMD shutdown relay | Windows, Linux, MAC | RCCMD can also send shutdown signals - so it is important to define valid transmitters that are authorized to instruct a shutdown. So not only can you control the redundancy behavior via UPS and CS141, but you can hand over an RCCMD shutdown across different server types. |
| Shut down a virtual machine | Windows Only Available with Version 4.57.12 240429 | Windows PowerShell commands that can be used to shut down a virtual machine running Hyper-V. |
| Shut down all Hyper-V VMs | Windows Only Available with version 4.57.12 240429 | Windows PowerShell commands that can be used to shut down any virtual machine running Hyper-V. Be careful with Hyper-V clusters, the cluster manager will shut down ALL virtual machines that are in the cluster with this command! |
| Custom Command | Windows, Linux, MAC | The Manual Command gives you complete freedom to run scripts in a sequence locally on your system - you can start programs, end processes, execute command lines, etc. |
The command sequence is always executed and triggered "as read" from top to bottom. Depending on the type of commands that are triggered, contradictions or problems with rights management can occur within complex structures, which can have very different effects:
A typical problem would be, for example, if you start an external backup program with its own shutdown scenarios via the "Manual command" within the command sequence and have not removed the entry in the command sequence that is supposed to shut down the operating system:
Once the backup program has been started, RCCMD logically executes its next command in the chain and ultimately forces the backup program to shut down - which can lead to very different results:
a. The operating system shuts down, the backup program reports an error
b. The backup program refuses and takes over shutdown control
c. The operating system becomes interactive, asks in a dialog box what should happen and waits...
With more complex structures and your own scripts, always pay attention to possible mutual dependencies and rights management, which is strongly influenced by the operating system.
Windows ONLY: The PowerShell / BATCH – Mode Switch
Please note:
This function is available exclusively for Windows from RCCMD version 4.57.12 240429.
If your Windows version of RCCMD does not display this function, please update RCCMD to the latest version.
The Windows PowerShell mode allows you to choose between the familiar BATCH mode and the modern Windows PowerShell within Windows operating systems.
In both cases, preconfigured commands are available under "Insert".
Experienced system integrators can use the integrated data manager (Edit file) to directly adapt the included PowerShell script to their requirements for a structured system shutdown and thus automatically and structurally shut down even complex Hyper-V cluster structures with an RCCMD.
v.: 2025-08-26
Comments
0 comments
Please sign in to leave a comment.