{"id":10415,"date":"2019-07-20T06:34:26","date_gmt":"2019-07-20T01:04:26","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=10415"},"modified":"2023-08-05T23:16:10","modified_gmt":"2023-08-05T17:46:10","slug":"windows-logs-off-user-when-shutdown-or-hibernate","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/windows-logs-off-user-when-shutdown-or-hibernate\/","title":{"rendered":"Windows Logs Off when Shutdown or Hibernate is used"},"content":{"rendered":"<p>Over these years, at least since the Windows 7 era, we&#8217;ve seen several cases where the system logs you off when clicking on the Shutdown or Hibernate option in the Start menu. The problem may be seen in Windows 8, Windows 10, or 11 systems as well.<\/p>\n<p>What causes Windows to log off the account instead when the shutdown or hibernate option is used?<!--more--><\/p>\n<h2>Cause<\/h2>\n<p>During hibernation, Windows reads the contents in the memory and dumps it into a file named hiberfil.sys on the system drive&#8217;s root. The crash dump feature uses the same technology to dump the memory contents to a file (.dmp) on your hard disk after a system crash. Both hibernate and crash dump features use a special filter driver named <code>dumpfve.sys<\/code> to do the task of dumping the memory to a file.<\/p>\n<p>The file <code>dumpfve.sys<\/code> is mentioned in the following registry key, in a REG_MULTI_SZ value named <code>DumpFilters<\/code><\/p>\n<pre>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\CrashControl<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10416\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/crash-dumpfilters-registry.png\" alt=\"windows logs off when shutdown or hibernate is used\" width=\"701\" height=\"283\" \/><\/p>\n<p>The multi-string registry value allows third-party providers to add the crash dump filter drivers &#8212; e.g., Truecrypt.sys from TrueCrypt, MfeEpeOpal.sys from McAfee Endpoint Encryption, or Daemon Tools filter driver, etc. Most disk encryption products typically also want to encrypt hibernation &amp; crash dump files and add their dump filters in the above registry key.<\/p>\n<p>The dump filter drivers mentioned in the registry key are loaded when crash dump or hibernation is initialized. If Windows is unable to load the filter drivers during the hibernate process, it generates an event log entry with the Event ID 45. The event log entry looks like the following:<\/p>\n<pre>Log Name: System \nSource: volmgr \nEvent ID: 45 \nTask Category: None \nLevel: Error \nKeywords: Classic \nDescription: \nThe system could not successfully load the crash dump driver.<\/pre>\n<p>Additionally, when you go to the Details tab in this event and then select friendly view, you may notice the following:<\/p>\n<pre>Binary data:\n\nIn Words\n\n0000: 00000000 00000001 00000000 C004002D \n0010: 00002005 C0000034 00000000 00000000 \n0020: 00000000 00000000\n\nC0000034 - means STATUS_OBJECT_NAME_NOT_FOUND\n\nC004002D - means IO_DUMP_DRIVER_LOAD_FAILURE<\/pre>\n<p>The problem may occur during the <strong>shutdown<\/strong> as well. <strong>How?<\/strong><\/p>\n<p>If <a href=\"https:\/\/www.winhelponline.com\/blog\/disable-hibernation-without-disabling-fast-startup\/\">Fast Startup<\/a> is enabled, the system logs off all the user sessions completely and then hibernates the system instead of performing a <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-determine-the-last-shutdown-date-and-time-in-windows\/\">clean shut down<\/a>. Fast Startup relies upon the hibernation feature, dumping the kernel memory to hiberfil.sys file. When the fast startup is enabled and a user shuts down the computer, all sessions are logged off, and the computer is supposed to enter hibernation. As part of the hibernation process, Windows initializes the system&#8217;s memory dump configuration. If the filter driver(s) is not loaded, it fails to hibernate, and brings you back to the Windows lock screen or the sign-in screen.<\/p>\n<p><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/disable-hibernation-without-disabling-fast-startup\/\">Disable Hibernation Without Disabling Fast Startup<\/a><\/p>\n<h3>Workarounds<\/h3>\n<p>To avoid the problem from happening during shutdown (not hibernate), you can <a href=\"https:\/\/www.winhelponline.com\/blog\/incorrect-uptime-taskmgr-wmi-refresh\/\">disable fast startup<\/a> or bypass fast startup during shutdown on a per-session basis by running the command <code>shutdown.exe \/s \/t 0<\/code> to shut down the computer.<\/p>\n<p>Or, disable Fast Startup via Power Options:<\/p>\n<ol>\n<li>Open Control Panel \u2192 All Control Panel Items \u2192 Power Options (or run <code>powercfg.cpl<\/code>)<\/li>\n<li>Click <strong>Choose what the power buttons do<\/strong><\/li>\n<li>Click <strong>Change settings that are currently unavailable<\/strong><\/li>\n<li>Uncheck <strong>Turn on fast startup<\/strong><\/li>\n<li>Click OK.<\/li>\n<\/ol>\n<p>However, turning off fast startup is a compromise. It&#8217;s not a feasible thing to do for most users, as the restart process in Windows continues to perform a full boot cycle, without the hibernation performance benefits.<\/p>\n<h2>Resolution<\/h2>\n<p>To fix the problem, remove third-party crash dump filter driver references from the registry using the following steps:<\/p>\n<ol>\n<li>Start the Registry Editor (<code>regedit.exe<\/code>) and go to the following key:\n<pre>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\CrashControl<\/pre>\n<\/li>\n<li><a href=\"https:\/\/www.winhelponline.com\/blog\/automatically-backup-registry-hives-windows-10\/#export_reg_file\">Backup<\/a> the key by exporting it to a .reg file.<\/li>\n<li>Double-click the <code>DumpFilters<\/code> multi-string value.<\/li>\n<li>Remove all the third-party filter drivers listed in the value. Note that the Windows default driver <strong>dumpfve.sys<\/strong> should <strong>not<\/strong> be removed.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/dumpfilters-registry.png\" alt=\"dumpfilters registry value\" width=\"674\" height=\"321\" class=\"alignnone size-full wp-image-59424\" \/><\/li>\n<li>Exit the Registry Editor.<\/li>\n<li>Restart Windows.<\/li>\n<\/ol>\n<p>The hibernate and shutdown features should now work correctly &#8212; with or without Fast Startup enabled.<\/p>\n<p><em>If you want to resolve the issue <strong>without<\/strong> removing 3rd party dump filter drivers, contact the software vendor for an updated version of their product to support the latest <a href=\"https:\/\/www.winhelponline.com\/blog\/find-windows-10-build-version-edition-bit\/\">version and build<\/a> of Windows &#8212; e.g., Windows 10 v22H2.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over these years, at least since the Windows 7 era, we&#8217;ve seen several cases where the system logs you off when clicking on the Shutdown or Hibernate option in the Start menu. The problem may be seen in Windows 8, Windows 10, or 11 systems as well. What causes Windows to log off the account &#8230; <a title=\"Windows Logs Off when Shutdown or Hibernate is used\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/windows-logs-off-user-when-shutdown-or-hibernate\/\" aria-label=\"Read more about Windows Logs Off when Shutdown or Hibernate is used\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[191,441],"class_list":["post-10415","post","type-post","status-publish","format-standard","hentry","category-windows","tag-error-messages","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":23829,"url":"https:\/\/www.winhelponline.com\/blog\/move-hiberfil-sys-hibernation-another-drive\/","url_meta":{"origin":10415,"position":0},"title":"Can I move Hibernation file (hiberfil.sys) to another drive?","author":"Ramesh","date":"April 26, 2021","format":false,"excerpt":"When you hibernate your computer, the system dumps the entire memory contents to a file named hiberfil.sys in the system root folder. It's a hidden & system file whose default size is 40 percent of total physical memory (RAM) on a Windows 10 computer. The fast startup feature also uses\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"hibernation file move using regedit","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1283,"url":"https:\/\/www.winhelponline.com\/blog\/restore-hibernate-option-winx-menu-windows-8-10\/","url_meta":{"origin":10415,"position":1},"title":"Restore &#8220;Hibernate&#8221; to the Start Menu in Windows 10","author":"Ramesh","date":"December 2, 2013","format":false,"excerpt":"The Power user menu (Win + X) and the Start menu power button do not display Hibernate option by default in Windows 8 and Windows 10. However, the option can be enabled via the Power Options Control Panel, using these steps: Restore Hibernate Option to the Start & Win +\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/poweropt1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":77784,"url":"https:\/\/www.winhelponline.com\/blog\/no-power-options-available-shutdown\/","url_meta":{"origin":10415,"position":2},"title":"&#8220;There are currently no power options available&#8221; after removing LockDown Browser","author":"Ramesh","date":"February 4, 2025","format":false,"excerpt":"After installing and uninstalling the LockDown Browser for your school or university, the shutdown options may be missing from your Start menu. If you click the Power button, you will see the message, \"There are currently no power options available.\" Also, you cannot launch Task Manager, log off the account,\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"shutdown options empty - no power options available","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/02\/shutdown-flyout-empty.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4868,"url":"https:\/\/www.winhelponline.com\/blog\/disable-hibernation-without-disabling-fast-startup\/","url_meta":{"origin":10415,"position":3},"title":"How to Disable Hibernation Without Disabling Fast Startup","author":"Ramesh","date":"December 18, 2016","format":false,"excerpt":"Fast Startup is a feature in Windows 8 and 10, which speeds up the boot process significantly. With the Fast Startup feature enabled by default, when the user shuts down the computer, what happens under the hood is a hybrid shutdown sequence. When a user issues the shutdown command, all\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"hybrid sleep disabled - reduced mode","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/hybrid-sleep-missing.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":25233,"url":"https:\/\/www.winhelponline.com\/blog\/turn-on-fast-startup-missing-windows-11-10\/","url_meta":{"origin":10415,"position":4},"title":"&#8220;Turn on fast startup&#8221; option missing in Windows 11\/10","author":"Ramesh","date":"December 20, 2021","format":false,"excerpt":"Fast Startup is a feature in Windows 8\/10\/11 that speeds up the boot process significantly. With the Fast Startup feature enabled, when the user shuts down the computer, what happens under the hood is a hybrid shutdown sequence. However, on some computers, the Fast Startup and Hibernate features will be\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"fast startup option missing","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/12\/fast-startup-missing-power-options.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3151,"url":"https:\/\/www.winhelponline.com\/blog\/incorrect-uptime-taskmgr-wmi-refresh\/","url_meta":{"origin":10415,"position":5},"title":"Incorrect Uptime Reported by Task Manager and WMI. Refresh it Manually","author":"Ramesh","date":"May 29, 2016","format":false,"excerpt":"Task Manager's Performance tab (CPU section) shows the Uptime information of the system, but you may be wondering why your boot-up time doesn't match the uptime data reported. This is because Task Manager or WMI wouldn't deduct the duration of sleep\/hibernation when calculating uptime. And, with Fast Startup introduced and\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/05\/uptime1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/10415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=10415"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/10415\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=10415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=10415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=10415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}