I ended up using DevCon.exe, a command-line tool for managing Windows devices, in a batch script that called DevCon to disable devices by hardware ID. I got the hardware ID by using Microsoft ConfigMgr (SCCM) and using Hardware Explorer to look at the hardware that SCCM had inventoried on each machine, then search by "touchscreen" and "pen".
Sep 09, 2014 · However, when I try to the same, I get the message 'devcon failed' with no further elaboration. I provided following commands but none of them works. devcon install "C:\Program Files (x86)\Molecular Imaging\MI\Application\Drivers\pixci_win7x64\epixxcw6.inf" "PCI\VEN_165A&DEV_EB01&CC_FF00" or after installing through device manager I ended up using DevCon.exe, a command-line tool for managing Windows devices, in a batch script that called DevCon to disable devices by hardware ID. I got the hardware ID by using Microsoft ConfigMgr (SCCM) and using Hardware Explorer to look at the hardware that SCCM had inventoried on each machine, then search by "touchscreen" and "pen". The problem I'm facing is as follows: I have a device connected to a USB port of a laptop and control this device with Labview. The device shuts itself off when it encounters errors that are prescribed by the device manufacturors; in this case, it is a water bob, that when it sinks (thereby physical Dec 15, 2009 · Devcon is a command line utility that allows you to programmatically perform functions such as detecting enabling, disabling, removing, restarting, and querying devices attached to your computer (any devices, not just USB devices). You can find out what devices are currently recognized as being connected to your computer, and you can target DevCon uses the standard ExitWindowsEx function to reboot. If the user has open files on the computer or a program will not close, the system does not reboot until the user has responded to system prompts to close the files or end the process. For more information about ExitWindowsEx, see the Microsoft Windows SDK. "devcon.exe restart * ftdi *" "devcon.exe disable * ftdi *" are fails while in hung state – datacompboy Dec 22 '12 at 8:50 The bad news is that the FTDI-based devices are the most reliable ones on the market! - devices based on the PL2303 (and/or their chipset vendor's drivers) are severely broken. – marko Dec 23 '12 at 1:29
msdn.microsoft.com
im having a problem with ftdi based USB ports loosing connection due to noise issues (i have read on these forums this isnt uncommon). the only way to fix this is to unplug usb cable then plug it back in. i would like to do this programmatically using devcon.exe with the command "devcon restart *ROOT_HUB20*", but i need to run the system exec The Devcon ® brand of maintenance and repair products effectively rebuild equipment to original specifications or prevent failures from occurring in a preventative maintenance program. These include epoxy and urethane coatings for metal repair, rubber repair, belt repair, corrosion repair and floor repair.
using this option you can not obtain version of DevCon.exe for x64 (aka AMD64 aka EM64T) platform. If you don't match the platform DevCon.exe might be partially functional. For example if you try to use x86 version of DevCon.exe with x64 OS it would correctly read and display information but return errors if you try to make some changes (e.g
The following command runs the DevCon Rescan operation on Server01, a remote computer, by adding the /m parameter to the command. devcon /m:\\server01 rescan Example 38: Restart a device. The following command uses the DevCon Restart operation to restart the loopback adapter on the local Restart the device or computer DevCon can restart a local device, reboot the local system on demand, or reboot the local system if required for another DevCon operation. DevCon source code The DevCon source code is also available so that you can examine the methods that DevCon uses to retrieve and change setup and configuration data. Sep 09, 2014 · However, when I try to the same, I get the message 'devcon failed' with no further elaboration. I provided following commands but none of them works. devcon install "C:\Program Files (x86)\Molecular Imaging\MI\Application\Drivers\pixci_win7x64\epixxcw6.inf" "PCI\VEN_165A&DEV_EB01&CC_FF00" or after installing through device manager