shortcut to enable or disable device in device manager


  1. Posts : 112
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    shortcut to enable or disable device in device manager


    hi i would like to know
    i would like to enable or disable a device from device manager without opening device manger is there maybe a script or a shortcut
      My Computer


  2. Posts : 1,049
    Windows 7 Pro 32
       #2

    DevCon (Devcon.exe), the Device Console, is a command-line tool that displays detailed information about devices on computers running Windows. You can use DevCon to enable, disable, install, configure, and remove devices.
    DevCon runs on Microsoft Windows 2000 and later versions of Windows.
    I haven't tried it myself but with DevCon(Windows Device Console) you should be able to do that. You don't have to install the WDK as that page says. Here's a solution to extract only devcon.exe from the installer:
    Where to find DevCon.exe - The Deployment Guys - Site Home - TechNet Blogs

    And here's examples of how to use it: Device Console (DevCon.exe) Examples (Windows Drivers)

    Let us know how it goes or if you need help.
      My Computer


  3. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #3

    Devcon.exe


    I downloaded Devcon.exe earlier but apparently it requires some modifications to work on 64bit systems.

    How to Obtain the Current Version of Device Console Utility (DevCon.exe) - TechNet Articles - United States (English) - TechNet Wiki

    It wouldn't work on my machine - AMD x64

    Looked at command line utility DevManView from Nirsoft and can get it to work but as for writing a script and creating a shortcut - it's just guesswork for me!

    Example usage:

    "FullPathTo\devmanview-x64.exe" /disable "ASUS USB2.0 WebCam"

    "FullPathTo\devmanview-x64.exe" /enable "ASUS USB2.0 WebCam"

    Can use Device Name or Device ID.

    I only got it to work from an Elevated Commnd Propmt.
    Last edited by Callender; 14 Dec 2014 at 18:21. Reason: remove text
      My Computer


 

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

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