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.