diff --git a/src/runtime-tools/win64/onefuzz.ps1 b/src/runtime-tools/win64/onefuzz.ps1 index f53208995..19e4ad11e 100644 --- a/src/runtime-tools/win64/onefuzz.ps1 +++ b/src/runtime-tools/win64/onefuzz.ps1 @@ -44,8 +44,8 @@ function Optimize-VM { Get-AppxPackage Microsoft.549981C3F5F10 | Remove-AppxPackage log "disable Windows Search" - sc stop "WSearch" - sc config "WSearch" start= disabled + sc.exe stop "WSearch" + sc.exe config "WSearch" start= disabled } function Set-SetSSHACL {