The following are the minor reason flags. They modify the specified major reason flag. You can use any minor reason in conjunction with any major reason, but some combinations do not make sense.
The following combinations are recognized by the system. The table indicates the string that is displayed in the Shutdown Event Tracker, and provides a more detailed description.
The default string is "No title for this reason could be found. You can also define your own shutdown reasons and add them to the registry. This key contains value names of the following form: xxxxx ; nnn ; nnnnn.
The semicolons delimit the components of a value name. The order in which the flags are used is not important. For example, CSP indicates a planned shutdown where the expected shutdown dialog box is displayed, and a comment is required.
Major reason. This component must be a number in the range The range is reserved for use by the system. Custom reasons are sorted in the user interface by major reason number, then by minor reason number.
No two custom reasons can use the same major and minor reasons, unless one is planned and the other is unplanned.
Otherwise, the system will use the first instance and ignore the others. The first string is a title string to be displayed in the shutdown dialog box, and written to the event log. The maximum size is 64 characters. Title strings must be unique. Custom titles cannot match the standard titles defined by the system, or another custom title. The second string is a description string to be displayed in the shutdown dialog box; it is optional. The maximum size is characters. Skip to main content.
Exit focus mode. The following are the major reason flags. They indicate the general issue type. The following optional flags provide additional information about the event.
For more information, see Defining a Custom Reason Code. If this flag is not present, the reason code is defined by the system. This file contains system state information such as the processes, threads, memory usage, and configuration. If this flag is not present, the shutdown was unplanned. Notification and reporting options are controlled by a set of policies. For example, after logging in, the system displays a dialog box reporting the unplanned shutdown if the policy has been enabled.
Remarks The following combinations are recognized by the system. Applications should use the InitiateSystemShutdownEx function.Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Learn how to collaborate with Office Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services. You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number.
I moved parts to a new PC case and then suddenly I get the random sleep and random shut downs. It happens at random, sometimes 1 hour later and sometimes 12 hours later. I tried everything I could think off but nothing seems to be fixing this issue. I thought maybe my new GTX was an issue and this is the response I received a few days ago.
Check that your connections inside the case to the motherboard's power pins are secure, and if the board has a physical power button on it, that nothing is making contact with the button.
Make sure that the button on the case isn't sticking, and that your keyboard doesn't have a power button that you might be hitting accidentally. Please help, I am getting fed up. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Have you tried adjusting the settings when should my pc shut down. Try switch them off. Did this solve your problem? Yes No. Sorry this didn't help. We would appreciate if you could provide more details about your concern.
If yes, what are those troubleshooting steps? We suggest that you contact your device's manufacturer for more information about diagnosing the problem. I suddenly started having this issue as well. Its possible it can be a fault on the PSU itself, or an issue with the power buttons on the case so check the buttons are not catching and are connected properly.
Its also possible the fault may lie in the system board itself. However I did stop the irritating shutdown by going into Power Options, Change Advanced Power Settings, scroll down to "Power buttons and lid" and change the setting for "Power button action" and "Sleep button action" to "Do nothing". Obviously this will affect the operation of these button but it may help keep the PC running whilst you diagnose the root cause.
I haven't found it myself yet, my machine seems fine, the temperatures are all within range and performance is Ok so I'm suspecting my PSU as its 5 years old.
April 14, Keep in touch and stay productive with Teams and Officeeven when you're working remotely. Site Feedback. Tell us about your experience with our site.
DiabolicalJavi Created on March 30, I have the same question Ronald J W Replied on March 30, Thanks for marking this as the answer. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site.Need support for your remote team? Check out our new promo! IT issues often require a personalized solution. Why EE? Get Access. Log In.
Web Dev. NET App Servers. We help IT Professionals succeed at work. UserCP asked. High Priority.
Last Modified: I have quite a few instances were windows 10 systems reboot with reason Kernel-API in the details there are 3 additional values which I can not find explained anywhere this following example seems common Start Free Trial.
View Solutions Only. Michael Pfister. Commented: Distinguished Expert This award recognizes someone who has achieved high tech and professional accomplishments as an expert in a specific topic. Add details. What do you know about the problem and where do you gather what you quote?Keep in touch and stay productive with Teams and Officeeven when you're working remotely.
Learn how to collaborate with Office Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services. You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number.
Recently, in the days interval, my Lenovo laptop running Windows 10 would randomly shut down. What worries me is that these shutdowns occur whenever I was NOT present in front of the computer and room. I've poured through the logs in Windows Event Viewers and noticed the "Critical" and several "Warning" entries with kernel-power in the description. I'm not a tech expert, so I'm not sure what these mean, and I'm hoping to get some answers here. When I searched the web, there are mentions of not-up-to-date drivers causing the shutdowns.
I'm hoping it's not a hardware problem causing a power surge. Based on the information that you provided, we suggest that you run a fix for Windows update errors. Kindly refer to the link below for the application and guidelines on how to fix Windows update errors.
Did this solve your problem? Yes No.
Sorry this didn't help. Could the system's failed attempt to update cause a shutdown? If you are running Malwarebytes Anti-Malware Premium in support of another anti-virus product to avoid conflicts you need to set up the exclusions described under Real-Time Scanning in the next link:.
Windows 10 kernel-power shutdown?
Please provide more information so that the cause of your problem may be diagnosed. Please restart your computer and allow 20 minutes for the system to run before uploading information required to help me investigate your problem.
When examining Event Viewer log files many, not all, problems show in the period immediately after the computer has been booted. Please provide a copy of your System Information file. Place the cursor on System Summary. Select File, Export and give the file a name noting where it is located. Click Save. Files in the txt file format are preferred. Do not place the cursor within the body of the report before exporting the file. The system creates a new System Information file each time system information is accessed.
You need to allow a minute or two for the file to be fully populated before exporting a copy. Please upload the file to your OneDrive, share with everyone and post a link here.
If the report is in a language other than English, please state the language. Please upload to your OneDrive and share with everyone a copy of your System log file from your Event Viewer and post a link here. Please remove any earlier copies of the logs from your OneDrive. From the list in the left side of the window select Windows Logs and System. Place the cursor on System, select Action from the Menu and Save All Events as the default evtx file type and give the file a name.
Do not provide filtered files. Do not place the cursor in the list of reports before selecting Action from the menu. Do not clear logs whilst you have a continuing problem.The server may shut down a few times in a day or wait a week until it happens again, leaving no pattern to go off of.
The kernel power manager has initiated a shutdown transition. Shutdown Reason: Button or Lid
This server is running SQL Server for a finance application. I have adjusted Power Options, Windows Update this VM is on the latest versionno scheduled task, AV has temporarily been turned off, backups have been turned off and done manually. I cannot find anything that would be forcing a shutdown. I have also combed through the logs from VMware and do not see anything there either.
The kernel power manager has initiated a shutdown transition. I did a google search and it did return a few results and it does seem to be a legit issue for a few users. However I did not find a definitive resolution to how they were able to solve it.
Do you have another domain controller on the network and if so, does the Essentials server hold all FSMO roles? If not, that can cause regular shutdowns but there should be other messages in the event log.
I don't know when being over licensed comes into play, if at all, or when. I have an Essentials at a client that is about 10 users overlicensed and constantly complains but it doesn't shut down. I considered those, but it seems to be happening consistently once a week at roughly the same time. I am going to be checking the UPS when I get out there this afternoon just to confirm.
The kernel power manager has initiated a shutdown transition. - Win 7
Also the event says the system was shutdown, just cant figure out what told it to. Is it on a UPS that could maybe handle power spikes or brownouts? Because it sounds like it is going into hibernate or something. Or the BIOS could be causing the shutdown. Do you have more than one VM running on that host? If it is just this one It may be failing Hardware of some Kind. This host is setup redundantly on two APC Battery Backups that were recently purchased a few months back.
There are multiple VMs on this host and the only one that does the shutdown. Yes, there are several VMs that run on this host with the one mentioned in the OP being the only one to shut down. So you have more or less ruled out hardware and power delivery, that leaves software. So built the same way as others on the host?
Any GPOs special for that vm compared to others? It could take a while to track down the actual reason for the shut down, it might be easier, if it is possible, to spin up a new clean SQL server and transfer the data to the new server.
System Shutdown Reason Codes
Built the same way and and have confirmed none of my GPOs are causing this action. Your windows license might expired, if so windows is going shuts down every one hour. Get answers from your peers along with millions of IT pros who visit Spiceworks.
Please help!!! I'm at a lost and cannot for the life of me figure out what is going on. We found 5 helpful replies in similar discussions:. Fast Answers! Was this helpful? Hope that helps.Skip to main content. Exit focus mode. ExitWindows Logs off the interactive user. ExitWindowsEx Logs off the interactive user, shuts down the system, or shuts down and restarts the system.
InitiateShutdown Initiates a shutdown and restart of the specified computer, and restarts any applications that have been registered for restart. InitiateSystemShutdown Initiates a shutdown and optional restart of the specified computer. InitiateSystemShutdownEx Initiates a shutdown and optional restart of the specified computer, and optionally records the reason for the shutdown.
LockWorkStation Locks the workstation's display. ShutdownBlockReasonCreate Indicates that the system cannot be shut down and sets a reason string to be displayed to the user if system shutdown is initiated.Kernel Power 41 Critical Error Restart shutdown problem Fix Latest Solution 2017
ShutdownBlockReasonDestroy Indicates that the system can be shut down and frees the reason string. Related Articles Is this page helpful? Yes No. Any additional feedback? Skip Submit. Is this page helpful? Initiates a shutdown and restart of the specified computer, and restarts any applications that have been registered for restart. Initiates a shutdown and optional restart of the specified computer, and optionally records the reason for the shutdown.
Indicates that the system cannot be shut down and sets a reason string to be displayed to the user if system shutdown is initiated. Retrieves the reason string set by the ShutdownBlockReasonCreate function.Net Forums General Hardware General.
Solved Computer Shutting off Randomly. Initially, this only happened about 10 minutes after a cold boot. The computer would just shut off.
No shutdown dialogue, no error message, nothing. Just shuts off like I pressed the power button. Then, after starting it back up, it would either start up just fine and have no problems for the rest of the day or it would shut off again either mid boot or after booting up and then maybe one or two more times after before being fine for the rest of the day.
Sometimes when shutting off mid-boot it would give me a BSOD or the screen would just be black. The computer would be on, but nothing would be showing on the screen at all. The mouse and keyboard would not be on, either. Anyways, I looked in the windows event viewer and it doesn't have the event listed as being due to an error or power failure or anything. Now the computer just shuts off whenever it feels like it. Completely random.
Seemingly no rhyme or reason to it. I just recently thought that it might be an issue with the graphics card, considering I decided to open up the chassis and take a look at it while it was running just to see if there was a problem with the fans or something. The fan on the GPU starts, then stops, then starts, then stops, and does this over and over.
I've heard that this is not usual behavior for a GPU fan. Though, I'm not so sure now that the random shutdowns is a side effect of the graphics card overheating. When I look at the temps in HWMonitor, the graphics card doesn't get any higher than 65 degrees Celsius when idling.
In the event viewer, for some reason the event I had previously listed doesn't even show up anymore. However, I do notice that there seems to be a spam of events listed as Kernel-Power that say "The kernel power manager has initiated a shutdown transition. Can anyone make anything of this?
See More: Computer Shutting off Randomly. Let me go through these logs. If your default download location is not the Desktopdrag it out of it's location onto the Desktop. If we have to run Farbar more than once, refer this SS. If you are not sure which version applies to your system download both of them and try to run them.