Maelstorm Posted January 15, 2006 Posted January 15, 2006 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: InformationEvent Source: USER32Event Category: NoneEvent ID: 1074Date: 1/14/2006Time: 11:15:29 PMUser: NT AUTHORITY\SYSTEMComputer: WORKSTATION1Description: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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now