2

First of all, this is not a duplicate of this question because that discussion took a detour. In there, the guy basically asked "how to get rid of the tray icon" and people answered "how to have the drives not appear within the list" instead, something much more complicated and beyond the point if you ask me.

Now, on Windows 10, maybe for the reasons covered in that question, the internal SATA hard drives are listed under that list when you click the aforementioned icon. But, as someone said there, no regular desktop-home-Windows-user would normally want to disconnect his hard drives on the fly. The icon and underlying list was useful when it served solely as a USB-drive stopper.

But a USB drive, on the rare occasions I plug one into my PC, can be ejected by going to File Explorer, then right-clicking the device, then 'eject'. The way I see it, the icon in the tray area is just taking space. And no, simply hiding it the conventional way is not good; I prefer to have all my resident apps shown; if I see the "show more arrow", I will always be uncomfortable wondering "what else is in here?"

So how do I get rid of that icon for good?

Giacomo1968
  • 58,727
Da Rossa
  • 149

2 Answers2

0

According to this site the easiest way to achieve this is by using a batch file:

  • Open Editor/Notepad and copy and paste the following code in it:

reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray” /v “Services” /t reg_dword /d 29 /f

  • Save the file with any name you like and .bat in the end (NOT .txt or anything) in your preferred location

  • Create a shortcut for it and save it on the desktop (for now)

  • Open the Run box by hitting the WINKEY + R button combination

  • Type in shell:startup to configure your current User Account’s Startup programs or type in shell:common startup to configure the Startup programs for all the User Accounts on that computer

  • Move that Shortcut file we just created from desktop to that folder

  • Reboot your computer and check if that hides the icon

Maxir
  • 51
0

Go to this URL and either download the software or just download the batch file. Place it on your desktop as a new shortcut, and when you see the windows safely remove hardware icon just click on the batch file and it will disappear. You will love it. You just have to run the batch file to remove it from the notification area: Hide or Remove “Safely Remove Hardware” Tray Icon

Also download the newest version of USBdiskejector.exe from download link below. It's a single file so you have to make a new shortcut to where ever you downloaded it to and place it on your desktop. Most importantly press the windows key and choose all programs and cursor down to the startup folder. Click open and slide your new desktop shortcut to the USB disk ejector shortcut into the startup folder so whenever you boot up the little white icon will show up in your notifications area. Right-click on the white balloon to choose options.

  1. Under General click on the "start the program minimized" and "show drives with partitions as one entry" and also "minimize to tray"
  2. Under ejection click on "minimize the program", "Do nothing", "Use audio notification if you want, and then check "Use balloon notification". May sound difficult but you will soon see that it is very easy and works every time. Left-click on the white balloon and it shows all drives attached and double click on the drive you want to eject and a quick message will come up and inform you that the drive has successfully ejected.(download the latest software).

It took me time to find these answers but it works perfectly. If you want to put the remove windows icon that you have made on the desktop to the taskbar. First hit windows key type cmd. Right-click on Command Prompt in the search result and then select “Pin to taskbar” from the menu. Now you have pinned the Command Prompt to the taskbar but clicking it will open Command Prompt without admin rights. You then choose the properties in the new command prompt taskbar icon and change the fields to point to the batch file and hit ok so that whenever you just click on the taskbar icon it will remove the windows safely remove hardware icon instantly. If you want to change the icon image to what you would like it to look like instead of the black command icon you can "in Properties" select change icon and when it says browse "in case you don't like the ones you see there are 4 icon .dlls to choose from in your %WinDir%/System32 directory. The names are:

  1. imageres.dll
  2. shell32.dll
  3. DDORes.dll
  4. moricons.dll (MS DOS Icons)

Follow all of these steps and you will be one of few people that can have what you want and asked for.