www.eaton.com
Network Shutdown Module V3 – User Manual - 34 003 934 XU / AE Page 55/65
z your own system shutdown solution to be used.
z For further information refer to the "shutdown.bat" file in the Network Shutdown Module installation
directory. <Program Files\EATON\NetworkShutdownModule\bin\tools>.
7.8.5.2 Shutdown.sh (Linux Script)
The "shutdown.sh" script lets you customize the system shutdown.
z For further information refer to the "shutdown.sh" file in the Network Shutdown Module installation
directory. <install_path>/bin/tools.
7.8.5.3 Wait (Windows)
z Presentation:
"Wait.exe" is a utility used to set up a time delay in a command file (.bat or .cmd file). It can be used in the
shutdown.bat file to wait until the end of an asynchronous task (non blocking).
z Location:
The program is located in the installation directory <Program
Files\EATON\NetworkShutdownModule\bin\tools>.
z Use:
The parameter for the program is the time delay expressed in milliseconds.
z Example:
Wait.exe 2000 <- The system will wait for two seconds.
7.8.5.4 Windows RunAs command or legacy mgeRunAs software utility
z Presentation:
Network Shutdown Module action is carried out in the security context of the user's account. It may be
necessary to modify the context before certain actions may be run.
EatonRunAs.exe is the means for a user to run specific tools and programs with permissions that are
different from those assigned to the user's account.
z Microsoft recently introduced in Windows RunAs Command the possibility to
save password (Windows XP Service Pac 2 and more recent versions)
We advise you to use following Microsoft command
runas /profile /user:<my login> /savecred <my_prgram.exe>
On first execution a password is required. Then it is saved for the next
executions.
z On previous Windows versions, you can use mgerunas.exe