Update setupScriptInfo.ps1

This commit is contained in:
2023-10-23 08:46:35 +00:00
parent 47531e24c4
commit 66cdc53e2c

View File

@@ -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