aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/disable-uac.ps1
blob: c84b998d3d0075982c97f310c5a9b5f4ea08c11a (plain)
1
2
3
4
5
6
7
# Copyright (C) 2017 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
. "$PSScriptRoot\helpers.ps1"

# This script disables the Windows UAC

Run-Executable "reg.exe" "ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f"