• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
HP Recommended
HP All-in-One Desktop PC 22-dg0000i (8L0E4AV)

As I am working on my desktop All in One, the screen goes black for a couple of seconds then come back. This happens several times a day.

2 REPLIES 2
HP Recommended

Hi @HueyP,

Welcome to the HP Support Community! 

 

Thanks for reaching out about your query regarding PC shutting down randomly!  

We're thrilled to have the opportunity to assist you and provide a solution.

 

 

Try these troubleshooting steps:

 

1. Check Display Cable & Power Supply

  • Ensure the power cable is securely connected.
  • If using an external monitor, check the HDMI/VGA cable.
  • Plug the PC directly into a wall outlet, not a power strip.

 

2. Update Graphics Drivers

  • Press Windows + X and select Device Manager.
  • Expand Display Adapters.
  • Right-click your graphics card (Intel UHD/AMD/NVIDIA) and select Update driverSearch automatically for drivers.
  • Restart your PC after the update.

 

3. Adjust Power Settings

  • Press Windows + R, type powercfg.cpl, and press Enter.
  • Select High Performance or Balanced (not Power Saver).
  • Click Change Plan Settings > Change Advanced Power Settings.
  • Expand PCI Express > Link State Power Management and set it to Off.

 

4. Check Windows Updates & HP Support Assistant

  • Go to Settings > Update & Security > Windows Update and install pending updates.
  • Open HP Support Assistant and check for firmware or BIOS updates.

 

5. Scan for Malware

  • Run Windows Defender or Malwarebytes to check for any malware that could be affecting system stability.

 

 

Kuroi_Kenshi
I am an HP Employee

HP Recommended

6. Check Event Viewer for Errors

  • Press Windows + X → Select Event Viewer.
  • Go to Windows Logs > System and look for any critical errors around the time the black screen issue occurred.
  • Let me know if you find error codes!

 

7. Perform a Clean Boot

  • Press Windows + R, type msconfig, and hit Enter.
  • Under the Services tab, check Hide all Microsoft services.
  • Click Disable All, then Apply and restart the PC.
  • If the issue stops, a background app is causing it—reenable apps one by one to find the culprit.

 

8. Reset or Reinstall Graphics Driver

  • Press Windows + Ctrl + Shift + B (this restarts the display driver).
  • If the problem persists:
    • Open Device ManagerDisplay Adapters.
    • Right-click the driver → Uninstall device (check "Delete driver software").
    • Restart your PC; Windows will reinstall the driver.

 

9. Check for Overheating

  • Press Ctrl + Shift + Esc to open Task Manager.
  • Go to Performance and check CPU and GPU temperatures.
  • If temperatures exceed 80°C, clean the vents and use a cooling pad.

 

10. Run HP Hardware Diagnostics

  • Turn off the PC.
  • Turn it back on and immediately press F2 to open HP Hardware Diagnostics.
  • Run System Tests to check for hardware issues.

 

If the problem persists, let me know what steps you've tried and any error messages you found! 😊

 

 

I'm glad I could help! 😊 If this resolved your issue, please mark it as "Accepted Solution" and click "Yes" on "Was this reply helpful?"—your feedback not only keeps us going but also helps others find the solution faster! 👍

 

Take care and have an amazing day ahead! 🚀

 

Best regards,

Kuroi_Kenshi
I am an HP Employee

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.