Jump to content

[Question] Shutdown Reason Codes


Recommended Posts

Posted

How do you use the shutdown reason codes for shutdown.exe? I have found the reason codes on Microsoft's website here, but the problem is the Major reson code. How do you translate the major reason code 0x00020000 into something that will be understood on the command line? I have tried something like this:

shutdown -r -f -t 120 -d p:2:17 -c "Your computer has been updated."

In the system log, I get this:

Event Type:	Information
Event Source: USER32
Event Category: None
Event ID: 1074
Date: 1/14/2006
Time: 11:15:29 PM
User: NT AUTHORITY\SYSTEM
Computer: WORKSTATION1
Description:
The process winlogon.exe has initiated the restart of WORKSTATION1 for the following reason: No title for this reason could be found
Minor Reason: 0x11
Shutdown Type: reboot
Comment: Your computer has been updated.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 11 00 02 80 ...€

Any ideas?


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...