mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-05 06:26:50 +08:00
Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.5 6.6 Task-number: QTBUG-67283 Task-number: QTBUG-108364 Change-Id: If26e4d35c780db4a7982bb84872b251dad24716e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
22 lines
1.1 KiB
PowerShell
22 lines
1.1 KiB
PowerShell
# Copyright (C) 2020 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
# Turning off win defender.
|
|
#
|
|
# If disabled manually, windows will automatically enable it after
|
|
# some period of time. Disabling it speeds up the builds.
|
|
# NOTE! Windows Defender Antivirus needs to be turned off!
|
|
# Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus'
|
|
# Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply'
|
|
|
|
. "$PSScriptRoot\..\..\provisioning\common\windows\helpers.ps1"
|
|
|
|
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
|
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableRoutinelyTakingAction /T REG_dWORD /D 1 /F"
|
|
|
|
# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
|
|
DisableSchedulerTask "Windows Error Reporting\QueueReporting"
|
|
|
|
# Disable WindowsUpdate from Task Scheduler
|
|
DisableSchedulerTask "WindowsUpdate\Scheduled Start"
|