Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Disable USB Device or disable plug and play

Reply
Thread Tools Display Modes

Disable USB Device or disable plug and play

 
 
Stefan
Guest
Posts: n/a

 
      08-02-2010
Dear all,

We are currently facing the problem that we need to install a new
printer driver on a lot of machines that are only accessible with a
remote connection.

In order to install a new driver we have to uninstall the old driver,
unplug the USB printer, install the new printer driver and afterwards
connect the physical printer again.

Because we cannot do that on side we're looking for a way to "simulate"
the unplugging of the printer.

We thought about the possibility to somehow disable plug and play and
after uninstalling the old driver the system should not recognize the
device anymore.

Or somehow disable the USB port in windows and enable it afterwards again.

Can anyone give us a solution or a hint how we can accomplish this?

best regards
Stefan
 
Reply With Quote
 
 
 
 
Mike [MSFT]
Guest
Posts: n/a

 
      08-03-2010
It shouldn't be necessary to unplug the printer to install a new driver.
Perhaps there's a way to avoid having to unplug the printer? Can you explain
why it seems that you need to unplug the printer for this to work? Can you
not just install the new driver without uninstalling the old one?

-Mike

"Stefan" <> wrote in message
news:...
> Dear all,
>
> We are currently facing the problem that we need to install a new printer
> driver on a lot of machines that are only accessible with a remote
> connection.
>
> In order to install a new driver we have to uninstall the old driver,
> unplug the USB printer, install the new printer driver and afterwards
> connect the physical printer again.
>
> Because we cannot do that on side we're looking for a way to "simulate"
> the unplugging of the printer.
>
> We thought about the possibility to somehow disable plug and play and
> after uninstalling the old driver the system should not recognize the
> device anymore.
>
> Or somehow disable the USB port in windows and enable it afterwards again.
>
> Can anyone give us a solution or a hint how we can accomplish this?
>
> best regards
> Stefan


 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      08-03-2010
Stefan <> wrote:
>
>We are currently facing the problem that we need to install a new
>printer driver on a lot of machines that are only accessible with a
>remote connection.
>...
>We thought about the possibility to somehow disable plug and play and
>after uninstalling the old driver the system should not recognize the
>device anymore.
>
>Or somehow disable the USB port in windows and enable it afterwards again.


THAT is easy. Anything you can do in Device Manager can be done with the
"devcon" utility from the WDK:
devcon disable "USB\VID_xxxx&PID_xxxx*"
Then, later:
devcon emable "USB\VID_xxxx&PID_xxxx*"
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
active sync issue mk3100 patrick craig ActiveSync 0 01-15-2010 05:06 AM
Vista doesn't plug and play device driver's not found E Windows Vista Hardware 3 12-16-2007 08:52 AM
tv_ConfigMgrErr24 & multiple entries in Device Manager corwin Windows Vista Performance 1 11-11-2007 11:53 AM
USB plug and play mouse Judy Windows Vista Hardware 4 07-18-2007 09:02 PM
Windows Mobile Center installation breaks plug and play Gabriel Windows Vista Hardware 0 03-09-2007 09:38 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59