3

I have an HP PC, that is running Windows. After a power loss, the computer turns back on, and I want to disable it.

I tried the BIOS, and the setting of "After Power Loss" is already Off (see image). I also tried changing that setting to On but that still made the computer turn on after a power loss.

enter image description here

How can I set my computer to not automatically power on after a power loss?


EDIT:

  • BIOS updated to latest version
    • Boot after power loss: Off
    • Network boot: Off
  • Replaced the CMOS battery
  • Tested even with no USB devices, just VGA and Power

Testing fashion: Turn on, pull the power cord, plug the power cord. Wait 2 seconds, then it boots again.

Still no luck.


Edit 2

If I unplug while running, then wait 5 minutes, then plug again, it does not boot until I press the boot button. What is going on?

8
  • 1
    This is the correct setting. Try setting it to on, exit and save, reenter bios, then set to off again, exit and save. If that doesn't help, ensure that the pc is in a grounded poweroutlet.
    – LPChip
    Commented Feb 5, 2017 at 10:24
  • @LPChip Did that, still no good
    – Amit
    Commented Feb 5, 2017 at 10:24
  • 1
    We have computers that do this, and if the bios setting is disabled, then 99% of the time it's related to the CMOS battery not holding a charge. We swap out the CMOS battery and that fixes it.
    – Austin
    Commented Feb 7, 2017 at 18:25
  • Check for a BIOS update. We can help in that if we knew the exact model.
    – harrymc
    Commented Feb 7, 2017 at 20:31
  • @harrymc BIOS updated, no luch there
    – Amit
    Commented Feb 7, 2017 at 21:41

5 Answers 5

3
+25

Option #1:

In your bios you should have a 'power on by RTC' and 'Power on by pcie', have you tried disabling those? I believe they should be disabled by default.

Option #2:

Install and Configure a UPS Software

Step 1: Install PowerChute or similar software.

Step 2: Navigate to the Energy Management tab or similar within the Configuration setting.

Step 3: Check the Enable Energy Management checkbox and choose the Default settings in PowerChute. Look for any "Turn On Again" settings in any other power management software and check/uncheck as appropriate.

Option #3:

enter image description here

enter image description here

Option #4:

The .reg files below are for the registry key and value below.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl

AutoReboot DWORD

0 = Disable
1 = Enable

Option #5:

In command prompt enter the following:

wmic recoveros set AutoReboot = False
3
  • Thank you for the detailed answer. I tried all of the above, none helped, and at (1) I don't have these settings
    – Amit
    Commented Feb 7, 2017 at 21:15
  • @Amit may i ask, how do you test if it doesnt work? do you unplug from socket and plug back in? Commented Feb 7, 2017 at 22:58
  • Correct, I know it's not the greatest way, but that is what I know
    – Amit
    Commented Feb 8, 2017 at 5:25
2

Try checking your Wake on LAN settings in your BIOS and OS (in this case Windows). I have found sometimes my computer would wake after being turned off because the implementation of Wake on LAN would trigger even if the device just received a directed packet towards it.

Though it might not relate to specifically the same HP computer as the one you have (or even the same version of Windows), you might find the article HP PCs - Computer Turns On Unexpectedly (Windows 8) useful.

As with most un-intended behaviour I'd also suggest updating the BIOS just in-case it was a known bug.

8
  • Turned off wake on LAN, that link is for sleep mode it seems, as for a BIOS update, it seems to always fail, I will give it several more tries
    – Amit
    Commented Feb 7, 2017 at 21:18
  • BIOS updated, no luck
    – Amit
    Commented Feb 7, 2017 at 21:41
  • @Amit, so there is an updated BIOS available, it just fails? You should check out why that happens. Commented Feb 8, 2017 at 1:07
  • @YisroelTech As updated, BIOS update was available, updated, it still boots after power loss
    – Amit
    Commented Feb 8, 2017 at 5:26
  • I know it isn't useful in this state but as a pure diagnostic test, if you schedule a shutdown to occur in say 30 seconds (using the "shutdown /s /t 30" command) and then were to unplug your network connection and USB devices etc. (the bare minimum you can get down to) does it come back on or stay off :)? Also clutching at straws, Windows Update? Commented Feb 8, 2017 at 10:52
2

Briefly, how are you testing this? I think the best way would be to power off the PC from windows and then unplug the PC. Hit the power button once or twice with while its unplugged to clear the capacitors. Then plug it in.

Does it power on immediately?? If so it has to do with the "After Power Loss" BIOS setting. If it powers on after a few moments or minutes it could the NIC or USB device waking the PC.

Also, is there a "Last State" option for "After Power Loss"? That setting puts the PC back to the last "State" it was in when it lost power- so if it was already powered down it would be the equivalent of setting it to "Off". Perhaps that option will function correctly since the others don't seem to?

1
  • This might seem weird but are you booting into Windows via UEFI? Maybe it needs to fully boot into Windows first? That would be really weird to be honest. Commented Feb 15, 2017 at 23:39
1

You could check in the BIOS for an entry for Advanced Power Management or ACPI with an option like Restore from AC power loss.

If that does not help, start a Command Prompt (cmd) that is Run as administrator and enter :

bcdedit /set {default} bootstatuspolicy ignoreshutdownfailures

For more information see the Microsoft article BCDEdit /set.

2
  • genius, i love it.. didnt think about bcdedit Commented Feb 8, 2017 at 16:24
  • But did it help ?
    – harrymc
    Commented Feb 16, 2017 at 15:37
0

on HP pc simply turn off "wake on keyboard button" save, re-enter bios its not greyed out anymore.

(i just make an account just to answer it. LoL)

1
  • I have an HP EliteDesk 800 G2 Mini and this was the answer I was looking for. had no idea that "wake on keyboard" disabled the power loss setting and was tearing my hair out looking for the solution on the web.
    – eil
    Commented Sep 2, 2023 at 19:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .