Update setupScriptInfo.ps1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user