Provisioning: Disable unneeded services

To speed up things and release CPU we need to disable
unneeded services

Change-Id: I067ad6eb0b3b5df72edc00aa244cc1bff35c4232
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Heikki Halmet
2020-04-22 13:46:17 +03:00
committed by Tony Sarajärvi
parent b5eb36d689
commit c2877e7ea9
4 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# Disable Microsoft's digital assistant Cortona
echo "Disabling Cortona"
reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /V AllowCortana /T REG_dWORD /D 0 /F

View File

@@ -0,0 +1,2 @@
Write-Host "Disable superfetch"
reg add "HKLM\System\CurrentControlSet\Services\SysMain" /v Start /t REG_DWORD /d 4 /f

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\disable-cortana.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\disable-superfetch.ps1"