That is, it assumes an "or" between the ID arguments.įor example, devcon hwids *pnp* *mou* returns devices that include either "pnp" or "mou" in their hardware ID or compatible ID. If a command includes more than one ID or ID pattern (an ID that contains wildcard characters (*)), DevCon returns devices whose IDs match any of the IDs or ID patterns. How DevCon searches for devicesĭevCon identifies devices by their computer name, hardware ID, compatible ID, device instance ID, and/or device setup class. For more information, see Hardware IDs and Device Identification Strings. To create a list of the hardware IDs of all devices on the computer for use in subsequent DevCon operations, begin with a DevCon HwIDs command. Many DevCon operations require the hardware ID of the device. For example, to display help for the DevCon Status operation, type devcon /? status (or devcon help status), not devcon status /?. The parameters must appear in the specified order. If you specify an operation, DevCon displays detailed help for the operation. Specifies the arguments for a DevCon command.ĭisplays help. To manipulate the device or change its configuration, use the following commands:
![windows r commands windows r commands](https://www.lifewire.com/thmb/NiH71RQvdIKzw3GmPryT4SUGTEQ=/1002x668/filters:fill(auto,1)/format-command-prompt-747f5fb312e84087b7473d6ba9bc42db.png)
To search for information about devices on the computer, use the following commands: To list and display information about devices on the computer, use the following commands: You can also get syntax help in a Command Prompt window using DevCon help command. For information about the available DevCon commands and the command arguments, use the following list.
WINDOWS R COMMANDS CODE
Instead, the /r parameter determines whether a reboot is required based on the return code from the accompanying operation.For more information, see Rebooting and restarting. This parameter differs from the DevCon Reboot operation, which forces the system to reboot. Reboots the system after completing an operation only if a reboot is required to make a change effective. On computers that run WDK 8.1 and WDK 8, the remote access feature is unavailable.Ĭonditional reboot.
![windows r commands windows r commands](http://www.linux-guides.com/Windows/checkdisk/chkdsk-3.png)
WINDOWS R COMMANDS WINDOWS
On computers that run Windows Vista and later versions of Windows, the Group Policy disables remote access to the service by default. Note To run DevCon commands on a remote computer, the Group Policy setting must allow the Plug and Play service to run on the remote computer. Runs the command on the specified remote computer. Instead, it processes the command with the remaining parameters.įor help on command syntax, you can use the following commands in a Command Prompt window: DevCon help or DevCon help command. If parameters are not in order, DevCon ignores them, but does not display a syntax error. The parameters in a DevCon command must appear in the order shown in the syntax. Note To change the status or configuration of a device, you must be a member of the Administrators group on the computer. You can also use DevCon to enable, disable, install, configure, and remove devices. DevCon (DevCon.exe) is a command line tool that can display detailed information about devices on computers running Windows.