diff options
author | Heikki Halmet <heikki.halmet@qt.io> | 2019-09-03 12:46:29 +0300 |
---|---|---|
committer | Heikki Halmet <heikki.halmet@qt.io> | 2019-09-17 11:57:11 +0300 |
commit | a3136bdbfef242339c002630f51b4bc0f5c05503 (patch) | |
tree | b9001789becb32c31a2a2393e309de83dae078e6 /coin/provisioning/common/windows/disable-windows-file-protector.ps1 | |
parent | b83b16277d1758c868779f931934deca7b4390b0 (diff) |
Provisioning: Disable or delete unneeded tasks and services
Windows have lot's of tasks and services running which are slowing
the performance of build machine. Also 'windows' and 'windows
defender' updates need's to be "permanently" disabled.
Task-number: QTQAINFRA-3182
Change-Id: I8f6b237fcdc6e38fa9a06836d349821d86c58afc
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/provisioning/common/windows/disable-windows-file-protector.ps1')
-rw-r--r-- | coin/provisioning/common/windows/disable-windows-file-protector.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/disable-windows-file-protector.ps1 b/coin/provisioning/common/windows/disable-windows-file-protector.ps1 new file mode 100644 index 00000000..f1d09fb5 --- /dev/null +++ b/coin/provisioning/common/windows/disable-windows-file-protector.ps1 @@ -0,0 +1,4 @@ +# Disable Windows File Protection +# Windows File Protection feature in Microsoft Windows prevents programs from replacing critical Windows system files. + +reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V SFCDisable /T REG_dWORD /D 0xffffff9d /F |