(编辑:jimmy 日期: 2024/11/12 浏览:2)
今天有位QQ群内的好友求助问 Windows 任务栏不显示当前进程任务,于是我迅速的查阅了一下资料帮助这个网友找到了任务栏不显示任务如何修复解决方案。
1、一般正常系统中我们打开了多个任务后,在任务栏上是会显示出多余的任务。
2、复制下面的代码,在桌面上新建一个文本文件,粘贴代码到文本并保存,把文本后缀 .txt 更改为 .vbs 文件。
'xp_taskbar_desktop_fixall.vbs - Repairs the Taskbar when minimized programs don't show.'2003/12/23 updatedSet WSHShell = WScript.CreateObject("WScript.Shell")Message = "To work correctly, the script will close" & vbCRMessage = Message & "and restart the Windows Explorer shell." & vbCRMessage = Message & "This will not harm your system." & vbCR & vbCRMessage = Message & "Continue?"X = MsgBox(Message, vbYesNo, "Notice")If X = 6 Then On Error Resume NextWshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2\"WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU\"WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\"WshShell.RegDelete "HKCU\Software\Microsoft\Internet Explorer\Explorer Bars\{32683183-48a0-441b-a342-7c2a440a9478}\BarSize"P1 = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"WshShell.RegWrite p1 & "NoBandCustomize", 0, "REG_DWORD"WshShell.RegWrite p1 & "NoMovingBands", 0, "REG_DWORD"WshShell.RegWrite p1 & "NoCloseDragDropBands", 0, "REG_DWORD"WshShell.RegWrite p1 & "NoSetTaskbar", 0, "REG_DWORD"WshShell.RegWrite p1 & "NoToolbarsOnTaskbar", 0, "REG_DWORD"WshShell.RegWrite p1 & "NoSaveSettings",0,"REG_DWORD"WshShell.RegWrite p1 & "NoToolbarsOnTaskbar", 0, "REG_DWORD"WshShell.RegWrite p1 & "NoSetTaskbar",0,"REG_DWORD"WshShell.RegWrite p1 & "NoActiveDesktop",0,"REG_DWORD"WshShell.RegWrite p1 & "ClassicShell",0,"REG_DWORD"p1 = "HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"WshShell.RegWrite p1 & "NoCloseDragDropBands", 0, "REG_DWORD"WshShell.RegDelete p1 & "NoMovingBands"p1 = "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell"WshShell.RegWrite p1, "explorer.exe", "REG_SZ"p1 = "HKCU\Software\Microsoft\Internet Explorer\Explorer Bars\{32683183-48a0-441b-a342-7c2a440a9478}\"WshShell.RegDelete p1 & "BarSize"WshShell.RegWrite p1, "Media Band", "REG_SZ"On Error Goto 0For Each Process in GetObject("winmgmts:"). _ExecQuery ("select * from Win32_Process where name='explorer.exe'") Process.terminate(0)NextMsgBox "Finished." & vbcr & vbcr & "Thank you", 4096, "Done"ElseMsgBox "No changes were made to your system." & vbcr & vbcr & "Thank you", 4096, "User Cancelled"End If
3、双击打开 vbs 文件进行修复。
4、修复后一盘正常重启下电脑应该就可以了。
一般造成任务栏不显示打开窗口的原因多是由于病毒引起的,所以在你解决了任务栏不显示任务的故障后,记得给电脑查杀一下病毒。Windows 任务栏不显示任务怎么办你知道如何修复了吗?