第一步,删除图标注册表键值
第二步,重启Explorer进程
# NSIFFANS.COM
# 第一步,删除图标注册表键值
# 第二步,重启Explorer进程
Name "清理通知区域无用图标"
OutFile "清理通知区域无用图标.exe"
Section
DeleteRegValue HKCR "Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" "IconStreams"
DeleteRegValue HKCR "Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" "PastIconsStream"
DeleteRegValue HKCU "Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" "IconStreams"
DeleteRegValue HKCU "Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" "PastIconsStream"
FindWindow $0 "Progman" "Program Manager"
System::Call User32::GetWindowThreadProcessId(ir0,*i.r0)
System::Call Kernel32::OpenProcess(i0x0001,i,ir0)i.r0
System::Call Kernel32::TerminateProcess(ir0,i0)
System::Call Kernel32::CloseHandle(ir0)
SectionEnd
评论 (0)