"Late to your party!"
Have you looked at UDisk by cfixd?
He created a Rainmeter plugin and example skin to work with USB discs.
It is currently April 23rd, 2024, 9:35 pm
Tool to remove USB drives
-
- Rainmeter Sage
- Posts: 5406
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Tool to remove USB drives
No, I haven't, but definitely will. Thanks for the tip and link.eclectic-tech wrote:Have you looked at UDisk by cfixd?
Probably a plugin would be even better then an exe, so I'll take a look.
Thanks again eclectic-tech.
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Tool to remove USB drives
Later, but the more useful.
Thanks eclectic-tech for your very useful tip. UDisk seems perfect for my needs, being much better then the apps I checked before, so probably I'll use this one.
Thanks again.
-
- Rainmeter Sage
- Posts: 5406
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Tool to remove USB drives
Glad to point you in the direction ...
Sometimes it pays to search through the older posts.
You never know what you may find, that's how I found UDisk!
Sometimes it pays to search through the older posts.
You never know what you may find, that's how I found UDisk!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Tool to remove USB drives
Right! At this point, you was successful, good find, UDisk seems great for now. I'm continuously testing it, but looks good.eclectic-tech wrote:Sometimes it pays to search through the older posts.
You never know what you may find, that's how I found UDisk!
-
- Posts: 660
- Joined: June 25th, 2015, 7:02 pm
- Location: The Sky, USA
Re: Tool to remove USB drives
I just implemented this into my suite, and using the x86 version on 64-bit systems works just fine. You don't actually need to use both.balala wrote:Right.
I checked this one, too. The only disadvantage of it is that it has two different versions for x86 and x64 systems, so when I'll publish my skin, I'll have to add measures to use the proper version. Not impossible, but I'd like to avoid this.
Anyway thanks for the info.
-
- Posts: 22
- Joined: May 7th, 2016, 12:56 am
Re: Tool to remove USB drives
Quick googling gave me these command (yeah for cmd.exe)
If that is not what you are looking for then DevCon is best coice since it is official microsoft tool, and it works on windows 2000 or newer and you wont believe it but its open source!
If you only need binary then these is for you (quoted from page above):
or simply compile it from the source code...
Code: Select all
Rundll32 Shell32.dll,Control_RunDLL HotPlug.dll
If you only need binary then these is for you (quoted from page above):
Code: Select all
DevCon (Devcon.exe) is included when you install the WDK, Visual Studio, and the Windows SDK for desktop apps
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Tool to remove USB drives
Sorry for the very late reply, I just came home from my first holiday of this year.raiguard wrote:I just implemented this into my suite, and using the x86 version on 64-bit systems works just fine. You don't actually need to use both.
Yes, probably the x86 version works well even on the 64 bits systems, but I'd prefere to include both versions and use the correct one. But this question has no more too much importance, because I finally decided to use the UDisk, which is a plugin, developed by cfixd and as such, the skin installer will install the proper version.
Thanks anyway for the information.
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Tool to remove USB drives
Thanks NegativeIQ, this indeed isn't what I was looking for. It opens the window which allows removing the devices, but I'd like to remove them silently.NegativeIQ wrote:Quick googling gave me these command (yeah for cmd.exe)Code: Select all
Rundll32 Shell32.dll,Control_RunDLL HotPlug.dll
Thanks again, but as I wrote above, after eclectic-tech's suggestion, I finally will use the UDisk plugin, which works very well and also identifies well the external hard drives.NegativeIQ wrote:If that is not what you are looking for then DevCon is best coice since it is official microsoft tool, and it works on windows 2000 or newer and you wont believe it but its open source!
If you only need binary then these is for you (quoted from page above):or simply compile it from the source code...Code: Select all
DevCon (Devcon.exe) is included when you install the WDK, Visual Studio, and the Windows SDK for desktop apps
Thanks anyway for your efforts to find a good solution.