Right Click Context Menu - Eject USB Device?

Page 1 of 3 123 LastLast

  1. Posts : 1,507
    W7 Ult. x64 | OS X
       #1

    Right Click Context Menu - Eject USB Device?


    EDITED: Original Question: How can I add the eject/safely remove choice back into the explorer context menu?

    New Question:
    Ok well now I want to ask a different question. Does anyone know how to properly edit the registry to add such a key. When I'm in the devices & printers window the option is available via right click. Therefore, I searched for eject in the registry and found an entry in the shell section of DeviceDisplayObject which is the controller (I hope) for that Devices & Printers window. I'm assuming this is the correct key.

    It's located at:
    HKEY_CLASSES_ROOT\DeviceDisplayObject\AllItems\Shell\Windows.Eject

    Now I've attempted to copy that and move it to places such as the global context menu area (ROOT\*\Shell\) and (ROOT\Drive\shell\). However, no matter where I add it it won't work. Maybe something in the shellex line below it is required as well, I don't know. Maybe I'm just cloning it wrong.

    If anyone has experience give it a try.

    NOTE: I don't want to open the menu for ejecting a disk, I want the right click item to actually eject the disk. Also, I know how to create a shortcut to open the ejection menu.
    Last edited by not so gray matter; 18 Apr 2010 at 12:30.
      My Computer


  2. Posts : 8,370
    W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
       #2

    I used to unplug an external drive in Vista without the need to click on the safely remove icon. In 7 the prompting for missing device will be seen when not doing that for a flash drive however.

    With or without clicking on the green icon in the system tray the drive letter to certain flash drives will still be maintained. If the brand like San Disk sees an automatic appearance when first plugged in with a small screen with the brand name on it then you click the safely remove option to stop the prompting.
      My Computer


  3. whs
    Posts : 26,213
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #3

    The way I understood it: Eject was for the card reader because on some system you cut the reader power off if you used "safely remove". For USB sticks and disks you were supposed to use "safely remove" which indeed was part of the Vista right click context menu. That would make sure that all data buffers were written to the device.
    But you are right, in Win7 you have "Eject" for the cards, but no "Safely Remove" for the others. For that you have to go to the icon in the tray.
      My Computer


  4. Posts : 1,507
    W7 Ult. x64 | OS X
    Thread Starter
       #4

    Whether it's called "Eject" or "Safely Remove", it'd be nice if I could add it to my context menu.

    I want it there because once a HDD is ejected, it'll enter low power mode, then if I want to reconnect it, I can just fiddle with the usb plug. Granted I could always use the safely remove systray icon, but it's not as convenient for me.

    BTW, My external HDDs don't enter low power mode when connected, or if they do they get interuppted and spin back up, it's much more reliable when the OS thinks they're disconnected.
      My Computer


  5. whs
    Posts : 26,213
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #5

    Night Hawk said:
    I used to unplug an external drive in Vista without the need to click on the safely remove icon. In 7 the prompting for missing device will be seen when not doing that for a flash drive however.

    With or without clicking on the green icon in the system tray the drive letter to certain flash drives will still be maintained. If the brand like San Disk sees an automatic appearance when first plugged in with a small screen with the brand name on it then you click the safely remove option to stop the prompting.
    Your approach is only halfway safe if you did not enable write caching (which I guess most people would do because of the performance gain). With write caching on, you could lose data.
      My Computer


  6. Posts : 8,370
    W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
       #6

    At the time I simply plugged the drive in and upnplugged when first getting it to solve the XP detection problem while it still had the factory Fat volume on. That was a few times originally subsequently leaving it plugged in once reformatted until 7 came along!

    Now it's no longer in the case but waiting to go back into the external casing or find another home. But write caching wasn't involved there. With the flash drives now being used the sys tray icon is simply clicked for the eject option.

    The little green icon is still the same in 7 and should be used as a regualr habit to solve all problems with the external drives. Without any drive or device plugged in however the icon is not seen until you plug one in which I did to see that reappear.
      My Computer


  7. Posts : 1,507
    W7 Ult. x64 | OS X
    Thread Starter
       #7

    One of my problems with the safely eject systray icon is that when I have mutiple devices connected and eject one, I have to actually power the device down in order to eject another. In other words, I can't eject to low power mode and then fiddle with the connection to re-engage as I usually do. It's too bad that their isn't an application (atleast that I know of) that handles devices like Disk Utility on the MAC.

    For those who don't know, disk utility allows you to mount and unmount partitions of external hard drives without affecting partitions on the same disk. OS X automatically mounts all partitions on a disk when it's initially connected, but with disk utility you can unmount 1 partition while keeping the other mounted and/or unmount all partitions and then mount them again 30 minutes later without having to cycle the power in the device.
      My Computer


  8. Posts : 1,507
    W7 Ult. x64 | OS X
    Thread Starter
       #8

    Ok well now I want to ask a different question. Does anyone know how to properly edit the registry to add such a key. When I'm in the devices & printers window the option is available via right click. Therefore, I searched for eject in the registry and found an entry in the shell section of Device... I'm assuming this is the correct key.

    It's located at:
    HKEY_CLASSES_ROOT\DeviceDisplayObject\AllItems\Shell\Windows.Eject

    Now I've attempted to clone that and move it to places such as the global context menu area (ROOT\*\Shell\) and (ROOT\Drive\shell\. However, no matter where I add it it won't work. Maybe something in the shellex line below it is required as well, I don't know. Maybe I'm just cloning it wrong.

    If anyone has experience give it a try.
      My Computer


  9. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #9

    notsograymatter,

    If you are looking for this thing for convenience, you can create a shortcut to eject the usb using USB Disk Ejector tool.

    Create a Shortcut to Immediately Eject a Specific USB Drive in Windows 7
      My Computer


  10. Posts : 1,507
    W7 Ult. x64 | OS X
    Thread Starter
       #10

    Bill2 said:
    notsograymatter,

    If you are looking for this thing for convenience, you can create a shortcut to eject the usb using USB Disk Ejector tool.

    Create a Shortcut to Immediately Eject a Specific USB Drive in Windows 7
    Yeah I know how to do that, I want the Eject/Safely remove item in the context menu because it's item specific. I can right click > eject a specific drive. The shortcut isn't any better than the stock systray icon

    BTW: You don't need to download an external program to do that, you can just use the line:
    C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL hotplug.dll
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:26.
Find Us