[Windows] Run bcdedit /set hypervisorschedulertyupe root (#7394)

This commit is contained in:
Sergey Dolin
2023-04-06 12:38:49 +02:00
committed by GitHub
parent e8b403e0b9
commit 69d754cb77

View File

@@ -23,4 +23,8 @@ foreach ($feature in $windowsFeatures) {
} else { } else {
throw "Failed to activate Windows Feature '$($feature.name)'" throw "Failed to activate Windows Feature '$($feature.name)'"
} }
} }
# it improves Android emulator launch on Windows Server
# https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/manage-hyper-v-scheduler-types
bcdedit /set hypervisorschedulertype root