To troubleshoot a laptop or PC, start with what it does when you press the power button, because that decides which fix applies. No lights at all points to power. Lights but a black screen points to the display, memory or graphics. A logo that loops or ends in “Automatic Repair” points to Windows’ startup files, and problems after Windows loads point to settings, drivers or heat.
Most of these can be fixed for free with a power reset, the Windows recovery menu and a handful of commands, all below in the order to try them. Almost every step comes from an official support page by Microsoft, Apple, Google or the hardware makers (one HP code comes from an HP employee on HP’s forum), and the section at the end tells you when to stop and get a repair quote instead.
Start here: what happens when you press power?
Pick the row that matches what you see, then go straight to its section. Trying fixes from the wrong row is how a ten-minute job turns into a weekend.
| What you see | Most likely area | First thing to try | Section |
|---|---|---|---|
| No lights, no fan, no sound | Charger, outlet, battery, power supply | Power reset: unplug, hold power 15–20 s | No power |
| Lights or fan, but a black screen | Display, graphics, memory | Windows+Ctrl+Shift+B, then an external monitor | Black screen |
| Beeps, or a light that blinks in a pattern | A part failed its startup check | Count the pattern, look it up | Codes |
| Logo, then stuck, looping or “Automatic Repair” | Windows startup files, a bad update or driver | Startup Repair in the recovery menu | Won’t start |
| “No bootable device” or “No boot device found” | Boot order, boot mode or the drive | Unplug USB drives, check the drive shows in BIOS | No boot device |
| Restarts or shuts off by itself | Heat, a stop error, power, memory | Reliability Monitor and Event ID 41 | Restarts |
| Won’t shut down, or won’t wake from sleep | Fast Startup, drivers, wake settings | Full shutdown command, powercfg | Sleep |
| Slow, disk stuck at 100%, or the drive clicks | The drive, or what’s using it | Task Manager, then drive health | Disk |
| Wi-Fi missing or won’t connect | Adapter, driver, network settings | Airplane mode, then the network commands | Wi-Fi |
| USB, HDMI or a second screen not working | Port power settings, display mode, driver | Another port, then Windows+P | Ports |
| Battery not detected or not charging | Charger wattage, battery driver, battery | Reinstall the battery driver | Battery |
Before you fix anything: three things to have ready
Three minutes of preparation saves you from the two ways troubleshooting makes things worse: losing files and getting locked out.
- Back up anything you can reach. If the laptop still starts, copy your documents to an external drive or cloud storage before you run repair commands or a reset. If a hard drive is clicking, do this first and nothing else (more under the disk section).
- Find your BitLocker recovery key. Many Windows laptops encrypt the drive, and Microsoft says several recovery tools, including Startup Repair, System Restore and Safe Mode from the recovery menu, ask for the key on an encrypted device (Startup Repair, System Restore, Startup Settings). If you signed in with a Microsoft account, it’s at aka.ms/myrecoverykey from any phone or other computer; work and school accounts use aka.ms/aadrecoverykey. Microsoft can’t recover a lost key for you (Microsoft).
- Know your maker’s startup keys. The diagnostics and boot menus below are opened by tapping a key as the logo appears. The table has the ones the makers publish.
| Maker | BIOS / setup | One-time boot menu | Built-in hardware test |
|---|---|---|---|
| Dell | F2, tapped about once a second at the Dell logo | F12 | F12, then Diagnostics |
| HP | Esc or F10, pressed repeatedly at the logo | See your user guide | F2 repeatedly right after pressing power (HP PC Hardware Diagnostics) |
| Lenovo ThinkPad / ThinkBook | F1 or F2 | F12 | F10 on some recent ThinkPads, or Hardware scan in Lenovo Vantage |
| Lenovo IdeaPad | Novo button, or Fn+power with the laptop off | Novo button menu | Hardware scan in Lenovo Vantage |
| Mac (Apple silicon) | Hold power until “Options” appears | Same startup options screen | At Options, hold Command-D (Apple Diagnostics) |
| Mac (Intel) | Command-R for macOS Recovery | Hold Option at startup | Hold D at startup (Option-D over the internet) |
| Chromebook | None | Esc+Refresh+Power opens recovery | Settings > About ChromeOS > Diagnostics |
No lights, no fan: the laptop or PC won’t turn on
If nothing lights up at all, power isn’t reaching the board, and Dell says exactly that: “If the LEDs are off, power isn’t reaching your computer.” Most of the time the cause is the charger, the outlet or leftover charge stuck in the electronics, not a dead motherboard.
1. Rule out the outlet and the charger
Plug the charger straight into a wall outlet you know works, not a power strip or surge protector; Dell, HP and Lenovo all say this (Lenovo). Check the adapter’s own light if it has one: Dell says if that LED stays off after you reseat the cable, replace the adapter (Dell). Look over the cable and plugs for damage.
Use the charger that came with the laptop, or one of the same wattage. Microsoft notes that a charger that isn’t powerful enough can leave a laptop “charging slowly or discharging”, and that USB-C without Power Delivery tops out at 5V, 3A, 15W (Microsoft). Our USB-C charger checker tells you whether a given charger is enough for your model.
2. Do a power reset (drain the leftover charge)
A power reset clears charge held in the board’s capacitors, which can stop a laptop from starting even with a good charger. Dell explains that capacitors “can store residual or static electricity” even when the computer is off and unplugged. The makers give slightly different hold times:
| Device | What to do | Source |
|---|---|---|
| Dell desktop, or laptop with a removable battery | Unplug the power (and remove the battery), disconnect USB devices, hold the power button 15 to 20 seconds, reconnect, power on | Dell |
| Dell laptop, real-time clock (RTC) reset on some models | With the charger plugged in, hold power 30 to 35 seconds until the power light blinks three times. Under 25 or over 40 seconds cancels it | Dell |
| HP laptop | Unplug the charger, remove the battery if it comes out, hold power 15 seconds. Sealed battery: leave it charging 15 to 30 minutes, then try again | HP Tech Takes |
| Lenovo | Shut down, remove power, wait about 30 seconds, reattach and power on | Lenovo |
| Lenovo with a built-in battery that’s frozen | Unplug everything, hold power about 7 seconds, reconnect the charger. Models with an emergency-reset hole: unplug, press a straightened paper clip into the hole, reconnect | Lenovo user guide |
| Mac | Hold the power button about 10 seconds, then press it normally. Unplug all accessories and try again | Apple |
| Chromebook | Hold Refresh and tap Power. Or hold Back+Refresh+Power for at least 10 seconds |
3. Desktop PC: test the power supply
Many Dell desktop power supplies have a self-test button. Unplug the cable, hold the PC’s power button 15 to 20 seconds, plug back in and press the button on the power supply: “If the LED turns on, the power supply is functioning properly” (Dell). Dell also suggests swapping in the monitor’s power cable to rule out a bad cord.
Still nothing after a known-good charger and a power reset? That’s a hardware fault, usually the charging port, the battery or the board. Our planned guide on a laptop that won’t turn on goes deeper into charging lights and repair costs.
Power light on, but a black screen
If lights come on or the fan spins but the screen stays black, the laptop is running and something between it and the picture has failed. The quickest test tells you whether it’s Windows’ graphics or the screen itself.
- Press Windows+Ctrl+Shift+B. Microsoft says this resets the graphics driver; a beep or a flicker means it worked (Microsoft).
- Press Windows+P, then P again and Enter. This cycles between screen modes, which fixes a laptop stuck sending its picture to a TV or projector that isn’t there.
- Plug in an external monitor or TV. HP’s test: if a picture appears there, the built-in screen or its cable has failed; if nothing appears on either, HP points to the graphics chip or motherboard (HP).
- Force a restart. Microsoft: press and hold the power button for 20 seconds.
- Run the maker’s screen test. Dell laptops: hold D and press power until colors fill the screen. If the colors look right, the panel works and the fault is in drivers or settings (Dell).
Black screen with only a mouse pointer after you sign in is a different, usually software, problem: Microsoft’s fixes are restarting Windows Explorer from Task Manager (Ctrl+Shift+Esc), Safe Mode and rolling back the graphics driver. Our black screen with cursor guide covers that case step by step.
Desktop PC: fans spin, no picture
On a desktop with a graphics card, the most common miss is the monitor cable in the wrong socket. MSI and GIGABYTE both say to connect the monitor to the graphics card’s outputs, not the motherboard’s, when a card is fitted (MSI, GIGABYTE). Then check the monitor is on the right input.
If the cable is right, the motherboard’s debug lights narrow it down.
Dell’s steps for reseating memory apply to any PC: power off, unplug, open the case (or a laptop’s bottom cover), remove and reinsert each memory module, then power on (Dell). To clear CMOS on an ASUS board, unplug the power cord and press the Clear CMOS button, or short the CLRTC pins, for about 5 to 10 seconds; then enter BIOS and load the defaults (ASUS).
Beeps and blinking lights: read the code
A laptop that beeps or blinks a light in a repeating pattern at startup is telling you which part failed its self-test. The patterns are model-specific, so look yours up in the user guide, but these are the published codes for common models.
| Maker | Pattern | What it points to |
|---|---|---|
| Dell Inspiron | 2 amber, 1 white | Processor fault |
| Dell Inspiron | 2 amber, 3 white / 2,4 / 2,5 | Memory: none detected / faulty (reseat it) / invalid |
| Dell Inspiron | 2 amber, 7 white / 2,8 | Screen fault / screen power rail fault |
| Dell Inspiron | 3 amber, 1 white | CMOS battery fault |
| Dell Inspiron | 3 amber, 2 white | Video card or graphics chip |
| Lenovo ThinkPad (battery light) | 2 amber, 1 white (code 0282) | Memory module error |
| Lenovo ThinkPad (battery light) | 3 amber, 3 white (code 0288) | Display error: test an external monitor |
| Lenovo ThinkPad (battery light) | 3 amber, 1 white (code 0286) | Integrated graphics (system board) |
| HP (Caps Lock light) | 3 long, 2 short blinks | Usually memory, according to an HP employee on HP’s forum |
| Lenovo (beeps) | Any beep pattern | Decode it with Lenovo’s SmartBeep phone app; press Fn to replay the beeps |
Dell adds two tests worth knowing. On supported laptops, hold M and press power for a motherboard self-test: if the battery light stays off, the board passed; amber means a board problem (Dell). Dell’s Inspiron guide adds that the lights show how far startup got, so treat a code as where to look first, not proof that the part is dead (Dell).
Stuck on the logo, looping, or “Automatic Repair”
If the maker’s logo appears and then Windows hangs, restarts in a loop or shows “Automatic Repair couldn’t repair your PC”, the hardware is mostly fine and Windows’ startup is broken. A bad update, a driver or damaged startup files are the usual causes, and Windows’ recovery menu fixes most of them without losing files.
First, give it a chance
If the screen says “Working on updates”, wait. Microsoft documents a known case where updates hang for about 15 minutes, then restart and uninstall themselves (Microsoft). If the percentage hasn’t moved for well over that, hold the power button for 20 seconds to force it off (Microsoft). The update may then be left half-installed, which is what the recovery steps below are for.
Get into the recovery menu
Windows opens its recovery environment (WinRE) by itself after two failed starts in a row (Microsoft Learn). If it doesn’t, turn the PC on and hold the power button to cut it off as Windows starts loading. Microsoft says after doing this twice, Windows “should automatically boot into Windows RE on the third restart.” If Windows still runs, hold Shift and choose Power > Restart, or go to Settings > System > Recovery > Advanced startup > Restart now (Microsoft).
Microsoft’s order for the Automatic Repair loop on its own Surface laptops is Startup Repair, then System Restore, then Reset, and if the Automatic Repair screen appears again after that, it says “your Surface needs service” (Microsoft). The same logic applies to any Windows PC: if a reset doesn’t stop the loop, suspect the hardware. If the trouble started right after an update, put “Uninstall latest quality update” second, under Troubleshoot > Advanced options > Uninstall Updates (Microsoft). Startup Repair writes what it found to %windir%\System32\LogFiles\Srt\Srttrail.txt (Microsoft Learn).
Safe Mode is under Troubleshoot > Advanced options > Startup Settings > Restart. Then press 4 for Safe Mode, 5 for Safe Mode with Networking or 6 for Safe Mode with Command Prompt. From there you can uninstall the app or driver you added last.
Repair commands from the recovery Command Prompt
If the menus don’t fix it, open Troubleshoot > Advanced options > Command Prompt. One trap first: inside the recovery menu, the Windows drive often isn’t C:. Microsoft’s own example finds it with diskpart, so check before you run anything:
diskpart
list vol
exit
Look for the volume with your Windows size and label, and use its letter wherever these commands say C:. Then run, one at a time:
SFC /Scannow /OffBootDir=C:\ /OffWinDir=C:\Windows
That’s System File Checker run against a Windows that isn’t running; it replaces damaged system files. Next, check the drive for file-system errors and bad sectors:
chkdsk C: /f /r
Microsoft’s chkdsk page says /f fixes errors on the disk and /r “locates bad sectors and recovers readable information”, including what /f does (Microsoft Learn). On a big hard drive this can take hours. Skip this if the drive clicks or grinds: copy your files off first (see the disk section). If an update left changes half-installed, Microsoft’s boot guide gives:
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions
If the error mentions the boot configuration data (BCD), “Bootmgr missing” or a black screen with a blinking cursor, the startup files themselves are damaged. Microsoft’s sequence is:
BOOTREC /FIXMBR
BOOTREC /FIXBOOT
Restart. If it still fails, check that Windows is found, then back up the BCD store and rebuild it:
Bootrec /ScanOS
bcdedit /export c:\bcdbackup
attrib c:\boot\bcd -r -s -h
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd
Microsoft warns that /FIXMBR rewrites only the master boot code, so it might not fix the problem if the partition table itself is damaged (Microsoft Learn). The other tool Microsoft documents copies fresh boot files from the Windows folder to the system partition; use your Windows drive letter:
bcdboot C:\Windows
Commands from Microsoft Learn: Advanced troubleshooting for Windows boot problems (updated Feb 12, 2026), chkdsk and BCDBoot, checked Oct 28, 2026.
Once Windows starts again, finish the repair from an administrator Command Prompt with Microsoft’s two commands, in this order (Microsoft KB 929833):
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
Leave the window open until verification reaches 100%. “Found corrupt files and successfully repaired them” is the result you want. If it says it “could not perform the requested operation”, Microsoft says to run it again in Safe Mode. If it found corrupt files but couldn’t fix some, the details are in the CBS.log file, and the next step is the recovery menu or a repair shop.
“No bootable device” found
“No bootable device” means the laptop started fine but couldn’t find a drive with Windows on it. Either it’s looking in the wrong place, it’s set to the wrong boot mode, or the drive isn’t answering. Dell’s checklist works on any brand:
- Unplug every USB drive, card and dock. Dell notes a USB drive or dock can be mistaken for the startup device.
- Do a power reset (the table above).
- Run the maker’s hardware test (F12 > Diagnostics on Dell) and note any drive error.
- Open the BIOS (F2 on Dell) and check that your internal drive is listed under storage or system information.
- Put the internal drive first in the boot order, and make sure the boot mode is UEFI, not Legacy.
Two warnings from Dell. Changing the SATA setting (AHCI or RAID) on a working Windows install can cause an “Inaccessible Boot Device” error, so only change it back if you know it was changed (Dell). And if Windows was installed in UEFI mode, switching back to UEFI recovers it; if it was installed in Legacy mode, switching won’t, and Windows needs reinstalling (Dell). If the BIOS doesn’t list the drive at all, the drive or its connection has failed. Back up from another computer if you can and get it checked.
Restarts or shuts down by itself
A laptop or PC that restarts or switches off on its own leaves a record. Read it before you change anything: it tells you whether you’re dealing with a crash, a freeze, heat or power.
Read Reliability Monitor and Event ID 41
Reliability Monitor shows crashes and failed updates on a timeline. Open it by pressing Windows+R and typing perfmon /rel (Microsoft Learn), or search Windows for “View reliability history” (Dell). Look for critical events on the days it restarted; Dell says each one has a link to its technical details.
For detail, open Event Viewer, select the System log, choose Action > Filter Current Log and enter 41 in the Event IDs box (Microsoft Learn). Event 41 from Kernel-Power means “some unexpected activity prevented Windows from shutting down correctly” (Microsoft Learn). Its Details tab narrows it down:
Fix the cause it points to
- Heat. Intel says its processors throttle once a core passes the throttle temperature, and if that isn’t enough the chip “will automatically shut down to prevent permanent damage”; Intel’s maximum junction temperature is usually 100 to 110°C, depending on the model (Intel). Dell’s fixes: clean the vents, check the power plan and run the fan test in its diagnostics. If the case is swollen, smells burnt or chemical, or is still too hot to touch after shutting down, Dell says to turn it off, unplug it and stop using it, and not to remove a swollen battery yourself (Dell). See our planned guide on why a laptop overheats.
- A stop error (blue screen). Update Windows and drivers, then run DISM and
sfc /scannowas above. Dell also lists unticking “Automatically restart” under System failure: press Windows+R, typesysdm.cpl, then Advanced > Startup and Recovery Settings (Dell). Microsoft confirms the box is on by default (Microsoft Learn). - Memory. Microsoft suggests the Windows Memory Diagnostic tool for memory errors (Microsoft Learn); an older Microsoft page starts it by typing
mdschedin Start (Microsoft archive). The makers’ own hardware tests check RAM too (Dell). - Power. A worn battery, the wrong charger or a failing desktop power supply can all cut out under load. Run the battery report in the battery section, and on a desktop, the power supply self-test above.
If it freezes rather than restarts, our planned guide on why a laptop keeps freezing follows the same clues.
Won’t shut down, or won’t wake from sleep
Both problems usually come from Windows’ power settings or a device that keeps the PC awake, not from hardware. Two built-in tools show you which.
Won’t shut down properly
Fast Startup is the first suspect. With it on, Shut down doesn’t fully close Windows: Microsoft says the kernel session is hibernated to disk instead, while Restart is a full restart (Microsoft Learn). For a true shutdown, open Command Prompt and run:
shutdown /s /t 0
/s shuts down and /t 0 means now; without it, Windows waits the default 30 seconds (Microsoft Learn). If shutdowns hang every time, Dell’s fix list is to disconnect docks and USB devices, then turn off Fast Startup: Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable > untick “Turn on fast startup” (Dell). Microsoft doesn’t recommend leaving it off for good, so turn it back on once you’ve found the cause.
Wakes up by itself, or won’t wake
Windows’ powercfg tool answers “what woke it?” and “what’s keeping it awake?”. Run these from an administrator Command Prompt (Microsoft Learn):
| Command | What it shows |
|---|---|
powercfg /requests | Apps and drivers currently keeping the PC awake |
powercfg /lastwake | What woke the PC from its last sleep |
powercfg /waketimers | Scheduled tasks set to wake it |
powercfg /devicequery wake_armed | Devices allowed to wake it, such as a mouse or network adapter |
powercfg /availablesleepstates | Which sleep modes it supports (short form: /a) |
powercfg /sleepstudy | A report of Modern Standby sleep over the last 3 days |
powercfg /energy | A 60-second scan for common power and battery problems, saved as an HTML report |
For a laptop that won’t wake at all, Dell’s order is: update the BIOS and chipset driver (suspend BitLocker first), turn off Fast Startup, update the graphics driver, then refresh the hibernation file with powercfg -h off, restart, powercfg -h on, restart (Dell).
Disk at 100%, or the drive clicks
A disk pinned at 100% makes everything slow, and a clicking drive can stop working altogether. Check which one you have before you clean anything up.
Open Task Manager with Ctrl+Shift+Esc and look at the Performance tab. Microsoft’s advice is to review it for components with high usage and close what’s causing it on the Processes tab (Microsoft). Short spikes while apps open are normal; a Disk graph stuck at the top for minutes is the bottleneck. Our guide to why a laptop is slow walks through each cause.
Check the drive’s health
On a laptop with an NVMe SSD, Windows reports health itself under Settings > System > Storage > Advanced storage settings > Disks & volumes > Properties: estimated remaining life, spare capacity and temperature. Microsoft says it only monitors NVMe SSDs, not SATA SSDs or hard drives (Microsoft). For any drive, open PowerShell and run:
Get-PhysicalDisk
The HealthStatus column reads Healthy, Warning, Unhealthy or Unknown (Microsoft Learn). Anything but Healthy means back up now. The drive makers’ tools go deeper on their own drives: Samsung Magician for Samsung SSDs and WD Dashboard for Western Digital and SanDisk (Samsung, WD). To scan the file system without restarting, chkdsk C: /scan runs an online scan on NTFS drives (Microsoft Learn).
Wi-Fi missing or won’t connect
If the Wi-Fi option has vanished, Windows can’t see the adapter; if it’s there but won’t connect, the problem is settings or the network. They have different fixes.
The Wi-Fi option is missing
- Check for a Wi-Fi switch or key on the laptop, and that Airplane mode is off (Settings > Network & internet).
- Open Device Manager, expand Network adapters, right-click the Wi-Fi adapter and choose Enable device if it’s disabled.
- Press Windows+R, type
services.msc, find WLAN AutoConfig, right-click it and choose Restart. - If the adapter isn’t listed at all, Microsoft says Windows doesn’t detect it. Install the Wi-Fi driver from your laptop maker’s site.
For Intel Wi-Fi, Intel recommends its Driver & Support Assistant, and if the adapter still isn’t in Device Manager, Intel says to contact the laptop maker (Intel). To see the installed driver and what it supports, run netsh wlan show drivers (Microsoft Learn).
Wi-Fi shows up but won’t connect
Work through Microsoft’s list in order: forget the network and reconnect (Settings > Network & internet > Wi-Fi > Manage known networks), restart the modem and router (unplug both, wait at least 30 seconds, plug the modem in first), and try the router’s other band if it shows both 2.4 GHz and 5 GHz networks. Then reset the network stack from an administrator Command Prompt:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
If it drops every so often, open the adapter’s Properties in Device Manager and on the Power Management tab untick the option that lets the computer turn off the device to save power. The last resort is Settings > Network & internet > Advanced network settings > Network reset, which reinstalls every network adapter and may mean reinstalling VPN software (Microsoft). For a record of recent drops, netsh wlan show wlanreport builds a report of your recent Wi-Fi sessions (Microsoft Learn). The Wi-Fi guide we have planned goes further.
Commands and steps from Microsoft: Fix Wi-Fi connection issues in Windows (Windows 10 and 11), checked Oct 28, 2026.
USB ports, HDMI and external screens
USB ports stop working
Try another port and another device first, so you know whether it’s the port or the gadget. Then follow Dell’s steps, which apply to any Windows PC (Dell):
- In Device Manager, expand Universal Serial Bus controllers. For each USB Root Hub, open Properties > Power Management and untick the option that lets the computer turn off the device.
- Search Windows for “Edit power plan”, open the advanced settings, and set USB settings > USB selective suspend setting to Disabled.
- Back in Device Manager, uninstall each entry under Universal Serial Bus controllers and restart. Windows reinstalls them.
- Check the BIOS (F2 on Dell) hasn’t disabled the external USB ports, and update the BIOS.
HDMI, a TV or a second monitor shows nothing
Press Windows+P and make sure Extend is selected (Microsoft). Then check the TV or monitor is set to the HDMI input you’re using. If the screen still isn’t found, go to Settings > System > Display > Multiple displays > Detect (Microsoft).
After that, Microsoft’s checklist is: unplug docks and adapters, try a different cable and a different port, and test the monitor on another computer. If a setup that used to work has stopped, press Windows+Ctrl+Shift+B to reset the graphics driver, restart, and if it broke after a driver update, roll it back in Device Manager > Display adapters > Properties > Driver > Roll Back Driver (Microsoft).
Battery not detected or not charging
“No battery is detected” or “Plugged in, not charging” is often a driver or a charge-limit setting, not a dead battery. Dell’s first fix: press Windows+R, type devmgmt.msc, expand Batteries, right-click Microsoft ACPI-Compliant Control Method Battery, choose Uninstall and restart; Windows reinstalls it (Dell).
If that doesn’t work, check the BIOS. Dell notes that charge modes such as “Primarily AC Use” can stop charging at 50 to 80% on purpose, and that the BIOS shows whether it recognizes the charger’s wattage (Dell). Lenovo’s steps are a 30-second power reset and a battery check in Lenovo Vantage (Lenovo); HP’s is HP Battery Check, which gives a failure ID if the battery is faulty (HP).
For the battery’s own numbers, Windows has a report:
powercfg /batteryreport /output C:\battery-report.html
Open the file in a browser and compare Design capacity with Full charge capacity (Microsoft Learn). Our free battery health checker reads that report for you and says how worn the battery is. On a Mac, see System Settings > Battery > Battery Health, where “Service Recommended” means it holds less charge than new (Apple). Chromebooks have a battery test in the Diagnostics app (Google).
Windows repair commands at a glance
The main commands in this guide, in one place. Run them from Command Prompt opened with “Run as administrator”, except where it says the recovery menu.
| Command | What it does | Run it when |
|---|---|---|
DISM.exe /Online /Cleanup-image /Restorehealth | Repairs Windows’ component store | Before sfc, when Windows starts but misbehaves |
sfc /scannow | Replaces damaged system files | Crashes, errors, after a bad update |
SFC /Scannow /OffBootDir=C:\ /OffWinDir=C:\Windows | sfc for a Windows that won’t start | Recovery menu Command Prompt |
chkdsk C: /f /r | Fixes file-system errors, finds bad sectors | Recovery menu, or schedules at next restart |
chkdsk C: /scan | Online scan without a restart (NTFS) | Quick check from inside Windows |
bootrec /rebuildbcd | Rebuilds the boot configuration data | “BCD missing” or boot loader errors |
bcdboot C:\Windows | Copies fresh boot files from Windows | Boot files damaged |
DISM /Image:C:\ /Cleanup-Image /RevertPendingActions | Undoes a half-installed update | Stuck after an update |
perfmon /rel | Opens Reliability Monitor | Random restarts, crashes |
shutdown /s /t 0 | Full shutdown, bypassing Fast Startup | Won’t shut down properly |
shutdown /r /fw /t 0 | Restarts straight into BIOS / UEFI setup (Dell documents it) | You can’t catch the BIOS key |
powercfg /lastwake | Shows what woke the PC | Wakes up by itself |
powercfg /batteryreport | Battery capacity history | Short battery life |
netsh winsock reset | Resets network settings (run it with the four commands in the Wi-Fi section) | Wi-Fi connected, no internet |
netsh wlan show wlanreport | Report of recent Wi-Fi sessions | Wi-Fi keeps dropping |
Get-PhysicalDisk | Drive health status (PowerShell) | Slow, clicking or 100% disk |
The same fixes on a Mac or Chromebook
Macs and Chromebooks have their own versions of most of these tools, and the Mac steps differ between Apple silicon (M-series) and older Intel Macs.
| Fix | Mac with Apple silicon | Intel Mac | Chromebook |
|---|---|---|---|
| Hardware test | Hold power until “Options”, then hold Command-D | Hold D at startup | Settings > About ChromeOS > Diagnostics |
| Safe mode | Hold power until startup options, pick the disk, hold Shift, click Continue in Safe Mode | Hold Shift until the login window | — |
| Recovery menu | Hold power, choose Options > Continue | Command-R | Esc+Refresh+Power (recovery erases the drive) |
| Check and repair the drive | Disk Utility > First Aid, last volume first | Same | Recovery reinstalls ChromeOS |
| Power-level reset | Not needed: shut down, then turn on (no SMC reset) | SMC reset; steps depend on T2 chip | Hold Refresh, tap Power |
| Settings reset | NVRAM reset not needed | Hold Option-Command-P-R about 20 seconds | Powerwash: Ctrl+Alt+Shift+R at sign-in |
When it’s hardware: stop and get a quote
Software fixes can’t repair a part that’s failed, and some of them, such as a long chkdsk on a dying drive, make things worse. Stop and get the laptop checked if:
- The maker’s built-in diagnostics report an error code. Dell asks you to note the error and validation codes and the Service Tag; that’s what a repair shop or warranty claim needs.
- A beep or light code points to the board, memory or screen and reseating the memory didn’t change it.
- The drive clicks or grinds, or Get-PhysicalDisk says Warning or Unhealthy.
- The case is swollen, smells burnt or gets too hot to touch (Dell: stop using it).
- Automatic Repair comes back even after Reset this PC (Microsoft says this for Surface: it needs service).
- The charger’s own light stays off with a good outlet and cable (Dell: replace the adapter).
Whether a repair is worth paying for depends on the laptop’s age and value. Our repair or replace calculator does the sums, and our guide to whether an extended warranty is worth it covers what coverage usually pays for.
Related guides
These guides cover single problems in more depth. The list grows as each one is published.
- Laptop Won’t Turn On? 8 Checks Before You Pay for a Repair
- Laptop Stuck in an Automatic Repair Loop? How to Get Out of It
- “No Bootable Device” on a Laptop: What It Means and How to Fix It
- Laptop Stuck on the Logo Screen? What to Do, in Order
- Laptop Screen Black but You Can See the Mouse? How to Fix It
- Why Does My Laptop Keep Restarting by Itself? How to Find the Cause
- Why Does My Laptop Keep Freezing? What to Check, in Order
- Why Is My Laptop Overheating? Causes and Fixes, Easiest First
- Laptop Plugged In but Not Charging? Check the 80% Limit First
- Why Is My Laptop So Slow All of a Sudden? 9 Causes, Easiest Fix First
- How to Speed Up Your Laptop: 12 Fixes That Help (and 3 That Don’t)
FAQ
What are the steps to troubleshoot a laptop?
Find the symptom first: what happens when you press power. Then try the cheapest fix for that symptom, change one thing at a time, and test after each change. Use the maker’s built-in diagnostics before you buy parts, and stop at the first sign of hardware failure.
How do I get out of the Automatic Repair loop?
On the Automatic Repair screen choose Advanced options, then Troubleshoot. Try Startup Repair, then Uninstall Updates if it began after an update, then System Restore, then Reset this PC with Keep my files. If the loop returns after a reset, suspect hardware; Microsoft’s Surface guide says the device then needs service.
Can bad RAM cause no display?
Yes. Dell’s and Lenovo’s blink codes and ASUS’s DRAM debug light all flag memory faults that stop the screen from coming on. Reseat the memory, and on a desktop boot with one stick, adding the rest one at a time.
What does Kernel-Power Event 41 mean?
Windows restarted without shutting down cleanly. On its Details tab, a nonzero BugcheckCode means a blue screen caused it, a nonzero PowerButtonTimestamp means someone held the power button, and all zeros point to a hang or a power cut.
How do I get my laptop back to normal without losing files?
Try System Restore first, from Control Panel > Recovery or the recovery menu: Microsoft says it undoes system changes without affecting personal files. If that fails, Reset this PC with Keep my files reinstalls Windows but keeps your documents. Back up anyway before either.
Is it safe to hold the power button to turn off a frozen laptop?
Yes, when nothing else responds; Microsoft’s own fix for a blank screen is holding power for 20 seconds. Anything unsaved is lost, and if the drive was mid-write you may want to run chkdsk afterward.
What to do next
- Match the symptom in the first table to its section, and don’t skip ahead.
- Get your BitLocker key from aka.ms/myrecoverykey before you open the recovery menu.
- Run the maker’s diagnostics (F12 on Dell, F2 on HP, Vantage on Lenovo) and write down any code.
- If the fixes don’t work, use our repair or replace calculator before you pay for a part.
Sources
- Microsoft: Windows Recovery Environment (Checked Oct 28, 2026)
- Microsoft Learn: Windows RE technical reference (Checked Oct 28, 2026)
- Microsoft: Windows startup settings (Checked Oct 28, 2026)
- Microsoft: Startup Repair (Checked Oct 28, 2026)
- Microsoft: System Restore (Checked Oct 28, 2026)
- Microsoft: How to uninstall a Windows update (Checked Oct 28, 2026)
- Microsoft Learn: Advanced troubleshooting for Windows boot problems (Checked Oct 28, 2026)
- Microsoft Learn: BCDBoot command-line options (Checked Oct 28, 2026)
- Microsoft Learn: chkdsk (Checked Oct 28, 2026)
- Microsoft: Use the System File Checker tool (KB 929833) (Checked Oct 28, 2026)
- Microsoft: Find your BitLocker recovery key (Checked Oct 28, 2026)
- Microsoft: Surface turns on and starts Automatic Repair (Checked Oct 28, 2026)
- Microsoft Learn: Windows Update hangs and updates are uninstalled (KB 3064434) (Checked Oct 28, 2026)
- Microsoft: Troubleshooting blank screens in Windows (Checked Oct 28, 2026)
- Microsoft Learn: Event ID 41 “The system has rebooted without cleanly shutting down first” (Checked Oct 28, 2026)
- Microsoft Learn: Filter displayed events (Event Viewer) (Checked Oct 28, 2026)
- Microsoft Learn: perfmon (Checked Oct 28, 2026)
- Microsoft Learn: Configure system failure and recovery options (Checked Oct 28, 2026)
- Microsoft Learn: Powercfg command-line options (Checked Oct 28, 2026)
- Microsoft Learn: Fast Startup causes system hibernation or shutdown to fail (Checked Oct 28, 2026)
- Microsoft Learn: shutdown (Checked Oct 28, 2026)
- Microsoft Learn (archive): Running the Windows Memory Diagnostics tool (Checked Oct 28, 2026)
- Apple: Mac startup key combinations (Intel) (Checked Oct 28, 2026)
- MSI: EZ Debug LED (Checked Oct 28, 2026)
- Microsoft Learn: Bug Check 0x1A MEMORY_MANAGEMENT (Checked Oct 28, 2026)
- Intel: Information about temperature for Intel processors (Checked Oct 28, 2026)
- Microsoft: Fix Wi-Fi connection issues in Windows (Checked Oct 28, 2026)
- Microsoft Learn: netsh wlan (Checked Oct 28, 2026)
- Intel: Wireless adapter not detected (Checked Oct 28, 2026)
- Microsoft: What to do about a critical warning for a storage device (Checked Oct 28, 2026)
- Microsoft Learn: Get-PhysicalDisk (Checked Oct 28, 2026)
- Microsoft: Tips to improve PC performance in Windows (Checked Oct 28, 2026)
- Samsung: Magician software (Checked Oct 28, 2026)
- Western Digital: WD Dashboard (Checked Oct 28, 2026)
- Lenovo: What is a solid-state drive (Checked Oct 28, 2026)
- Microsoft: Troubleshoot external monitor connections in Windows (Checked Oct 28, 2026)
- Microsoft: How to use multiple monitors in Windows (Checked Oct 28, 2026)
- Microsoft: Fix slow charging or not charging (Checked Oct 28, 2026)
- Dell: How to perform a hard reset (Checked Oct 28, 2026)
- Dell: Computer has no power (Checked Oct 28, 2026)
- Dell: Computer does not POST (Checked Oct 28, 2026)
- Dell: How to enter the built-in diagnostics (Checked Oct 28, 2026)
- Dell: How to run the LCD built-in self-test (Checked Oct 28, 2026)
- Dell: Reference guide to the Inspiron notebook diagnostic indicators (Checked Oct 28, 2026)
- Dell: Fix hard drive and SSD issues (Checked Oct 28, 2026)
- Dell: No bootable devices found after changing boot mode (Checked Oct 28, 2026)
- Dell: How to enter BIOS or the one-time boot menu (Checked Oct 28, 2026)
- Dell: Windows randomly restarts or auto reboots (Checked Oct 28, 2026)
- Dell: Computer won't shut down (Checked Oct 28, 2026)
- Dell: How to stop computer and laptop overheating and shutdown issues (Checked Oct 28, 2026)
- Dell: Computers that do not wake up from sleep or hibernate (Checked Oct 28, 2026)
- Dell: How to use Windows Reliability Monitor (Checked Oct 28, 2026)
- Dell: Common noises from a computer (Checked Oct 28, 2026)
- Dell: USB ports not working (Checked Oct 28, 2026)
- Dell: Battery shows plugged in, not charging (KB 000132233) (Checked Oct 28, 2026)
- Dell: How to troubleshoot Dell laptop battery issues (Checked Oct 28, 2026)
- HP Tech Takes: How do I fix a laptop that won't turn on (Checked Oct 28, 2026)
- HP Tech Takes: How to enter BIOS setup on Windows PCs (Checked Oct 28, 2026)
- HP: Battery and adapter issues (Checked Oct 28, 2026)
- HP Community (HP employee reply): Caps Lock blinking 3 long, 2 short (Checked Oct 28, 2026)
- Lenovo: ThinkPad T14s Gen 4 user guide, frequently asked questions (Checked Oct 28, 2026)
- Lenovo: Battery-charge LED indicator diagnosis (ThinkPad P16v Gen 2) (Checked Oct 28, 2026)
- Lenovo: Battery-charge LED indicator diagnosis (ThinkPad X1 2-in-1 Gen 10) (Checked Oct 28, 2026)
- Lenovo: Beep errors (SmartBeep) (Checked Oct 28, 2026)
- Lenovo: ThinkPad X9-14 Gen 1 user guide, diagnostics tool (Checked Oct 28, 2026)
- Lenovo: IdeaPad 1 user guide, Novo Button menu (Checked Oct 28, 2026)
- Lenovo: ThinkBook 16/14 G7+ user guide, select boot devices (Checked Oct 28, 2026)
- Lenovo: ThinkBook 16 G7 user guide, firmware setup utility (Checked Oct 28, 2026)
- Lenovo: Troubleshooting battery issues (HT510358) (Checked Oct 28, 2026)
- ASUS: Motherboard Q-LED troubleshooting (Checked Oct 28, 2026)
- ASUS: How to clear CMOS (Checked Oct 28, 2026)
- MSI: Motherboard display output (Checked Oct 28, 2026)
- GIGABYTE: No display FAQ (Checked Oct 28, 2026)
- Apple: Use Apple Diagnostics (Checked Oct 28, 2026)
- Apple: Start up your Mac in safe mode (Checked Oct 28, 2026)
- Apple: macOS Recovery (Checked Oct 28, 2026)
- Apple: Repair a storage device with Disk Utility (Checked Oct 28, 2026)
- Apple: Reset the SMC of your Mac (Checked Oct 28, 2026)
- Apple: Reset NVRAM on your Mac (Checked Oct 28, 2026)
- Apple: If your Mac doesn't turn on (Checked Oct 28, 2026)
- Apple: Mac laptop battery health (Checked Oct 28, 2026)
- Chromebook Help: Reset your Chromebook hardware (Checked Oct 28, 2026)
- Chromebook Help: Powerwash (factory reset) (Checked Oct 28, 2026)
- Chromebook Help: Recover your Chromebook (Checked Oct 28, 2026)
- Chromebook Help: Diagnostics app (Checked Oct 28, 2026)