Advertisement
p0pc0rn

shutdown help

May 30th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. C:\Users\epulhebat>shutdown -help
  2. Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]
  3. [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]
  4.  
  5. No args Display help. This is the same as typing /?.
  6. /? Display help. This is the same as not typing any options.
  7. /i Display the graphical user interface (GUI).
  8. This must be the first option.
  9. /l Log off. This cannot be used with /m or /d options.
  10. /s Shutdown the computer.
  11. /r Shutdown and restart the computer.
  12. /g Shutdown and restart the computer. After the system is
  13. rebooted, restart any registered applications.
  14. /a Abort a system shutdown.
  15. This can only be used during the time-out period.
  16. /p Turn off the local computer with no time-out or warning.
  17. Can be used with /d and /f options.
  18. /h Hibernate the local computer.
  19. Can be used with the /f option.
  20. /e Document the reason for an unexpected shutdown of a computer.
  21. /m \\computer Specify the target computer.
  22. /t xxx Set the time-out period before shutdown to xxx seconds.
  23. The valid range is 0-315360000 (10 years), with a default of 30.
  24. If the timeout period is greater than 0, the /f parameter is
  25. implied.
  26. /c "comment" Comment on the reason for the restart or shutdown.
  27. Maximum of 512 characters allowed.
  28. /f Force running applications to close without forewarning users.
  29. The /f parameter is implied when a value greater than 0 is
  30. specified for the /t parameter.
  31. /d [p|u:]xx:yy Provide the reason for the restart or shutdown.
  32. p indicates that the restart or shutdown is planned.
  33. u indicates that the reason is user defined.
  34. If neither p nor u is specified the restart or shutdown is
  35. unplanned.
  36. xx is the major reason number (positive integer less than 256).
  37. yy is the minor reason number (positive integer less than 65536).
  38.  
  39. Reasons on this computer:
  40. (E = Expected U = Unexpected P = planned, C = customer defined)
  41. Type Major Minor Title
  42.  
  43. U 0 0 Other (Unplanned)
  44. E 0 0 Other (Unplanned)
  45. E P 0 0 Other (Planned)
  46. U 0 5 Other Failure: System Unresponsive
  47. E 1 1 Hardware: Maintenance (Unplanned)
  48. E P 1 1 Hardware: Maintenance (Planned)
  49. E 1 2 Hardware: Installation (Unplanned)
  50. E P 1 2 Hardware: Installation (Planned)
  51. E 2 2 Operating System: Recovery (Planned)
  52. E P 2 2 Operating System: Recovery (Planned)
  53. P 2 3 Operating System: Upgrade (Planned)
  54. E 2 4 Operating System: Reconfiguration (Unplanned)
  55. E P 2 4 Operating System: Reconfiguration (Planned)
  56. P 2 16 Operating System: Service pack (Planned)
  57. 2 17 Operating System: Hot fix (Unplanned)
  58. P 2 17 Operating System: Hot fix (Planned)
  59. 2 18 Operating System: Security fix (Unplanned)
  60. P 2 18 Operating System: Security fix (Planned)
  61. E 4 1 Application: Maintenance (Unplanned)
  62. E P 4 1 Application: Maintenance (Planned)
  63. E P 4 2 Application: Installation (Planned)
  64. E 4 5 Application: Unresponsive
  65. E 4 6 Application: Unstable
  66. U 5 15 System Failure: Stop error
  67. U 5 19 Security issue
  68. E 5 19 Security issue
  69. E P 5 19 Security issue
  70. E 5 20 Loss of network connectivity (Unplanned)
  71. U 6 11 Power Failure: Cord Unplugged
  72. U 6 12 Power Failure: Environment
  73. P 7 0 Legacy API shutdown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement