aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/windows/allow-remote-desktop-access.ps1')
-rw-r--r--coin/provisioning/common/windows/allow-remote-desktop-access.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/coin/provisioning/common/windows/allow-remote-desktop-access.ps1 b/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
index 06ea20a4..cbf514ba 100644
--- a/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
+++ b/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
@@ -30,7 +30,8 @@
## $QT_END_LICENSE$
##
#############################################################################
+. "$PSScriptRoot\helpers.ps1"
# This script allows the Windows Remote Desktop Access
-reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
+Run-Executable "reg.exe" "add `"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server`" /v fDenyTSConnections /t REG_DWORD /d 0 /f"