更新日期:2012-08-20 作者:就下载 来源:http://www.9xiazai.com
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”,按提示进行操作,完成后任务栏就恢复正常了!
栏目推荐: 系统重装 电脑公司特别版 番茄花园xp 一键重装系统win7 win7纯净版 番茄花园win7 u深度 ghostxp系统之家
专题推荐: windows10 如何重装系统win7 大地系统 重装系统 windows7下载安装 win8系统之家
Copyright @ 2020 就下载 版权所有