一个修复 Windows XP 任务栏的批处理文件
作者:parno 日期:2010-03-30
![引用内容](images/quote.gif)
@echo off
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamsMRU" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop" /f
set regPath=HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
for %%a in (NoBandCustomize,NoMovingBands,NoCloseDragDropBands,NoSetTaskbar,NoToolbarsOnTaskbar,NoSaveSettings,NoToolbarsOnTaskbar,NoSetTaskbar,NoActiveDesktop,ClassicShell) do reg delete "%regPath%" /v "%%a" /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamsMRU" /f
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop" /f
set regPath=HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
for %%a in (NoBandCustomize,NoMovingBands,NoCloseDragDropBands,NoSetTaskbar,NoToolbarsOnTaskbar,NoSaveSettings,NoToolbarsOnTaskbar,NoSetTaskbar,NoActiveDesktop,ClassicShell) do reg delete "%regPath%" /v "%%a" /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
![](images/Cprevious.gif)
![](images/Cnext.gif)
![](images/From.gif)
![](images/icon_trackback.gif)
![](images/tag.gif)
![](images/notify.gif)
评论: 0 | 引用: 0 | 查看次数: 7180
发表评论