From 727b0cbb460801180e89f13b671ddc921a96c663 Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Tue, 1 Oct 2024 21:10:09 +0200 Subject: [PATCH] Exclude `Microsoft-RemoteDesktopConnection` Exclude that from feature list. Fixes #2705 --- functions/private/Invoke-WinUtilMicroWin-Helper.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 b/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 index ad00b77c..7fa19867 100644 --- a/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 +++ b/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 @@ -98,6 +98,7 @@ function Remove-Features() { $_.FeatureName -NotLike "*Media*" -AND $_.FeatureName -NotLike "*NFS*" -AND $_.FeatureName -NotLike "*SearchEngine*" -AND + $_.FeatureName -NotLike "*RemoteDesktop*" -AND $_.State -ne "Disabled" }