Hacking Remount Writer?

Deleted member 94204

Well-Known Member
Member
Joined
Aug 8, 2007
Messages
280
Reaction score
9
Trophies
1
Location
In the parallel dimension
Website
Visit site
XP
326
Country
United States
Is there a way to remount the sd card writer? It's a lil annoying to have to pull it out and stick it back in everytime.
smileipb2.png


Edit: I can do it through device manager if I disable and re-enable USB Mass Storage Device but I'm looking for a dos command so I can make a bat script when I put another card in.


Figured it out. I tend to figure a lot of things out after I post something on the temps. So to give this topic a purpose I'll post what I did if anyone else is as lazy.

DL: Devcon

Extract and "cd" to the directory. Then type:
CODEdevcon restart USBSTOR\*

Or to make a bat file then enter the following and replace [] with your directory (without brackets, keeping quotes)
CODE"[insert directory]\devcon.exe" restart USBSTOR\*
 
Well you could just install a card reader to your computer or keep the cycloDS card reader in your usb port all the time..how's that really a problem? youre just being super lazy lol
 
I've always suspected remounting a USB drive could be done, just using the command line, probably without needing any software. But I had no idea what the necessary command would be.

I also thought a batch file would be the fastest way of launching said command.

But by the time you navigated to the .bat file's shortcut, double clicked to start it, and finally ran the code, you could have replugged the USB drive just as fast, if not faster. So I decided it was pointless and went and did something more constructive instead.

And that's the story of why I made this delicious sandwich.

Okay, just kidding.
A quick Google came up with this:

Code:
XP has a command "mountvol" which can mount and unmount volumes. This could probably be scripted somehow to achieve the desired effect.

Here's an example:

MOUNTVOL [drive:]path VolumeName
MOUNTVOL [drive:]path /D
MOUNTVOL [drive:]path /L

ÂÂÂÂpathÂÂÂÂÂÂÂÂSpecifies the existing NTFS directory where the mount
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpoint will reside.
ÂÂÂÂVolumeNameÂÂSpecifies the volume name that is the target of the mount
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpoint.
ÂÂÂÂ/DÂÂÂÂÂÂÂÂÂÂRemoves the volume mount point from the specified directory.
ÂÂÂÂ/LÂÂÂÂÂÂÂÂÂÂLists the mounted volume name for the specified directory.

Possible values for VolumeName along with current mount points are:

ÂÂÂÂ\\?\Volume{0a111e45-a795-11d9-bdb3-806d6172696f}\
ÂÂÂÂÂÂÂÂC:\

ÂÂÂÂ\\?\Volume{0a111e41-a795-11d9-bdb3-806d6172696f}\
ÂÂÂÂÂÂÂÂD:\

ÂÂÂÂ\\?\Volume{8069fde6-a7c2-11d9-aee8-93136b4447f9}\
ÂÂÂÂÂÂÂÂE:\

To unmount my USB drive from E:, I run:

mountvol E: /D

To remount:

mountvol E: \\?\Volume{8069fde6-a7c2-11d9-aee8-93136b4447f9}\

The problem comes in when trying to identify the GUID for the volume. I'm not sure how to automate that part of it.
From: Here (scroll down)
 

Site & Scene News

Popular threads in this forum