windows
bcdedit /default {current}
bcdedit /set "{current}" bootmenupolicy legacy
bcdedit /set "{current}" bootmenupolicy standard
bcdedit /v
bcdedit displayorder {...} {...}
bcdedit /set {ID} description "The new description"Change path to executable for a Windows Service
SC CONFIG YourServiceName binPath= "C:\SomeDirectory\YourFile.EXE"# turn off all wsl instances such as docker-desktop
wsl --shutdownwsl --list --verbosenotepad "$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 processorscredits: https://superuser.com/a/1635609