Eject() : For Removable storage devices

Post your working scripts, libraries and tools
User avatar
GaXve
Posts: 89
Joined: 30 Mar 2019, 18:20

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

25 Mar 2020, 03:05

SKAN wrote:
04 Jan 2020, 02:36
GaXve wrote:
04 Jan 2020, 00:56
The driver supports the specified operation, but the driver rejected the operation.
Just to confirm: You are able to eject it from Tray icon?

If yes, can you please post a screen shot of "Safely Remove Hardware" menu?
I found the problem ➔ Realtek USB 3.0 Card Reader ⮧
Device Manager\Universal Serial Bus controllers\Realtek USB 3.0 Card Reader ➔ Uninstall device (Check ✔: Delete the driver software for this device); Reboot.
User avatar
SKAN
Posts: 769
Joined: 29 Sep 2013, 16:58

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

25 Mar 2020, 14:51

haichen wrote:
24 Mar 2020, 03:53
I suppose so. But I don't have Windows 7 anymore.
Your fine example works for me in Win 10 but not in Win 7.
Will it be useful if a global variable (or a ByRef parameter) is set to DeviceID when eject is called?
User avatar
SKAN
Posts: 769
Joined: 29 Sep 2013, 16:58

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

25 Mar 2020, 14:52

GaXve wrote:
25 Mar 2020, 03:05
I found the problem ➔ Realtek USB 3.0 Card Reader ⮧
Device Manager\Universal Serial Bus controllers\Realtek USB 3.0 Card Reader ➔ Uninstall device (Check ✔: Delete the driver software for this device); Reboot.
Thank you very much for the feedback. I highly appreciate it, :thumbup:
User avatar
GaXve
Posts: 89
Joined: 30 Mar 2019, 18:20

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

25 Mar 2020, 16:59

SKAN wrote:
25 Mar 2020, 14:52
GaXve wrote:
25 Mar 2020, 03:05
I found the problem ➔ Realtek USB 3.0 Card Reader ⮧
Device Manager\Universal Serial Bus controllers\Realtek USB 3.0 Card Reader ➔ Uninstall device (Check ✔: Delete the driver software for this device); Reboot.
Thank you very much for the feedback. I highly appreciate it, :thumbup:
You bet. Thank You for your script! :)
User avatar
GaXve
Posts: 89
Joined: 30 Mar 2019, 18:20

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

06 Apr 2020, 18:42

Now the only trouble is this driver auto-installs itself every time. And I have still to figure out how to prevent a driver from auto-installing itself. If anyone has any tips, please let me know
User avatar
SKAN
Posts: 769
Joined: 29 Sep 2013, 16:58

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

06 Apr 2020, 19:19

GaXve wrote:
06 Apr 2020, 18:42
Now the only trouble is this driver auto-installs itself every time. And I have still to figure out how to prevent a driver from auto-installing itself. If anyone has any tips, please let me know
I'm not sure. I googled and this seems useful.
https://www.ghacks.net/2017/06/03/stop-windows-from-installing-drivers-for-specific-devices/
User avatar
GaXve
Posts: 89
Joined: 30 Mar 2019, 18:20

Re: Eject() : For Removable storage devices (Updated: 03-Oct-2019)

08 Apr 2020, 02:46

Hey Skan thanks for the share! After going through the procedure though, I found it tedious solution to implement. Because I have Windows home, I had to first install "group policy editor" (https://www.itechtics.com/enable-gpedit-windows-10-home/), and also find a replacement driver (which I did not manage to find). My impatience got the best of me :( . I found an alternative though, "show or hide updates" troubleshooter tool. If this can help anyone who might be looking, here's the link!

https://www.repairwin.com/prevent-a-specific-windows-update-or-driver-from-installing-in-windows-10/

Cheers!

Return to “Scripts and Functions”

Who is online

Users browsing this forum: AHKStudent, Bing [Bot], RaptorX and 28 guests