MSFN Forum: Safely Remove Hardware Icon(that everyone hate) - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Safely Remove Hardware Icon(that everyone hate) Rate Topic: -----

#13 User is offline   red_house 

  • Member
  • PipPip
  • Group: Banned
  • Posts: 115
  • Joined: 12-October 04

Posted 28 December 2004 - 11:01 AM

SiMoNsAyS - you can set each icon individually to whichever of the three values you wish regardless of whether, or not, you have selected "Hide Inactive Icons". Your choice in "Customise" will over-ride "Hide Inactive Icons".

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 User is offline   red_house 

  • Member
  • PipPip
  • Group: Banned
  • Posts: 115
  • Joined: 12-October 04

Posted 28 December 2004 - 11:07 AM

P.S. Astalavista - I just thought I should point out to you that you're in the XP Forum not the Unattended Forum.

#15 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 28 December 2004 - 11:09 AM

:lol: crap that was stupid of me.

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 User is offline   red_house 

  • Member
  • PipPip
  • Group: Banned
  • Posts: 115
  • Joined: 12-October 04

Posted 28 December 2004 - 11:18 AM

I'm getting a bit confused too, Astalavista. My apologies, I forgot I wasn't communicating with the poster of the original query - I just can't figure out why he doesn't wish to hide the icon. :unsure:

#17 User is offline   Shotgun 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 462
  • Joined: 07-November 03

Posted 31 December 2004 - 08:40 AM

I don't know if this helps, but this thread mentions something awfully similar to what ripken204 mentions

Avoid Unsafe USB Removal Dialog

#18 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 January 2005 - 10:41 AM

that just explains wut the icon does, and also i want to find a way to completely remove it, i dont want to hide it, i do have a program that will get rid of it but i have to click it every time i log on and that gets annoying.

#19 User is offline   red_house 

  • Member
  • PipPip
  • Group: Banned
  • Posts: 115
  • Joined: 12-October 04

Posted 02 January 2005 - 05:54 AM

I have the same icon, I've had it for 11 months now. I chose the "Always Hide" option in Customise Taskbar and I haven't seen it since (Yes it's still there - I just checked, still there, still hidden, still totally out of sight). You could do the same - it's quite simple. I've already explained how to do it, in a previous post!

#20 User is offline   Shotgun 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 462
  • Joined: 07-November 03

Posted 02 January 2005 - 11:01 AM

ripken204, on Jan 1 2005, 12:41 PM, said:

that just explains wut the icon does, and also i want to find a way to completely remove it, i dont want to hide it, i do have a program that will get rid of it but i have to click it every time i log on and that gets annoying.

If you completely remove it, how are you going to unplug usb devices that are not hot-swappable? :huh:

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.

#21 User is offline   Jamer 

  • Group: Members
  • Posts: 8
  • Joined: 20-November 04

Posted 02 January 2005 - 03:21 PM

Worked for me thanks for the tip! :D

#22 User is offline   tux204 

  • Group: Members
  • Posts: 2
  • Joined: 04-January 05

Posted 04 January 2005 - 02:15 AM

Hey. I have the opposite problem. I'm dreadfully paranoid of killing my 128 MB JumpDrive or Zip 100 (yes, i know they aren't that great, but i love them both anyway) and somehow, i lost my safe removal icon. I installed McAfee internet security suite yesterday, and *poof* it was gone. Does anybody know how i can get it back? I've tried setting it to always show, i've restarted about a billion times now, and i'm even exploring my startup programs in an effort to put it in there. The only thing I've noticed that's different is that there are far fewer instances of "svchost.exe" running. Could this have something to do with it? Oh and i lost my volume icon too... I would like it back, and have already tried many things, but it's not all that important to me in the long run... Thanks in advance...

#23 User is offline   red_house 

  • Member
  • PipPip
  • Group: Banned
  • Posts: 115
  • Joined: 12-October 04

Posted 04 January 2005 - 07:32 AM

tux204 - Have you tried re-installing any software that came with the hardware - that may help.

#24 User is offline   tux204 

  • Group: Members
  • Posts: 2
  • Joined: 04-January 05

Posted 05 January 2005 - 08:59 PM

Haven't tried that yet... there was no software with the jumpdrive, but there was software for my zip drive and my printer, which also show up under the icon. What i don't understand is how the icon disappeared in the first place. I somehow got my volume control back, but not my safe removal. I'll try reinstalling the software for the zip drive though... Good call, red_house

any other ideas in case that doesn't work, ne1?

#25 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 April 2005 - 04:41 PM

Hide "Safely Remove Hardware" icon
http://www.tweakxp.c...weak123852.aspx

Quote

Here is a good way to remove the "Safely Remove Hardware" icon from the systray on Windows XP, without enabling the "hide inactive icons and always hide" tip, which I found not useful because I don't like this little arrow more than this annoying icon.

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 User is offline   godan 

  • Custom member title
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 11-July 04

Posted 04 April 2005 - 09:21 PM

you can do one of two things as i see it if you dont want to just hide the icon (i also hate the icon and the stupid hide arrow as well so this is what i do)

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 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

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 User is offline   godan 

  • Custom member title
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 11-July 04

  Posted 05 April 2005 - 10:45 AM

ok i have made a setup file (with winrar so you can unpack the exe and see the code in the setup cmd for yourself if you dont trust it) that places hidsrhi.exe into your system32 folder, automatically adds the registry key to run hidesrhi.exe everytime your computer starts, runs hidesrhi.exe to remove the icon right away without retarting, and then creates a shortcut to the remove dialog under start button\all programs\accessories.

DOESNT work at the moment due to load order, will fix later

Attached File(s)



#29 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2005 - 11:01 AM

great work, I made a basic SFX and CMD file to do that yesterday but I noticed that the SRH icon would load AFTER the HideSRH.exe would run. Is that also the case here?

#30 User is offline   godan 

  • Custom member title
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 11-July 04

Posted 05 April 2005 - 11:30 AM

just noticed that also... im going to try a few things after my classes and ill try and figure away around this. it might be something as easy as changing the file names and reg key to "zHideSRHi"="zHIDESRHI.EXE" so it loads later. but i gotta go to class now so i cant test it at the moment.

#31 User is offline   godan 

  • Custom member title
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 11-July 04

Posted 06 April 2005 - 10:43 PM

double post sorry please remove.

#32 User is offline   godan 

  • Custom member title
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 11-July 04

Posted 06 April 2005 - 10:45 PM

ok, anyone here know asm? the reason i ask is because i dont know how else to delay HideSRHi.exe from running untill after the icon loads into the system tray other than coding it into the program itself. so... if some one could just code in a 30-60 second delay into the autors code.. he said it is open source so as long as we give credit where its due it should be fine.
.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.

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy