电竞比分网-中国电竞赛事及体育赛事平台

分享

窗口最小化之后消失不見(jiàn)了,怎么辦

 清勤居士 2010-06-26
解決辦法:用下面的代碼恢復(fù)注冊(cè)表 
把下面的代碼 復(fù)制下來(lái) 粘貼到記事本,然后保存成 XXX.vbs就可以了 

Code:
Set WSHShell = WScript.CreateObject("WScript.Shell") 
Message = "本腳本用于修復(fù)Windows XP中當(dāng)最小化程序時(shí),無(wú)法在任務(wù)欄顯示圖標(biāo)的問(wèn)題。"& vbCR & vbCR 
Message = Message & "為了正常工作,本腳本將關(guān)閉和重啟 Windows Explorer ,這個(gè)操作不會(huì)損壞你的系統(tǒng)。" & vbCR & vbCR 
Message = Message & "請(qǐng)關(guān)閉所有殺毒軟件的實(shí)時(shí)監(jiān)控!建議備份注冊(cè)表。"& vbCR & vbCR 
Message = Message & "是否繼續(xù)?" 

X = MsgBox(Message, vbYesNo+vbExclamation, "注意") 

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\StreamsMRU\" 
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 "完成!" & vbcr & vbcr & "?Kelly Theriot and Doug Knox", 4096, "完成" 

Else 

MsgBox "沒(méi)有對(duì)你的系統(tǒng)進(jìn)行任何改變。" & vbcr & vbcr & "?Kelly Theriot and Doug Knox", 4096, "用戶取消了" 

End If

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多