Enable or disable a specific USB port on remote system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sakthikumarb
    New Member
    • Sep 2008
    • 19

    Enable or disable a specific USB port on remote system

    Hi..

    In local system, under universal serial bus controllers in Device manager.We can enable and disable the particular USB port.

    How can we do the enable and disable the particular USB port in remote system? there is any WMI mechanism ?( means any win32 class is there to change enable and disable property of a particular USB port)

    if there is no wmi mechanism.. how can we achieve the same?

    Thanks in advance...
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Well WMI has a Win32_USBContro ller that has two methods Reset/SetPowerState that you can do to any usb controllers on the system.
    Maybe that would work?

    Comment

    • sakthikumarb
      New Member
      • Sep 2008
      • 19

      #3
      Originally posted by Plater
      Well WMI has a Win32_USBContro ller that has two methods Reset/SetPowerState that you can do to any usb controllers on the system.
      Maybe that would work?
      but these methods are not implemented right...

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Well I don't know then.
        Doing it to a local system is one thing, but its a big security hole if you want to try to do it to another system.

        Comment

        Working...