how to power down usb port


  1. Posts : 30
    win10
       #1

    how to power down usb port


    Hi

    I whant to buy the canon Lide 400 scanner.
    But the scanner gets its power by the usb port so when the pc power up de scanner gets also power on.
    How can i make that when the pc power up the usb port of the scanner have no power. End how to manually power up and power down the usb where the scannner is connected to.

    A other posibility is to connect the scanner to a external 7 port usb hup with external power plug en put the external power plug in a power plug with a switch
      My Computer


  2. 3nd
    Posts : 860
    Zorin Lite
       #2

    Methods to Enable or Disable USB Drives or Ports in Windows
    seems like a lot of effort though lol
    or you could just use a usb phone charger adapter thingy that plugs into mains ?
      My Computer


  3. Posts : 1,773
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #3

    Have a look at Nir Sofer's small, free, portable USBDeview.

    It allows commandline options to disable/enable by device name or device serial no.

    As a result it should be easy to create simple .BAT files to control whether the scanner is enabled or not.

    Hope this helps...
      My Computer


  4. Posts : 30
    win10
    Thread Starter
       #4

    @ RickC
    I download the file but how can i make now a bat file to enable and disable the usb
      My Computer


  5. Posts : 1,773
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #5

    glda19 said:
    @ RickC
    I download the file but how can i make now a bat file to enable and disable the usb
    Did you read the information under the section marked Disable/Enable/Remove Command-Line Options, particularly the information at the end of the section regarding elevation... and the example which follows it? It gives you all the information you need.

    For example:

    1. Download the appropriate Zip file, unblock it and unzip it.

    2. Copy the USBDeview.exe file to C:\Windows (or C:\Windows\System32). This saves you from having to use the full filepath in your BAT files (or from having to amend the system's PATH variable).

    3. Copy/paste the example to Notepad and amend it to use the <device name> (or <device serial no.> or <device PID>) of your scanner, e.g.:
    Code:
    USBDeview.exe /RunAsAdmin /disable "Canon LiDE 400"

    4. Save the Notepad text as something like disable_scanner.bat (not disable_scanner.bat.txt)

    5. Create and save another .BAT file to enable the scanner, e.g.:
    Code:
    USBDeview.exe /RunAsAdmin /enable "Canon LiDE 400"

    I don't have a scanner to test which method (<device name>/<device serial no.>/<device PID>) is most effective so you'll have to use trial-and-error.

    Hope this helps...
      My Computer


  6. Posts : 30
    win10
    Thread Starter
       #6

    But how can i make Shortcut without UAC Prompt in Windows 10
    I Create Elevated Shortcut without UAC prompt in Windows 10
    i tried it but its not working
      My Computer


  7. Posts : 1,594
    win10 home
       #7

    If you can plug the scanner into it's own power supply and only use the usb port for data transfer,then there should not be any problems.
    If not,check with the computer manufacturer as to which usb ports are able to supply sufficient power,if any.
      My Computer


  8. Posts : 2,149
    Windows 11 Pro (latest update ... forever anal)
       #8

    glda19 said:
    How can i make that when the pc power up the usb port of the scanner have no power. End how to manually power up and power down the usb where the scannner is connected to.
    Why? What's the point of this exercise?

    Subsequent posts and responses seem to be for an inordinate amount of requirements for such a basic piece of hardware?
      My Computers


  9. Posts : 1,594
    win10 home
       #9

    "Subsequent posts and responses" are simply efforts made to help,in a civil and courteous manner, a fellow member try to solve an apparent USB power supply problem.
    Post 8 doesn't.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:22.
Find Us




Windows 10 Forums