see
- https://windowsreport.com/kill-antimalware-service-executable-windows-10/
- https://thegeekpage.com/fix-corrupted-registry-in-windows-10-solved/
- reboot
- disk cleanup
- windows updates
- diskpart commands
- list disk
- select disk x (replace x by a number from the output of the previous command)
- list partition
- list volume (here you can see the filesystem type e.g;. FAT32 or NTFS ...)
- select volume x (replace x by a number from the output of the previous command)
- assign letter=V:
- help format
- format V: FS=FAT32 LABEL=EFIBOOT OVERRIDE
- if you want to recreate the boot manager :
exit
bcdboot C:\windows /s V: /f UEFI
- bcdedit : managing Boot Configuration Data (BCD)
Info from Microsoft:
BCD files provide a store that is used to describe boot applications and boot application settings. BCDEdit can be used for a variety of purposes, including creating new stores, modifying existing stores, adding boot menu options, and so on - bcdedit /enum active
- Create boot manager
- Remove hiberfil.sys
Start command prompt as administrator
powercfg -h off - Remove pagefile.sys on Windows 10
sysdm.cpl
advanced > performance > settings - Disk scan:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth