-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove bloatware Windows 11 24H2 #66
Comments
Ssme for Brazilian Portuguese iso. Everything goes smoothly, LESS bloatware. |
Cannot reproduce, i.e. bloatware removal works reliably with both If you wonder about application pins in the start menu, this might be because you chose Use default pins. Use Remove all pins instead: Otherwise, run this command in an elevated PowerShell session and post the results here:
|
No mistake, I mentioned this in a ticket a while ago and it has been mentioned a few times in tickets by others. I can find no rhyme or reason why this does not work sometimes but does other. @fm1985 you doing this install on a bare metal system or on a VM, if in a VM which one? |
I do wonder if some systems are too fast for everything to be processed properly... It's odd that sometimes everything installs and is set correctly, then another time some random thing isn't working. I think this new 24H2 setup might be the culprit. But this is only a guess. |
When installing Windows 11 24H2, the "Remove bloatware" process is completely ignored. Despite my attempts to remove specific apps, they are still fully installed on the system. I am using the official ISO from Microsoft (Win11_24H2_German_x64.iso).
The applications listed in the script are still fully installed after the Windows setup is completed.
Have I made a mistake somewhere?
<File path="C:\Windows\Temp\remove-packages.ps1"> $selectors = @( 'Microsoft.Microsoft3DViewer'; 'Microsoft.BingSearch'; 'Microsoft.549981C3F5F10'; 'MicrosoftCorporationII.MicrosoftFamily'; 'Microsoft.Getstarted'; 'microsoft.windowscommunicationsapps'; 'Microsoft.WindowsMaps'; 'Microsoft.BingNews'; 'Microsoft.MicrosoftOfficeHub'; 'Microsoft.OutlookForWindows'; 'Microsoft.People'; 'Microsoft.SkypeApp'; 'Microsoft.MicrosoftSolitaireCollection'; 'MicrosoftTeams'; 'MSTeams'; 'Microsoft.BingWeather'; 'Microsoft.Xbox.TCUI'; 'Microsoft.XboxApp'; 'Microsoft.XboxGameOverlay'; 'Microsoft.XboxGamingOverlay'; 'Microsoft.XboxIdentityProvider'; 'Microsoft.XboxSpeechToTextOverlay'; 'Microsoft.GamingApp'; 'Microsoft.ZuneVideo'; ); $getCommand = { Get-AppxProvisionedPackage -Online; }; $filterCommand = { $_.DisplayName -eq $selector; }; $removeCommand = { [CmdletBinding()] param( [Parameter(Mandatory, ValueFromPipeline)] $InputObject ); process { $InputObject | Remove-AppxProvisionedPackage -AllUsers -Online -ErrorAction 'Continue'; } }; $type = 'Package'; $logfile = 'C:\Windows\Temp\remove-packages.log'; & { $installed = & $getCommand; foreach($selector in $selectors) { $result = [ordered] @{ Selector = $selector; }; $found = $installed | Where-Object -FilterScript $filterCommand; if($found) { $result.Output = $found | & $removeCommand; if($?) { $result.Message = "$type removed."; } else { $result.Message = "$type not removed."; $result.Error = $Error[0]; } } else { $result.Message = "$type not installed."; } $result | ConvertTo-Json -Depth 3 -Compress; } } *> &>> $logfile; </File>
The text was updated successfully, but these errors were encountered: