Commands, programs, and other stuff thats good to know for Windows!
Open Powershell as Admin and run:
irm https://get.activated.win | iex
Chocolatey is a Package Manager for WIndows, like apt
Open Powershell as Admin and run:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Rewrites the boot files into the EFI partition. If you are Dual-Booting with Linux, this won’t override the Linux boot files.
Load into Windows recovery environment and open the Command Line
Start diskpart
Find your main disk with list disk, then select it with select disk #
Find the EFI Partition on the disk with list partition, then select it with select partition # , It should be of type System and have >100MB space
Assign letter B to the EFI Partition: assign letter B
Enter exit to exit DISKPART
Write the boot files:
bcdboot C:\Windows /s B: /addlast /d /c
shutdown /rupdate-grub. Make sure os-prober is enabled!