From 69d754cb77e1b0e7b267ce9e6aaa4fbe4d6277a1 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Thu, 6 Apr 2023 12:38:49 +0200 Subject: [PATCH] [Windows] Run bcdedit /set hypervisorschedulertyupe root (#7394) --- images/win/scripts/Installers/Install-WindowsFeatures.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Install-WindowsFeatures.ps1 b/images/win/scripts/Installers/Install-WindowsFeatures.ps1 index 8435eb25..b4680242 100644 --- a/images/win/scripts/Installers/Install-WindowsFeatures.ps1 +++ b/images/win/scripts/Installers/Install-WindowsFeatures.ps1 @@ -23,4 +23,8 @@ foreach ($feature in $windowsFeatures) { } else { throw "Failed to activate Windows Feature '$($feature.name)'" } -} \ No newline at end of file +} + +# 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