使用“打开方式”选项时 Windows 资源管理器冻结

Bhu*_*rma 13 windows windows-10

使用选项打开时 Windows 资源管理器冻结。每当我右键单击任何文件并选择打开选项时,Windows 资源管理器挂起/冻结。需要帮助。

小智 9

我写这篇文章只是因为我对此感到非常沮丧,CCleaner 和 DISM 的解决方案对我不起作用,而且我在网上找不到任何有效的解决方案。

我尝试删除图标缓存,这似乎对我有用。

按照这些说明创建一个批处理文件并以管理员身份运行 - 请注意请求并建议重新启动:

@echo off
set iconcache=%localappdata%\IconCache.db
set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache*

echo.
echo The explorer process must be temporarily killed before deleting the IconCache.db file. 
echo.
echo Please SAVE ALL OPEN WORK before continuing.
echo.
pause
echo.
If exist "%iconcache%" goto delete
echo.
echo The %localappdata%\IconCache.db file has already been deleted.
echo. 
If exist "%iconcache_x%" goto delete
echo.
echo The %localappdata%\Microsoft\Windows\Explorer\IconCache_*.db files have already been deleted.
echo.
exit /B


:delete
echo.
echo Attempting to delete IconCache.db files...
echo.
ie4uinit.exe -show
taskkill /IM explorer.exe /F 
If exist del /A /F /Q "%iconcache%"
If exist del /A /F /Q "%iconcache_x%"
start explorer.exe
echo.
echo IconCache database files have been successfully deleted.
goto restart


:restart
echo.
echo.
echo You will need to restart the PC to finish rebuilding your icon cache.
echo.
CHOICE /C:YN /M "Do you want to restart the PC now?"
IF ERRORLEVEL 2 goto no
IF ERRORLEVEL 1 goto yes

:yes
shutdown /r /f /t 00

:no
exit /B
Run Code Online (Sandbox Code Playgroud)

链接的页面没有状态图标缓存会导致挂“开放”,但确实状态高速缓存可以得到有时损坏。


小智 -1

    \n
  1. 单击 \xe2\x80\x9cStart\xe2\x80\x9d 或按winlogo (Win)+ R

  2. \n
  3. 键入cmd,然后按Ctrl+ Shift+Enter打开提升的命令提示符(即具有管理员权限的命令提示符)。如果出现“用户帐户控制”对话框,请确认它显示的操作是您想要的,键入您的管理员密码(如果需要),然后单击 \xe2\x80\x9cContinue\xe2\x80\x9d(或 \xe2\x80 \x9c是\xe2\x80\x9d,如果适用)。

  4. \n
  5. 将以下命令行键入或复制粘贴到其中:

    \n\n
    DISM.exe /Online /Cleanup-image /Scanhealth\nDISM.exe /Online /Cleanup-image /Restorehealth\nsfc /scannow\n
    Run Code Online (Sandbox Code Playgroud)
  6. \n
\n

  • @Iftekhar:如果您解释了这些命令的作用、它们如何回答问题、用户应该在输出中查找什么、如何判断命令是否有效等,这个答案会更好。请随意添加指向 *support 的链接* 你的答案,但不要只是添加链接并说“信息就在那里”。 (2认同)