windows
/default {current}
bcdedit
/set "{current}" bootmenupolicy legacy
bcdedit /set "{current}" bootmenupolicy standard
bcdedit
/v
bcdedit
bcdedit displayorder {...} {...}
/set {ID} description "The new description" bcdedit
Change path to executable for a Windows Service
"C:\SomeDirectory\YourFile.EXE" SC CONFIG YourServiceName binPath=
-desktop
# turn off all wsl instances such as docker-shutdown wsl -
-list --verbose wsl -
notepad "$env:USERPROFILE/.wslconfig"
Set the values you want for CPU core and Memory:
[wsl2]
memory=3GB # Limits VM memory in WSL 2 up to 3GB
processors=2 # Makes the WSL 2 VM use two virtual processors
credits: https://superuser.com/a/1635609