From c32123f0abf5fd7d1c6e7be992172b5a0e173b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pl=C3=ADnio=20Larrubia?= Date: Sun, 8 Sep 2024 15:37:02 -0300 Subject: [PATCH] refactor: Remove unneeded Windows Optional Features (#180) - NET Framework 3.5 - NET Framework 4.x + ASPNET 4.x --- src/scripts/Optimize-WindowsFeaturesList.ps1 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/scripts/Optimize-WindowsFeaturesList.ps1 b/src/scripts/Optimize-WindowsFeaturesList.ps1 index 5392ae9d..d87e4bd1 100644 --- a/src/scripts/Optimize-WindowsFeaturesList.ps1 +++ b/src/scripts/Optimize-WindowsFeaturesList.ps1 @@ -22,11 +22,6 @@ function Optimize-WindowsFeaturesList() { "WorkFolders-Client" # Work Folders Client ) - $EnableFeatures = @( - "NetFx3" # NET Framework 3.5 - "NetFx4Extended-ASPNET45" # NET Framework 4.x + ASPNET 4.x - ) - Write-Title "Optional Features Tweaks" Write-Section "Uninstall Optional Features from Windows" @@ -36,9 +31,6 @@ function Optimize-WindowsFeaturesList() { } Else { Set-OptionalFeatureState -State 'Disabled' -OptionalFeatures $DisableFeatures } - - Write-Section "Install Optional Features from Windows" - Set-OptionalFeatureState -State 'Enabled' -OptionalFeatures $EnableFeatures } # List all Optional Features: