Jump to content

Disable device from CMD

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Is there any way to disable a device from the CMD?

Thanks.

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
What do you mean by disabling a device?

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Are you talking about a hardware device?

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yes, a device. Instead of starting the device manager and disable it from there I want to disable a hardware device from the CMD

#5
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
That depends on what kind of device you're talking about. If it's a printer or something similar, then use MODE. Otherwise, you'll have to say what kind of device for more information.

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
It's a Logitech USB Headset. Here is a picture:
http://www.mrgadget....headset_200.gif

If that might help.

thanks

#7
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
I managed to find VB6 code to do it, but I don't think there's a way to do it from the command prompt, though. Try using

SUBST <driveletter> /D

or

MODE <devicename> /STOP

#8
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
What drive letter? I don't see any drive letter for this headset... :S

Can you give me the VB6 code please? (a link or something?)

Thanks