解决办法:用下面的代码恢复注册表
把下面的代码复制下来粘贴到记事本,然后保存成XXX.vbs就可以了
Code:
SetWSHShell=WScript.CreateObject(WScript.Shell)
Message=本脚本用于修复WindowsXP中当最小化程序时,无法在任务栏显示图标的问题。&vbCR&vbCR
Message=Message&为了正常工作,本脚本将关闭和重启WindowsExplorer,这个操作不会损坏你的系统。&vbCR&vbCR
Message=Message&请关闭所有杀毒软件的实时监控!建议备份注册表。&vbCR&vbCR
Message=Message&是否继续?
X=MsgBox(Message,vbYesNo+vbExclamation,注意)
IfX=6Then
OnErrorResumeNext
WshShell.RegDeleteHKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2\
WshShell.RegDeleteHKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamsMRU\
WshShell.RegDeleteHKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\
WshShell.RegDeleteHKCU\Software\Microsoft\InternetExplorer\ExplorerBars\{32683183-48a0-441b-a342-7c2a440a9478}\BarSize
P1=HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
WshShell.RegWritep1&NoBandCustomize,0,REG_DWORD
WshShell.RegWritep1&NoMovingBands,0,REG_DWORD
WshShell.RegWritep1&NoCloseDragDropBands,0,REG_DWORD
WshShell.RegWritep1&NoSetTaskbar,0,REG_DWORD
WshShell.RegWritep1&NoToolbarsOnTaskbar,0,REG_DWORD
WshShell.RegWritep1&NoSaveSettings,0,REG_DWORD
WshShell.RegWritep1&NoToolbarsOnTaskbar,0,REG_DWORD
WshShell.RegWritep1&NoSetTaskbar,0,REG_DWORD
WshShell.RegWritep1&NoActiveDesktop,0,REG_DWORD
WshShell.RegWritep1&ClassicShell,0,REG_DWORD
p1=HKCU\Software\Microsoft\Windows\CurrentVersion\GroupPolicyObjects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
WshShell.RegWritep1&NoCloseDragDropBands,0,REG_DWORD
WshShell.RegDeletep1&NoMovingBands
p1=HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\Shell
WshShell.RegWritep1,explorer.exe,REG_SZ
p1=HKCU\Software\Microsoft\InternetExplorer\ExplorerBars\{32683183-48a0-441b-a342-7c2a440a9478}\
WshShell.RegDeletep1&BarSize
WshShell.RegWritep1,MediaBand,REG_SZ
OnErrorGoto0
ForEachProcessinGetObject(winmgmts:)._
ExecQuery(select*fromWin32_Processwherename='explorer.exe')
Process.terminate(0)
Next
MsgBox完成!&vbcr&vbcr&?KellyTheriotandDougKnox,4096,完成
Else
MsgBox没有对你的系统进行任何改变。&vbcr&vbcr&?KellyTheriotandDougKnox,4096,用户取消了
EndIf