Created
November 29, 2024 03:28
-
-
Save mavaddat/6e9e8e9c0abdf6ff6d2e60adf1c4718e to your computer and use it in GitHub Desktop.
Automate steps to fix Windows Sandbox in https://answers.microsoft.com/en-us/windows/forum/all/error-ox800706d9-sandbox-not-work/9d06e7bf-5df9-489b-b2c2-1d94cc022310
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
Get-Service -DisplayName "*Network Virtualization*" | Restart-Service -Force -Verbose | |
Get-Service -DisplayName "*Virtual Disk*" | Restart-Service -Force -Verbose | |
Get-Service -DisplayName "*Virtual Machine*" | Restart-Service -Force -Verbose | |
Get-Service -DisplayName "*Host Compute*" | Restart-Service -Force -Verbose | |
Get-Service -DisplayName "*Container Manager*" | Restart-Service -Force -Verbose | |
Get-Service -DisplayName "*Remote Procedure*" | Where-Object { $_.Status -eq [System.ServiceProcess.ServiceControllerStatus]::Stopped } | Start-Service -Verbose | |
Get-Service -DisplayName "*Application Guard*" | Where-Object { $_.Status -eq [System.ServiceProcess.ServiceControllerStatus]::Stopped } | Start-Service -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment