diff --git a/scripts/Windows/Software/windows/Main.ps1 b/scripts/Windows/Software/windows/Main.ps1 index 8aced1b2..f4b79b85 100644 --- a/scripts/Windows/Software/windows/Main.ps1 +++ b/scripts/Windows/Software/windows/Main.ps1 @@ -163,5 +163,9 @@ using namespace Microsoft.Win32; ) Expand-BackupArtifacts -User $Arguments.Name -Path "Home" -Target $HOME; + + if (-not (Get-OSConfig "adware")) { + Remove-DesktopIcon "*Microsoft Edge*"; + } }; } @args;