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