Devcon Failed Windows 10

Aug 12, 2015 and ever since I got windows 10 pro 64 bit which has been upgraded from windows 7 accordingly, The PC restarts right after it finishes the script (kind of a requirement by the system in order to disable the device), back in win 7, I could turn it on and off as many times I like without the need to reboot.

Sep 09, 2014 Hi, I need to create a batch file that install a 3rd party camera driver for PCI device. When I install the driver in device through device manager, I can do it successfully. Nov 30, 2017 I thought your issue could be related to an incompatibility with Windows 10 Enterprise, as I've had some issues at work with it. However, it's most likely due to using the wrong version of devcon.exe I would confirm you're using devcon.exe from the x64 folder.

-->

Creates a new, root-enumerated devnode for a non-Plug and Play device and installs its supporting software. Valid only on the local computer.

Devcon Failed Windows 10 Loop

Parameters

Devcon Failed Windows 10 Install

/r
Conditional reboot. Reboots the system after completing an operation when a reboot is required to make the change effective. By default, DevCon does not reboot the system.

INFfile
Specifies the full path and file name of the INF file for the device. If you omit the path, DevCon assumes that the file is in the current directory.

Devcon Failed Windows 10

HardwareID
Specifies a hardware ID for the device.

The specified hardware ID must exactly match the hardware ID of the device. Patterns are not valid. Do not type a single quote character (') to indicate a literal value. For more information, see Hardware IDs and Device Identification Strings.

The system might need to be rebooted to make this change effective. To have DevCon reboot the system, add the conditional reboot parameter (/r) to the command.

You cannot use the DevCon Install operation for Plug and Play devices.

The DevCon Install operation creates a new non-Plug and Play device node. Then, it uses the DevCon Update operation to install drivers for the newly added device. As a result, the success message for the DevCon Install operation reports that DevCon has created the device node and that it has updated the drivers for the device.

If any step of the DevCon Install operation fails, DevCon displays a failure message and does not proceed with the driver installation.

The DevCon Install command creates a new non-Plug and Play device node each time you run it. To update or reinstall drivers, use the DevCon Update command.

Sample Usage

Examples

See also