bcdedit /set 5d5f9a7c-... bootlog Yes Disable Driver Signature Enforcement (for test-signed drivers):
bcdedit /displayorder current 5d5f9a7c-... /addlast Kernel debugging over serial port: bcdedit
bcdedit /set 5d5f9a7c-... description "Windows 11 Safe Mode" Enable boot logging: bcdedit /set 5d5f9a7c-
bcdedit /set hypervisorlaunchtype off To directly boot the default OS without showing the menu: set Safe Mode persistently:
bcdedit /export C:\BCD_Backup bcdedit /import C:\BCD_Backup /clean bcdedit /copy current /d "Boot from VHD" bcdedit /set guid device vhd=[C:]\Windows.vhdx bcdedit /set guid osdevice vhd=[C:]\Windows.vhdx bcdedit /set guid path \Windows\system32\winload.efi 5.3 Enabling Hyper-V (if disabled) bcdedit /set hypervisorlaunchtype auto To disable Hyper-V:
bcdedit /set current debugtype net bcdedit /set current debugstartaddress 192.168.1.100 bcdedit /set current debugport 50000 Instead of F8, set Safe Mode persistently: