From 66cdc53e2c9b80f732dfbcd483c9b8d7a45982eb Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Mon, 23 Oct 2023 08:46:35 +0000 Subject: [PATCH] Update setupScriptInfo.ps1 --- setupScriptInfo.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setupScriptInfo.ps1 b/setupScriptInfo.ps1 index 81d00f7..07425ef 100644 --- a/setupScriptInfo.ps1 +++ b/setupScriptInfo.ps1 @@ -174,6 +174,10 @@ $urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Framindm $urlShortcut.TargetPath = "https://framindmap.org/" $urlShortcut.Save() +# RDP +Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0 +Enable-NetFirewallRule -Group "@FirewallAPI.dll,-28752" + # Update Windows Install-Module -Name PSWindowsUpdate -Force Get-WindowsUpdate -ForceInstall