shutdown .exe /r /d p:0:0 not interpreted correctly

S

sejong

Per the shutdown.exe help, shutdown /r /d p:0:0 should generate "Other (Planned)" as the shutdown reason in Event 1074. Instead, it generates the "No title for this reason could be found", and the reason code of 0x81000000.

If the computer is restarted from the GUI, and the "Other (Planned)" reason is selected, Event 1074 does show "Other (Planned)" as the reason, and the reason code is 0x85000000.

Other reason codes used in shutdown.exe produce expected results. For example, shutdown /r /d p:4:2, generates Application: Installation (Planned) in Event 1074.

How can "Other (Planned)" be displayed in Event 1074 using shutdown.exe?

Thanks.




Continue reading...
 

Similar threads

Back
Top Bottom