I accidentally set my max memory to 0. So I look up how to fix it and I get a 8gb usb and installed a windows 10 installer in it. Then I go to the command prompt and type in "bcdedit /deletevalue {default} truncatememory" in return I get an error message that says"an error has occurred while attempting to delete he specified data element. Element not found. ". If someone can make a video on how can I fix this please help
You have to specify correct path to BCD store on SSD/HDD.
When you boot from USB flash drive, bootloader and (BCD store) from flash drive is used.
It may be necessary to assign drive letter to bootloader partition on SSD/HDD first, if it has not been assigned.
You can check assigned drive letters with
diskpart
list volume
and assign drive letter with
select volume x
assign letter=Y
To specify BCD store, add
/store switch to bcdedit command.
Replace Y: drive letter with appropriate letter for bootloader partition on your pc ( if other than Y).
For legacy bootloader (MBR drive):
bcdedit /store y:\boot\bcd /deletevalue {default} truncatememory
For UEFI bootloader (GPT drive):
bcdedit /store y:\efi\microsoft\boot\bcd /deletevalue {default} truncatememory