m This option lets you specify a message to display to logged-on users when a shutdown countdown commences. k Poweroff the computer (reboot if poweroff is not supported). f Forces all running applications to exit during the shutdown instead of giving them a chance to gracefully save their data. Yy is the minor reason code (must be less than 65536). Xx is the major reason code (must be less than 256). Specify 'u' for user reason codes and 'p' for planned shutdown reason codes. c Allows the shutdown to be aborted by the interactive user. a Aborts a shutdown (only possible while a countdown is in progress). If you omit this you will be prompted to enter a hidden password. p Specifies optional password for user name. u Specifies optional user name for login to remote computer. If you omit the computer name the command runs on the local system, and if you specify a wildcard (\\*), the command runs on all computers in the current Run the command on each computer listed in the text file specified. Usage: psshutdown | ]] -s|-r|-h|-d|-k|-a|-l|-o :xx:yy] Ĭomputer Perform the command on the remote computer or computers specified. You can use PsShutdown to initiate a shutdown of the local or a remote computer, logoff a user, lock a system, or to abort an imminent shutdown. Have the shortcut run the following batch file: off Is there any possible way to create a hot-key shortcut to sleep on Windows 10ĭownload psshutdown from Windows Sysinternals.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |