Cleanup network profiles

This commit is contained in:
itiligent 2024-09-18 23:11:49 +10:00
parent 4b22993e9c
commit cd2a73ff30
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
; SPDX-License-Identifier: Proprietary ; SPDX-License-Identifier: Proprietary
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
; Disable RemoteApp allowlist so all applications can be used in a Remote Desktop session ; Disable RemoteApp allowlist so all applications can be used in Remote Desktop sessions
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList]
"fDisabledAllowList"=dword:00000001 "fDisabledAllowList"=dword:00000001

View File

@ -6,7 +6,7 @@ REM SPDX-License-Identifier: AGPL-3.0-or-later
REG IMPORT C:\OEM\RDPApps.reg REG IMPORT C:\OEM\RDPApps.reg
:: Write the Powershell network profile cleanup script :: Create Powershell network profile cleanup script
( (
echo # Get the current network profile name echo # Get the current network profile name
echo $currentProfile = ^(Get-NetConnectionProfile^).Name echo $currentProfile = ^(Get-NetConnectionProfile^).Name