Showing results for 
Search instead for 
Did you mean: 
New member
1 0 0 0
Message 1 of 2
Flag Post
HP Recommended

My computer keeps locking and going to sleep

Hp Pavillion Notebook
Microsoft Windows 10 (64-bit)


My computer has recently started "locking" and going to sleep randomly. It's not even from inactivity, i'll be typing something and it just goes to sleep. I've set all my settings so that my computer never goes to sleep and I've tried running HP PC Hardware Diagnostic tests but my computer goes to sleep in the middle of tests and I don't think I'm getting comprehensive results from it. Not sure what to do, this has been happening for about 2 weeks. 


HP Support Agent
HP Support Agent
11,578 11,569 571 628
Message 2 of 2
Flag Post
HP Recommended

My computer keeps locking and going to sleep



I'll be glad to assist you with this issue, to provide you with an accurate solution, I'll need a few more details:

Could you please help me with the exact model name or the product number?

Are you facing this issue after an update?

Have you tried any troubleshooting steps on your own?


Meanwhile, I suggest you download and run the HP Support Assistant from this Link:


HPSA will automatically search for all the latest drivers for your Notebook


  1. Click My devices in the top menu, and then click Updates in the My PC or My notebook pane.

    Click Updates in the My notebook pane

  2. Click Check for updates and messages to scan for new updates.

     Updates list in HP Support Center

  3. Review the list of updates. Updates with a yellow information icon are recommended. Updates with a blue information icon are optional.

  4. Click the update name for a description, version number, and file size.

  5. Select the box next to any updates you want to install, and then click Download and install.

Also, ensure Windows is up to date.


Select the Start button, and then go to Settings  > Update & security  > Windows Update, and select Check for updates. If Windows Update says your device is up to date, you have all the updates that are currently available


Refer to this document: for HP PCs - Sleep and Hibernate Issues.


Keep me posted, how it goes!

If the information provided was helpful, give us some reinforcement by clicking the Accepted Solution and Kudos buttons, that'll help us and others see that we've got the answers!


Thank you for joining the HP Community.

Have a great day!


I am an HP Employee 

0 Kudos
Be alert for scammers posting fake support phone numbers on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation