Quick one from me today. I’ve had to fix this so many times I thought I may as well do a write up…
If you’re like me and have no TPM but want to use BitLocker, or if you just see the security advantages to typing a password prior to unlocking your machine, then you’re used to typing in a password on boot.
Microsoft state that the timer for power off is 1-minute, however, it’s not uncommon to see the timer be inaccurate, and power off much faster, today I had to type in my password about 4-5 times trying to write it before the auto-shutdown, and I was typing it the second the field became available!
With that in mind, there’s an easy fix, the main requirement is that you can get your password in and get to the Windows OS in the first place. Note that the curly brackets are interpretted differently by PowerShell so run the appropriate command for the relevant tool (and with administrator permissions)
PowerShell:
bcdedit /set "{BOOTMGR}" bootshutdowndisabled 1
Command Prompt:
bcdedit /set {BOOTMGR} bootshutdowndisabled 1
In either scenario you’ll know it has worked as you’ll be informed “The operation completed successfully.”.
You’ll know it works because if you run the following command you’ll see the “bootshutdowndisabled” value as “Yes”.
bcdedit /enum

Give it a reboot and all should be good! You may find that when you perform a feature update in Windows 10, this behaviour reverts as this happened to me in Windows 10 21H2, but generally, updates don’t impact this.
Hope it helps!
Leave a Reply