IT之家此前报道,微软通过 Windows Update,或者适用于 Windows 的 OneDrive 应用程序,静默推广名为 OneDrive Photos 的照片应用程序。
根据该媒体后续报道,即便用户强制卸载 OneDrive Photos 应用程序,在安装 OneDrive 应用的设备上,微软后续会重新下载并安装。
而目前暂未找到不彻底卸载 OneDrive 的情况下卸载 OneDrive Photos 应用程序,也没有办法通过 Microsoft Store 策略或者 Windows 11 组策略方式卸载,现有最佳解决方案是通过脚本,卸载快捷方式,避免其在你的电脑上显示。
<# Safely removes OneDrive Photos shortcuts only. Does not delete OneDrive.App.exe or OneDrive.exe.
Exit 0 = success Exit 1 = one or more shortcuts could not be removed #>
$ShortcutName = “OneDrive Photos.lnk” $Failed = $false
$Paths = @( “$env:ProgramData\Microsoft\Windows\Start Menu\Programs$ShortcutName”, “$env:PUBLIC\Desktop$ShortcutName” )
Get-ChildItem “$env:SystemDrive\Users” -Directory -ErrorAction SilentlyContinue | Where-Object { $.Name -notin @(“Public”, “Default”, “Default User”, “All Users”) } | ForEach-Object { $Paths += “$($.FullName)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs$ShortcutName” $Paths += “$($_.FullName)\Desktop$ShortcutName” }
foreach ($Path in $Paths) { if (Test-Path -LiteralPath $Path) { try { Remove-Item -LiteralPath $Path -Force -ErrorAction Stop Write-Output “Removed: $Path” } catch { Write-Output “Failed to remove: $Path” $Failed = $true } } }
if ($Failed) { exit 1 }
exit 0该行为自然引发了很多用户的不满,一位愤怒的 IT 管理员表示:
微软真是一意孤行。我们用 Intune 管理着数百台电脑,所有电脑的开始菜单里都出现了新的 OneDrive Photos 选项。他们到底要犯多少错误才能明白,我们不希望组织内部到处都是乱七八糟的应用程序?
这个应用无法兼容 Entra 账户。而且,如果不彻底卸载 OneDrive,就无法移除它。
除非微软想让我们放弃 OneDrive,而这只是个诱饵,否则我不明白为什么要强制没有微软服务协议(MSA)的电脑安装它。