win10点击任务栏固定应用报错:该文件没有与之关联的应用来执行此操作

新建一个bat文件,写入以下代码,然后以管理员权限运行。

taskkill /f /im explorer.exe
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f
reg add "HKEY_CLASSES_ROOT\lnkfile" /v IsShortcut /t reg_sz /f
reg add "HEKY_CLASSES_ROOT\piffile" /v IsShortcut /t reg_sz /f
start explorer

在这里插入图片描述
之后电脑闪一下就配置好了,不会再出现提示了。切实有效!

猜你喜欢

转载自blog.csdn.net/weixin_43658159/article/details/115750690
今日推荐