mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-21 06:16:03 +08:00
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:
committed by
Tony Sarajärvi
parent
b5eb36d689
commit
c2877e7ea9
3
coin/provisioning/common/windows/disable-cortana.ps1
Normal file
3
coin/provisioning/common/windows/disable-cortana.ps1
Normal 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
|
||||
2
coin/provisioning/common/windows/disable-superfetch.ps1
Normal file
2
coin/provisioning/common/windows/disable-superfetch.ps1
Normal file
@@ -0,0 +1,2 @@
|
||||
Write-Host "Disable superfetch"
|
||||
reg add "HKLM\System\CurrentControlSet\Services\SysMain" /v Start /t REG_DWORD /d 4 /f
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\disable-cortana.ps1"
|
||||
@@ -0,0 +1 @@
|
||||
. "$PSScriptRoot\..\common\windows\disable-superfetch.ps1"
|
||||
Reference in New Issue
Block a user