Microsoft accidentally installed OneDrive Photos on Enterprise PCs, script to remove it in case you have it (Intune)
Context: Microsoft confirms it accidentally installed a new OneDrive app on Windows 11 PCs, and there’s no easy way to remove it yet: https://www.windowslatest.com/2026/08/09/microsoft-confirms-it-accidentally-installed-new-onedrive-app-on-windows-11-pcs-and-theres-no-easy-way-to-remove-it-yet/ This app showed up at one of the companies where I work as a contractor. You cannot delete it becuase there's no MSIX package. It's tied to the sync client, and we use that, so it's a bummer. I deployed this script, and it worked: https://github.com/nickydewestelinck/MicrosoftIntune/tree/main/Scripts/Remove-OneDrivePhotos There are two separate scripts: Detect-OneDrivePhotosApp.ps1
…