Overview
This post details how I fixed a problem with my laptop where attempting to hibernate the computer resulted in it locking instead.
This seems to be a reasonably uncommon problem; there are results on Google but there is no clear one-size-fits-all solution. This is largely due to there being multiple reasons this can occur. Whilst you may be more likely to see this problem if you dual boot Windows with another OS, I started seeing the issue after upgrading my laptop's hard drive.
The Problem
Every day, when finished with the laptop, I click the hibernate button, close the lid and place the laptop away in a drawer. Since upgrading my hard drive however, I've found that the next morning the laptop's battery is completely drained and prompts me like I've let the computer running. Tracking that down today, I discovered that when the hibernate button is pressed now, the screen goes blank for a few seconds before returning me to the lock screen. Still fully powered on, just locked.
The Solution
The solution for me was to enable disk automounting. From Microsoft's tech support here:
When enabled (the default), Windows automatically mounts the file system for a new basic volume when it is added to the system, and then assigns a drive letter to the volume.The problem I was facing was the automounting was disabled on the new hard drive for some reason.
To fix, you need to run the following command from an elevated command window.
Put simply, line 1 enter the DISKPART utility. Line 2 enables automounting. Line 3 exits the DISKPART utility.
- c:\windows\system32>diskpart
- DISKPART> automount enable
- DISKPART> exit
You'll want to restart your machine after this. Once you have rebooted, you can see if this fix worked for you. As mentioned previously, this will only fix one of many possible problems that has the system of locking instead of hibernating, but if it does work for you, drop me a comment below.
Hello! Thanks a lot for this great tip. I tried to solve it on my laptop for a month with no results. After reading your article I also saw that the automount was disabled. You've made my day longer for few minutes as now the laptop starts much faster! :)
ReplyDeleteSo glad I could help.
DeleteI had thought the problem might be so obscure that it wouldn't help anyone out but glad to see that's not the case.
Indeed, it's such an obscure issue that I thought I wouldn't fix it... But finally your post appeared in google, so the puzzle has been resolved
DeleteThank you, you saved my day !! I was already getting depressed.
ReplyDeleteThanks for this VERY helpful post. My laptop is hibernating again as desired!
ReplyDeleteThanks this worked, but now after 2 weeks its back again :( Is this not a permanent solution? Please help.
ReplyDeleteSorry Don, it was permanent for me.
Deletebwahahaha it worked
ReplyDeleteand now it stopped working :(
DeleteWell done, it worked!!
ReplyDeleteae
ReplyDeleteAbsolutely genius, thanks you sir.
ReplyDelete