Windows XP 任务栏上缺少任务栏按钮

Windows XP 任务栏上缺少任务栏按钮

我的 Windows XP 只显示任务栏,没有任务栏按钮。我可以使用 Alt+Tab 键更改任务窗口。在任务管理器中,显示所有打开的窗口和任务。但任务栏上缺少任务栏按钮。

我已经通过“第二个 R”修复了 Windows。但仍然缺少任务栏按钮。如果我重新安装 Windows,那么我将丢失安装在 Windows XP 上的所有软件程序。我不想在安装 Windows 后重新安装所有软件程序。

如何让任务栏按钮显示在任务栏上而无需重新安装?任务栏上的其他工具栏都正常。仅缺少任务窗口按钮。

由 Theo 发布 (已发布 1 条消息)

嗨!每当您在 Windows 中运行程序时,都应该有一个相应的任务栏按钮,对吗?这是为了让用户通过单击它来更快地访问正在运行的程序,它将变为活动窗口。我的任务栏按钮消失了。现在我只能使用 Alt-Tab 在程序之间切换。有人有想法吗?

答案1

这是一个注册表问题 - 您可以使用以下脚本修复此问题。复制以下所有文本并粘贴到文本文件中。使用 .vbs 扩展名保存并运行。

Set WSHShell = WScript.CreateObject("WScript.Shell")

Message = "To work correctly, the script will close" & vbCR
Message = Message & "and restart the Windows Explorer shell." & vbCR
Message = Message & "This will not harm your system." & vbCR & vbCR
Message = Message & "Continue?"

X = MsgBox(Message, vbYesNo, "Notice")

If X = 6 Then 

On Error Resume Next

WshShell.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 0

For Each Process in GetObject("winmgmts:"). _
    ExecQuery ("select * from Win32_Process where name='explorer.exe'")
   Process.terminate(0)
Next

MsgBox "Finished.", 4096, "Done"

Else

MsgBox "No changes were made to your system.", 4096, "User Cancelled"

End If

相关内容