The minimized icon cannot be found in the taskbar after the window is minimized.

Source: Internet
Author: User

Use NotePad to save the following code as a file named xp_taskbar_shorttop_fixall_chs.vbs and double-click it to run it!

======= The following code ============

 

'Xp _ taskbar_shorttop_fixall.vbs-repairs the taskbar when minimized programs don't show.
'? Kelly Theriot and Doug Knox-8/22/2003
'Translation: smallfrogs. Change the English prompt to simplified Chinese
'Source: Microsoft Windows XP newsgroup

Set wshshell = wscript. Createobject ("wscript. Shell ")
Message = "this script is used to fix the problem that icons cannot be displayed in the taskbar when the program is minimized in Windows XP. "& Vbcr
Message = message & "to work properly, this script will shut down and restart the Windows Explorer Shell, which will not damage your system. "& Vbcr
Message = message & "Disable real-time monitoring of all anti-virus software! And save all open files. "& Vbcr
Message = message & "continue? "

X = msgbox (message, vbyesno + vbexclamation, "NOTE ")

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-7c2a424a9478}/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, "assumer.exe", "REG_SZ"

P1 = "hkcu/software/Microsoft/Internet Explorer/explorer bars/{32683183-48a0-441b-a342-7c2a316a9478 }/"
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‑'shangher.exe '")
Process. Terminate (0)
Next

Msgbox "complete! "& Vbcr &"? Kelly Theriot and Doug Knox ", 4096," done"

Else

Msgbox "does not make any changes to your system. "& Vbcr &"? Kelly Theriot and Doug Knox ", 4096," user canceled"

End if

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.