Timer Auto Power off shutdown-s-T 3600
shutdown [/I |/L |/s |/r |/g |/a |/p | h |/e] [/f/m \\computer] [/t xxx][/d [P|U:]XX:YY [/C] comment []]
No parameter display Help. This with type/? is the same.
/? Displays Help. This is the same as not typing any options.
/I displays the graphical user interface (GUI).
This must be the first option.
/L logoff. This cannot be used with the/m or/d option.
/s shuts down the computer.
/R shut down and restart the computer.
/g shut down and restart the computer. After the system restarts,
Restart all registered applications.
/A aborts the system shutdown.
This can only be used during the timeout period.
/p shuts down the local computer without a timeout or warning.
Can be used with the/d and/F options.
/h hibernate the local computer.
Can be used with the/F option.
/E records the cause of the computer shutdown unexpectedly.
/m \\computer specifies the target computer.
The/t XXX setting expires before the timeout is xxx seconds.
The valid range is 0-315360000 (10) and the default value is 30.
If the timeout period is greater than 0, the/F
Parameters.
/C "comment" The comment for the cause of the restart or shutdown.
A maximum of 512 characters is allowed.
/F forces the running application to close, not the foreground to warn the user.
When you specify a value greater than 0 for the/t parameter,
The/f parameter is implied.
/d [P|u:]xx:yy provides reasons for restarting or shutting down.
P indicates that a restart or shutdown is planned.
The u represents the reason defined by the user.
Unplanned Restart if neither p nor u are specified
or closed.
XX is the main reason number (a positive integer less than 256).
YY is a secondary reason number (a positive integer less than 65536).
Reasons on this computer:
(E = expected U = Unexpected P = planned, C = Custom)
Category Main Minor title
U 0 0 Other (unplanned)
E 0 0 Other (unplanned)
E P 0 0 other (planned)
U 0 5 Other faults: System not responding
E 1 1 Hardware: maintenance (unplanned)
E P 1 1 Hardware: maintenance (planned)
E 1 2 Hardware: Installation (unplanned)
E P 1 2 hardware: installation (planned)
E 2 2 Operating system: Recovery (planned)
E P 2 2 operating system: Recovery (planned)
P 2 3 Operating system: Upgrade (in plan)
E 2 4 Operating system: reconfiguration (Unplanned)
E P 2 4 operating system: reconfiguration (in plan)
P 2 16 Operating system: Service Pack (planned)
2 17 operating system: Hot fix (unplanned)
P 2 17 operating system: Hot fix (planned)
2 18 Operating system: Security patching (unplanned)
P 2 18 Operating system: Security patching (planned)
E 4 1 Application: Maintenance (Unplanned)
E P 4 1 Application: Maintenance (in Plan)
E P 4 2 application: Install (in plan)
E 4 5 Application: no response
E 4 6 Application: Unstable
U 5 15 system failure: Stop error
U 5 19 Security issues
E 5 19 Security issues
E P 5 19 safety issues
E 5 20 Lost Network connection (unplanned)
U 6 11 Power failure: Wire is unplugged
U 6 12 Power failure: Environment
P 7 0 Legacy API shutdown
Windows Operations Tips II (continuous update)