Reply to post: Re: And WHAT exactly is being stuffed into those extra gigabytes of code lard?

The difference between October and May? About 16GB, says Microsoft: Windows 10 1903 will need 32GB of space

Danny 14 Silver badge

Re: And WHAT exactly is being stuffed into those extra gigabytes of code lard?

ForEach($app in $appname){

# Remove apps from current user

Get-AppxPackage -Name $app | Remove-AppxPackage -ErrorAction SilentlyContinue

# Remove apps from all users - may need to reboot after running above and run this again

Get-AppxPackage -Allusers -Name $app | Remove-AppxPackage -Allusers -ErrorAction SilentlyContinue

# Remove apps from provisioned apps list so they don't reinstall on new users

Get-AppxProvisionedPackage -Online | where {$_.PackageName -like $app} | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue

}

stick a nice list of $appname for what you want to remove (in nice friendly "*Microsoft.BingWeather*" format). Has worked for me flawlessly. In fact, after 1709 W10 has remembered what ive deprovisioned so ive not had to run this since.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019