MSFN Forum: unplug&replug USB device - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

unplug&replug USB device (virtually) Rate Topic: -----

#1 User is offline   oviradoi 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 02-June 05
  • OS:none specified
  • Country: Country Flag

Posted 29 April 2007 - 08:58 AM

Hi everyone.
Does anyone know of an app that would unplug and replug an USB device without you really needing to do it?
Just an app that would make Windows think I have removed the USB device and then plugged it in again

Thanx a lot


#2 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,563
  • Joined: 14-August 04

Posted 29 April 2007 - 09:20 AM

Why are you trying to do this? Perhaps there's a better solution to your original problem.

#3 User is offline   Jeremy 

  • Casual Poster
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,473
  • Joined: 24-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 April 2007 - 01:07 PM

View Postoviradoi, on Apr 29 2007, 11:58 AM, said:

Hi everyone.
Does anyone know of an app that would unplug and replug an USB device without you really needing to do it?
Just an app that would make Windows think I have removed the USB device and then plugged it in again

Thanx a lot

And I thought I was lazy...

#4 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,563
  • Joined: 14-August 04

Posted 29 April 2007 - 01:53 PM

View PostJeremy, on Apr 29 2007, 03:07 PM, said:

And I thought I was lazy...

He may have a valid reason for his question, you know. Which is why I asked him why he wanted to do so.

#5 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,792
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 30 April 2007 - 03:26 AM

If you are talking about USB Mass Storage Devices, check here:
http://www.uwe-sieber.de/usbdlm_e.html

More generally, USBdeview can disconnect USB devices:
http://www.nirsoft.n...vices_view.html

Following is just a guess on my part, but manually running the "New Hardware Wizard" should re-connect it, or maybe one could try manually starting the relevant services with "NET START".

jaclaz

#6 User is offline   nmX.Memnoch 

  • MSFN Master
  • Group: Moderator
  • Posts: 2,086
  • Joined: 15-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 April 2007 - 12:50 PM

You can probably do it with DevCon. DevCon is the command line equivalent of Device Manager. It can be scripted to disable/enable devices.

http://support.microsoft.com/kb/311272

#7 User is offline   oviradoi 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 02-June 05
  • OS:none specified
  • Country: Country Flag

Posted 02 May 2007 - 03:27 AM

View PostJeremy, on Apr 29 2007, 09:07 PM, said:

View Postoviradoi, on Apr 29 2007, 11:58 AM, said:

Hi everyone.
Does anyone know of an app that would unplug and replug an USB device without you really needing to do it?
Just an app that would make Windows think I have removed the USB device and then plugged it in again

Thanx a lot

And I thought I was lazy...


I didn't post here just beacause I was lazy...

I have downloaded InnoTek VirtualBox, a VM program that can work with USB sticks.
But it's method for working with them requires you to unplug and replug it frequently.
So, instead of going all the way in the back of my PC to use it, I thought there ought to be a nice app that would do that for me

I will try the programs posted here. Thanx

This post has been edited by oviradoi: 16 May 2007 - 11:44 PM


#8 User is offline   jondercik 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 15-January 04

Posted 02 May 2007 - 05:10 AM

Vmware 6 can allow virtual machines to access USB devices.

#9 User is offline   oviradoi 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 02-June 05
  • OS:none specified
  • Country: Country Flag

Posted 03 May 2007 - 11:12 AM

View Postjondercik, on May 2 2007, 02:10 PM, said:

Vmware 6 can allow virtual machines to access USB devices.

Yes. VMWare 5 can do that too.
But InnoTek VirtualBox works a bit faster (I have an Intel P3@650 MHz so I need speed)

#10 User is offline   kumarkumar 

  • Member
  • PipPip
  • Group: Members
  • Posts: 130
  • Joined: 13-February 06

Posted 05 May 2007 - 10:57 AM

I also face this problem quite a few times. :D
I plug in the USB drive and do my work and then I remove it from the taskbar. But then I realize that there is still some more work to be done from the USB drive. So I have to pull it out and plug that in again to access the USB drive. This is annoying becoz I have to reach behind the CPU and do the plgging and unplugging.

Is there a way to reconnect the USB drive without installing any additional software (I mean by utilizing Windows native tools/commands)?? (PS: I don't have permission to install any additional software)

#11 User is offline   oviradoi 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 02-June 05
  • OS:none specified
  • Country: Country Flag

Posted 16 May 2007 - 11:44 PM

I have figured it out.
InnoTek VirtualBox doesn't really work that way.
You only need to unplug&plug it ONCE.
So I don't really need that app any more
But those apps you showed me are really good

Thanks anyway.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy