WshShell.RegWrite p1 & "ClassicShell",0,"REG_DWORD" p1 = "HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\本地User\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, "媒體區(qū)", "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 "沒有對你的系統(tǒng)進行任何改變。" & vbcr & vbcr & "?Kelly Theriot and Doug Knox", 4096, "用戶取消了" End If ___________________________________________________________ 另存為:任務(wù)欄調(diào)整.VBS,雙擊執(zhí)行該腳本.中間需要點擊兩次確定。 |