Checking status… Hyderabad doorstep laptop repair
How-To Guides

How to run HP PC Hardware Diagnostics from the F2 menu

LR LRW Engineer Team ~5 min read

Key takeaways

  • HP PC Hardware Diagnostics is a test program built into many HP laptops and desktops. It opens from the F2 key at startup, before Windows loads, so it works even if Windows does not.
  • Run the memory and storage tests first, since faults in these two parts can cause slowdowns, freezes and start-up failures. A Quick test is short, and an Extensive test checks more deeply.
  • Write down or photograph the failure ID if a test fails. It is a code that lets HP and a technician see which part failed, and it may disappear when you restart.
  • Diagnostics only tests. It does not repair anything and does not delete your files, but a failed storage test is a signal to back up your data soon.

Your HP Pavilion, Victus, ProBook or EliteBook has started freezing, restarting or refusing to boot, and you want to know whether the hardware is at fault before you pay anyone. This guide is for ordinary owners, with no technical background needed. You will learn how to open HP's built-in test menu, which tests to run first, how to read the result, and what to tell a technician. The steps take a short while, and you do not need any tools.

How do I run HP PC Hardware Diagnostics from the F2 menu?

Short answer: Switch the HP off, then switch it on and press the F2 key again and again until the HP menu appears. Choose HP PC Hardware Diagnostics UEFI (a test tool that runs before Windows), then pick Component Tests. Run the Memory test and the Hard Drive or Storage test first. If a test fails, note the failure ID shown on screen.

Before you start

  • Plug in the charger. A test that stops when the battery runs out tells you nothing.
  • Remove USB drives, SD cards and other accessories.
  • Save your work and close everything first, because the tests need a restart. Keep a phone ready to photograph the screen.

The wording of menus can differ slightly between HP models and versions, so use this guide as a map and not as an exact script.

What are the steps?

1. Shut down fully

Choose Shut down from Windows, or hold the power button until the HP switches off. A full shutdown gives a clean start.

2. Open the menu with F2

Press the power button, and at once start tapping F2 about once a second (some models use a different key, such as Esc for a start-up menu, so follow the key shown on your screen). If Windows begins to load, you were late. Shut down and try again. On some HP models the Esc key opens a start-up menu first, with an F2 choice inside it.

3. Choose the diagnostics

Pick HP PC Hardware Diagnostics UEFI from the menu. UEFI is the modern form of the small program that starts the laptop before Windows loads. You will see options such as Component Tests and System Tests.

4. Run the tests in a useful order

Go to Component Tests and run the following, in order:

  1. Memory. This checks the RAM (the short-term working memory). Errors here can cause random restarts and blue screens. Choose the Quick test first, then the Extensive test if the Quick one passes and the trouble continues.
  2. Hard Drive or Storage. This checks the drive that holds Windows and your files. A failure here is a warning sign for your data.
  3. Processor and others. Tests for the processor, battery, fan and other parts may be listed. Run any that match your symptoms.

An Extensive test can take a long time, so keep the charger plugged in and leave the laptop alone until it finishes.

How do I read the result?

ResultWhat it meansWhat to do
PassedThe test found no fault in that partThe trouble may be software or another part
Failed, with a failure IDThe test found a faultNote the ID and contact a technician
Test stops or screen freezesCan point to a heat, power or board problemDo not repeat it often, ask a technician

A pass does not prove everything is fine. It only says the test did not find a fault at that moment. If a storage test fails, copy your important files to another drive soon and avoid heavy use. Our guide to backing up before a laptop repair shows how.

What do I tell the technician?

Share the failure ID, which test failed (Memory or Hard Drive), the model name printed on the laptop, and what the HP was doing before the trouble. Also say whether the laptop is under HP's warranty. A laptop still under warranty should go to HP's own service first, and keep the failure ID handy. We repair laptops out of warranty, or when the owner chooses independent repair. Our HP RAM upgrade page and SSD upgrade page cover related fixes for failed parts.

Heat, dust and power cuts when you test an HP in India

A laptop clogged with dust, or one used in a hot room, can fail a test or freeze in the middle of it for reasons that clearing the vents would fix. Let the laptop cool for a few minutes before you test, and keep it on a hard surface. Run the tests with the charger connected and, where power cuts are common, on a UPS so the test does not stop half way. Our article on brownout and UPS protection for laptops explains the choices.

When to get help

Stop and ask a technician if a test fails, if the F2 menu will not open at all, if the laptop shuts down during the test, or if the HP will not start. Our HP hub lists what we repair, and doorstep visits are possible through our HP service page for Secunderabad. ₹149 doorstep visit fee, waived when you approve laptop repair with us.

A note from the LRW Engineer Team

Run the diagnostics when the laptop is healthy, too, and note that the tests passed. If trouble comes later, you have a baseline to compare with. And never skip the backup. A storage warning is easy to ignore until the day the laptop stops starting.

Share this guide
Common questions

HP Diagnostics F2 Menu — FAQ

Related services

Repairs customers book alongside this

HP Laptop Repair

Pavilion, Victus, ProBook and EliteBook repair

HP RAM Upgrade

Memory fitted and tested for HP laptops

HP SSD Upgrade

Faster, healthier storage for HP laptops

HP Data Recovery

Files recovered from laptops that will not start

Verified on Justdial

Hyderabad customers, in their own words.

Real ratings from customers across Hyderabad. Tap the badge to read live reviews on Justdial.

JUSTDIAL REVIEWS

HP diagnostics failed or the laptop will not start? Tested and explained plainly

Doorstep service across 100+ Hyderabad zones, or courier your laptop to us from anywhere in India. ₹149 doorstep visit fee, waived when you approve laptop repair with us. 30-day warranty. No Fix No Fee.