Created
November 15, 2021 13:36
-
-
Save LOuroboros/88614d346fdaf2a9725eee0d20144dd5 to your computer and use it in GitHub Desktop.
Stop VM Services (including WSL)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Comment: I use this to shutdown WSL whenever I need to put Windows on a Sleep/Hibernate state. | |
ECHO Stopping VM Services | |
sc stop hns | |
sc stop vmcompute | |
sc stop lxssmanager | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment