(Fail if unsaved user data on remote computer.) (/nu option is not supported on Windows 10 for remote computer.) (6) Do not install updates and reboot remote computer after a 20 sec delay: (5) Do not install updates and shut down local computer: (4) Simply wait until updates are ready to install on local computer, (Fail if unsaved user data on computer, or updates aren't ready.) (3) Reboot local computer only if updates are ready to install: ShutdownWithUpdates /s /f /t 30 /c "Forced shut-down in 30 sec!" (Force applications with unsaved data to close & lose data! Show message.) (2) Install updates and shut down local computer after 30 sec delay: (1) Install updates and reboot local computer without a delay: For details check:įor additional error details check Windows Event Log under "ShutdownWithUpdates" source. Other if error, will contain "System Error Code". (Reason numbers can be decimal or hex if begin with 0x)įor major and minor reason values check "System Shutdown Reason Codes": Yy = minor reason number (greater than 65536.) Xx = major reason number (less than 65536.) (If neither p or u is used, assumes unplanned.) d xx:yy Reason for shut-down or rebooting (used for logging): c "msg" Message to be displayed in the interactive shutdown dialog box. (Valid range is 0-315360000, or 10 yrs, with a default of 0.) t x Set time-out before performing action to x seconds. m \computer Specify target/remote computer. It is shown before time-out is initiated.) v Show user confirmation before proceeding. arso Enables "Winlogon automatic restart sign-on". wrr Wait for updates to be installed and ready for reboot before proceeding. (Will exit with code 0 if updates are not ready, or 350 if they are.) crr Only check if updates are installed and ready for reboot. (Will exit with error code 1235 if updates are not ready.) irr Allow operations only if updates are installed and ready for reboot. WARNING: May result in the loss of unsaved data on target computer! (Can be used only during previous time-out period.) (Pre-Windows 10: Updates will not be installed.) g Install updates & reboot computer & restart registered applications. hs Install updates & initiate hybrid shut-down of computer. (Updates must be already downloaded on computer being rebooted.) (Updates must be already downloaded on computer being shut down.) Windows 10: This process may require to run as administrator for some options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |