Win7系统任务栏出现2行一模一样的标签选项卡是怎么回事?
时间:2022-03-31 13:03:00
Win7系统开机进入桌面后会自动显示任务栏,在屏幕最底部,任务栏能够显示系统状态,也可以把常用文件放置在任务栏上。这不有位用户说Win7任务栏出现2行一模一样的标签选项卡,也不知道怎么回事?有什么办法可以去掉呢?出现这样的情况是由于任务栏出错导致的。下面分享Win7任务栏出现2行一模一样的标签选项卡的解决方法。
具体步骤:
1、在桌面上新建一个文本文档,双击打开,复制以下代码:
Set WSHShell = WScript.CreateObject("WScript.Shell")
Message = "本脚本用于修复Windows XP中当最小化程序时,无法在任务栏显示图标的问题。"& vbCR & vbCR
Message = Message & "为了正常工作,本脚本将关闭和重启 Windows Explorer 外壳,这个操作不会损坏你的系统。" & vbCR & vbCR
Message = Message & "请关闭所有杀毒软件的实时监控!并保存所有打开的文件。"& vbCR & vbCR
Message = Message & "是否继续?"
X = MsgBox(Message, vbYesNo+vbExclamation, "注意")
If X = 6 Then
On Error Resume Next
WshShell.RegDelete "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerStuckRects2"
WshShell.RegDelete "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerStreamsMRU"
WshShell.RegDelete "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerStreamsDesktop"
WshShell.RegDelete "HKCUSoftwareMicrosoftInternet ExplorerExplorer Bars{32683183-48a0-441b-a342-7c2a440a9478}BarSize"
P1 = "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer"
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 = "HKCUSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects本地UserSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer"
WshShell.RegWrite p1 & "NoCloseDragDropBands", 0, "REG_DWORD"
WshShell.RegDelete p1 & "NoMovingBands"
p1 = "HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogonShell"
WshShell.RegWrite p1, "explorer.exe", "REG_SZ"
p1 = "HKCUSoftwareMicrosoftInternet ExplorerExplorer Bars{32683183-48a0-441b-a342-7c2a440a9478}"
WshShell.RegDelete p1 & "BarSize"
WshShell.RegWrite p1, "媒体区", "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 "完成!" & vbcr & vbcr & "?Kelly Theriot and Doug Knox", 4096, "完成"
Else
MsgBox "没有对你的系统进行任何改变。" & vbcr & vbcr & "?Kelly Theriot and Doug Knox", 4096, "用户取消了"
End If
2、点击“文件”—“另存为”,将保存类型修改为“所有文件”,将文件名修改为“修复任务栏.bat” 点击保存;
3、双击打开“修复任务栏.bat”,按提示进行操作,完成后任务栏就恢复正常了!
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
电脑显示器模糊了怎么调整?电脑显示器显示模糊怎么设置
![](https://img.aspxhome.com/file/2023/30/a264755_0s.jpg)
Word2003如何为汉字添加拼音?
![](https://img.aspxhome.com/file/2023/6/23806_0s.jpg)
在EXCEL表格中怎么使用SUMXMY2函数?
![](https://img.aspxhome.com/file/2023/6/41516_0s.jpg)
怎样去掉Word文档中的手动换行符
Win8.1系统蓝屏错误CRITICAL_STRUCTURE_CORRUPTION(Ntfs_sys)怎么办?
![](https://img.aspxhome.com/file/2023/28/a247326_0s.jpg)
Windows10更新KB5005030无法安装错误代码0xc000021a怎么解决?
![](https://img.aspxhome.com/file/2023/3/52073_0s.png)
让你相见恨晚的Photoshop 使用技巧——用ps做后期渲染
![](https://img.aspxhome.com/file/2023/0/a212020_0s.jpeg)
Excel折线图怎么添加阴影?
![](https://img.aspxhome.com/file/2023/4/a153954_0s.png)
在macOS Big Sur和iOS 14的邮件中如何“拉黑”联系人?
![](https://img.aspxhome.com/file/2023/3/a206783_0s.jpeg)
Win10系统后安装了固态硬盘后还是卡怎么办?
![](https://img.aspxhome.com/file/2023/3/51523_0s.png)
windows hello人脸识别设置不了此选项当前不可用怎么办?
![](https://img.aspxhome.com/file/2023/30/a268497_0s.png)
WPS excel如何查看名字出现的总数
![](https://img.aspxhome.com/file/2023/7/a186717_0s.jpg)
wps表格怎样给单元格搭配颜色
Win7系统登录英雄联盟大厅出现黑屏的解决方法
![](https://img.aspxhome.com/file/2023/3/a300540_0s.jpg)
Excel2010筛选重复数据教程
![](https://img.aspxhome.com/file/2023/8/a143588_0s.jpg)
Win10一周年更新预览版14383已修复和已知问题大全
![](https://img.aspxhome.com/file/2023/28/a244222_0s.jpg)
wps表格怎么导入数据
Windows 10周年更新版正式发布!四条路升级
![](https://img.aspxhome.com/file/2023/2/a288773_0s.jpg)
Xbox One怎么设置自定义背景?Xbox One设置自定义图像背景详细教程
![](https://img.aspxhome.com/file/2023/28/a241769_0s.jpg)
Win10系统出现蓝屏代码0x00000050怎么处理?
![](https://img.aspxhome.com/file/2023/1/a278250_0s.jpg)