Safely Remove Hardware Icon(that everyone hate)
#13
Posted 28 December 2004 - 11:01 AM
Astalavista - If you have hardware which installed the "Safely Remove Hardware" icon in the System tray then you are stuck with it, "Attended" or "Unattended" - unless you wish to create the potential for mayhem should you ever decide to remove the aforementioned hardware. Just hide it.
#14
Posted 28 December 2004 - 11:07 AM
#15
Posted 28 December 2004 - 11:09 AM
true true.. wrong forum I wonder how i got here.
the only time that icon appears is when i am using my sony vaio laptop.
#16
Posted 28 December 2004 - 11:18 AM
#17
Posted 31 December 2004 - 08:40 AM
Avoid Unsafe USB Removal Dialog
#18
Posted 01 January 2005 - 10:41 AM
#19
Posted 02 January 2005 - 05:54 AM
#20
Posted 02 January 2005 - 11:01 AM
ripken204, on Jan 1 2005, 12:41 PM, said:
If you completely remove it, how are you going to unplug usb devices that are not hot-swappable?
BTW, you haven't specified if you are the ONLY person that's going to use that PC you want to remove the safe-remove icon.
#22
Posted 04 January 2005 - 02:15 AM
#23
Posted 04 January 2005 - 07:32 AM
#24
Posted 05 January 2005 - 08:59 PM
any other ideas in case that doesn't work, ne1?
#25
Posted 04 April 2005 - 04:41 PM
http://www.tweakxp.c...weak123852.aspx
Quote
The way to remove the icon is to use a program I made (6 Ko zipped, open source, compilable with masm32) :
Download HideSRHi !
Remember : this icon MUST be use in order to unplug USB device safely. Use this program only if you never remove any of those devices, like me. To restore the icon after running the program, you will have to reset your session, kill explorer.exe or reboot : use with c
Also the Icon is in the stobject.dll (icon group 210) file in WINDOWS\system32 so maybe it can be hacked out.
[edti] ResHacker method will create a blank space in the tray.
This post has been edited by DigeratiPrime: 05 April 2005 - 12:44 AM
#26
Posted 04 April 2005 - 09:21 PM
1.) download HideSRHi from the link stated above and extract the exe to your system32 folder then enter this into your registry
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "HideSRHi"="HIDESRHI.EXE"
or
2.) download the program place it anywhere you like and creat a shortcut to it in your startup folder.
EDIT: This is not working at the moment, will fix later.
#27
Posted 04 April 2005 - 10:09 PM
Windows Registry Editor Version 5.00 ;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] ;"HideSRHi"=HideSRHi.exe [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run] "HideSRHi"=HideSRHi.exe
Also you can create a shortcut to open the Dialog box Without using the Tray Icon.
Just create a shortcut to:
%windir%\System32\RUNDLL32.EXE shell32.dll,Control_RunDLL hotplug.dll
This post has been edited by DigeratiPrime: 05 April 2005 - 12:49 AM
#28
Posted 05 April 2005 - 10:45 AM
DOESNT work at the moment due to load order, will fix later
Attached File(s)
-
HideSRHi.zip (49.86K)
Number of downloads: 456
#29
Posted 05 April 2005 - 11:01 AM
#30
Posted 05 April 2005 - 11:30 AM
#32
Posted 06 April 2005 - 10:45 PM
.386 .model flat, stdcall option casemap :none include ..\include\windows.inc include ..\include\user32.inc include ..\include\kernel32.inc include ..\include\shell32.inc includelib ..\lib\kernel32.lib includelib ..\lib\user32.lib includelib ..\lib\shell32.lib main PROTO .data sClass db "SystemTray_Main",0 .code start: invoke main main proc LOCAL data :NOTIFYICONDATA invoke FindWindow, ADDR sClass, NULL cmp eax, 0 je notfound push eax invoke RtlZeroMemory, ADDR data, sizeof NOTIFYICONDATA mov data.cbSize, sizeof NOTIFYICONDATA pop eax mov data.hwnd, eax mov data.uID, 1226 invoke Shell_NotifyIcon, NIM_DELETE, ADDR data ret notfound: invoke ExitProcess, 0 ret main endp end start
thats the asm of it i suggest downloading the little package from the link given earlier in this topic. but againg i think about 45 seconds should give the icon enough time to load so that HideSRHi.exe can find it and then remove it at startup.



Help


Back to top









