今天把 Office 重装了一边,原来的 UWP 版 Office 改成桌面版的,但是 Outlook 的 UWP 版卸载完还有图标残留,导致现在有两个图标,但是有一个是没用的,点了也没反应,应该是原来 UWP 的图标。
当然图标也不在这两个目录下:
%ProgramData%\Microsoft\Windows\Start Menu\Programs
%AppData%\Microsoft\Windows\Start Menu\Programs
那么问题了了,怎么删掉这个错误的图标呢?
现象如图所示: https://i.imgur.com/GDjArOt.png
hmmm,似乎没人遇过这个问题,但是找到解决方法了,根据microsoft社区的一个回答,解决了,似乎这个方法能刷新开始菜单。
搬运一下:
@echo off
taskkill /f /im explorer.exe
taskkill /f /im shellexperiencehost.exe
timeout /t 3 /NOBREAK > nul
del %localappdata%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\TempState\* /q
timeout /t 2 /NOBREAK > nul
start explorer
@echo on