Menu
Is free
check in
the main  /  Problems Devcon Device Manager from the command line. Devcon - Device Manager on the Windows SDE command prompt is not an internal or external command

DevCon Device Manager from the command line. Devcon - Device Manager on the Windows SDE command prompt is not an internal or external command

When you try to open any command through the service program or console window, you encounter an error - the "file name" is not an internal or external command executed by a program or a batch file. The system stubbornly does not open the file for some reasons and this fact is very annoying. The reason for this can be one of several options: the path to the file and the absence of a component in the system is generally specified, that is, it does not exist at the specified address.

The main reasons for which the error appears is "not an internal or foreign command"

As already mentioned, one of the reasons is wrong to specify the path to the file being opened. Typically, the path to the file is registered in the "PATH" variable in the system, the strict path to the directory in which is placed files. If there are any errors in the settings when specifying the path in a variable, or when specifying the file name, the system will issue this error - the "file name" is not an internal or external command executed by the program.

First of all, you must specify the exact path of the "path" variable by the operating system so that there are no errors when opening the file. For this you will probably know the location of the folder. For example, refer to the program, which will continue to work with the executable file in a specific folder.

The variable "PATH" is a variable operating system that serves to find the specified executable objects via the command line or terminal. You can find it in the panel windows management. In new versions of Windows And other OS instructions manually is usually not required.

Indicate the right path in the PATH variable on Windows 7

To correctly specify the path you need to know the exact location of the file. If the program file that needs to be opened is on the disk in C: \\ Program Files \\ Java \\ JDK 1.8.0.45 \\ Bin, then this path must be copied and specified in the system variable for the subsequent opening.


In the event that the error appears again, try transferring the program in the disc working directory with the operating system installed, for example / System32. With this directory, Windows works more often.

Errors arise due to the lack of program components. You can eliminate them with the necessary. For example, take the Telnet component. To enable it, go:


Set the variable "Path" in Windows 8 / 8.1 / 10

  1. We go to the "control panel".
  2. Click link " Extra options Systems.
  3. Find " Environment Variables" In this section you need to choose "PATH". Next "Change", if not ready - to create anew.
  4. In the "System Variable Change" item, specify the value you need and confirm with the "OK" button. Close and all other windows, click "OK".
  5. Open the command line or terminal and try to enter your request again. Now everything should work properly.

Command line utility Devcon.exe. (Dev.iCE Con.sole) is part of the drives for developing drivers (DDK) and comes with source code and documentation on english language. With it, you can turn on, turn off, restart, update, delete and interview individual devices or groups of devices. The DevCon program also provides the necessary information to the driver to develop the driver that is not available using the Device Manager. DevCon utility can be used in all windows versions Older Win2K, including 32 and 64-bit

Devcon Command Line Format:

devcon.exe [-R] [-m: \\\\ Machine] Command [...]

Command Line Settings:

-r. - If it is specified, then after executing the command, the system is restarted.

machine - The name or IP address of the remote computer.

command. - A command performed by Devcon.

arg.- Arguments of the executable team.

To obtain a certificate to use the command, use help.:

devcon.exe Help. - Display a brief help on the use of DevCon

devcon.exe Help Install - Display a certificate for using the command install

Command Line Settings:

classFilter. - Allow changing the filters of classes.

clases. - Display all devices setup classes.

disable - Disable devices that match a specific equipment identifier or instance.

driverFiles. - Display set files Drivers.

drivernodes. - Display all device drivers nodes.

enable - Enable devices that match a specific equipment identifier or instance.

find. - Find devices that match a specific equipment identifier or instance.

findall - Find devices, including disconnected.

help. - Display reference information.

hwids. - Display equipment identifiers.

install - Install the device in manual mode.

listclass. - Display all devices for the setup class.

reboot - Reload the local computer.

remove. - Delete devices that match a specific equipment identifier or instance.

rescan. - Perform the search for new equipment.

resources. - Display device resources.

restart. - Reboot devices that match a specific equipment identifier or instance.

stack - Display the expected stack of device drivers.

status. - Display the operating status of the devices.

update. - Update the device in manual mode.

Updateni. - Update the device in manual mode without notifying the user.

Sethwid - Add, remove or change the order of equipment identifiers for devices with root listed.

To use the utility Devcon.exe. Administrative privileges are required ("Starting on behalf of the administrator" in windows Environment Vista / Windows 7 - 10)

Examples of using the DEVCON utility:

devcon -m: \\\\ Server Find PCI * - Display a list of all PCI devices on remote computer With name Server. Operating mode S. remote connection To another computer is implemented only for Windows XP / Windows Server 2003.

devcon -m: \\\\ 192.168.0.1 Find PCI *\u003e C: \\ ServerPci.txt - output of the list of all computer PCI devices with the IP address 192.168.0.1 in text file C: \\ ServerPci.txt

devcon Find USB * - display a list of USB devices on local computer.

devcon Find USBSTOR * - Display only flash drives and removable discsconnected to USB (class devices usbstor). List of device classes can be obtained by team devcon Classes.

devcon Find \u003d Display - Display a list of class devices DISLPAY..

devcon Find * PNP07 * - Display the list of devices, the identifier of the equipment of which contains a string pNP07.

devcon Find * Ven_8086 * - Display a list of devices whose manufacturer is Intel (equipment manufacturer identifier contains a string Ven_8086.)

PCI \\ Ven_1002 & Dev_5964 & Subsys_ 7C26174B & REV_01 \\ 4 & 38B71F77 & 0 & 0008: Radeon 9200 SE Family (Microsoft)

PCI \\ Ven_1002 & Dev_5D44 & Subsys_ 7C27174B & Rev_01 \\ 4 & 38B71F77 & 0 & 0108: Radeon 9200 SE Sec Family (Microsoft)

PCI \\ Ven_10ec & Dev_8139 & Subsys_ 813910EC & REV_10 \\ 4 & 2E98101C & 0 & 48F0: Realtek RTL8139 Family PCI Fast Ethernet NIC

PCI \\ Ven_11ab & Dev_4320 & Subsys_ 8111A1043 & Rev_13 \\ 4 & 2E98101C & 0 & 28F0: Marvell Yukon 88E8001 / 8003/8010

PCI Gigabit Ethernet Controller

PCI \\ Ven_11ab & Dev_5041 & Subsys_ AD0E779F & REV_01 \\ 4 & 5D18F2DF & 0: AT7B35J8 IDE Controller

PCI \\ Ven_8086 & Dev_244e & Subsys_ 00000000 & Rev_C2 \\ 3 & 267A616A & 0 & F0: Intel (R) 82801 PCI - 244E

PCI \\ Ven_8086 & Dev_24d0 & Subsys_ 00000000 & Rev_02 \\ 3 & 267A616A & 0 & F8: Intel (R) 82801EB LPC- - 24D0

PCI \\ Ven_8086 & Dev_24D1 & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & FA: Intel (R) 82801EB ULTRA ATA Storage - 24D1

PCI \\ Ven_8086 & Dev_24D2 & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & E8: Intel (R) 82801EB USB - - 24D2

PCI \\ Ven_8086 & Dev_24D3 & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & FB: Intel (R) 82801EB SMBUS - 24D3

PCI \\ Ven_8086 & Dev_24D4 & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & E9: Intel (R) 82801EB USB - - 24D4

PCI \\ Ven_8086 & Dev_24D5 & Subsys_ 80F31043 & REV_02 \\ 3 & 267A616A & 0 & FD: SoundMax Integrated Digital Audio

PCI \\ Ven_8086 & Dev_24D7 & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & EA: Intel (R) 82801EB USB - - 24D7

PCI \\ Ven_8086 & Dev_24DB & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & F9: Intel (R) 82801EB ULTRA ATA Storage - 24DB

PCI \\ Ven_8086 & Dev_24DD & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & EF: Intel (R) 82801EB USB2 - - 24DD

PCI \\ Ven_8086 & Dev_24De & Subsys_ 80A61043 & Rev_02 \\ 3 & 267A616A & 0 & EB: Intel (R) 82801EB USB - - 24DE

PCI \\ Ven_8086 & Dev_2570 & Subsys_ 00000000 & Rev_02 \\ 3 & 267A616A & 0 & 00: Intel (R) 82865G / PE / P / GV / 82848P CPU - I / O - 2570

PCI \\ Ven_8086 & Dev_2571 & Subsys_ 00000000 & Rev_02 \\ 3 & 267A616A & 08: Intel (R) 82865G / PE / P / GV / 82848P CPU - AGP - 2571

18 Matching Device (s) Found On \\\\ Server

To display the list of devices, including missing or disconnected, subcommand is used findall

devcon -m: \\\\ Comp Findall * Ven_10ec * - Display a list of devices of the manufacturer Realtek. (Ven_10ec), including missing, on a remote computer comp. (Only on Windows XP / Windows Server 2003).

devcon.exe Resources * - Display a list of all devices and all the system resources used by them.

An example of the information displayed:

ACPI \\ FIXEDBUTTON \\ 2 & DABA3FF & 0

Name: Device Is Not Using Any Resources.

ACPI \\ GenuineIntel _-_ x86_family_15_model_4 \\ _0

Name: Intel (R) Pentium (R) 4 CPU 2.40GHZ

Device Is Not Using Any Resources.

ACPI \\ PNP0000 \\ 4 & 35F762C4 & 0

ACPI \\ PNP0100 \\ 4 & 35F762C4 & 0

Name: Device Has The Following Resources Reserved:

ACPI \\ PNP0200 \\ 4 & 35F762C4 & 0

Name: Device Has The Following Resources Reserved:

ACPI \\ PNP0303 \\ 4 & 35F762C4 & 0

Name: Device IS Currently using The Following Resources:

Name: Device IS Currently using The Following Resources:

ACPI \\ PNP0700 \\ 4 & 35F762C4 & 0

Name: Device IS Currently using The Following Resources:

For each device, its name and list of resources used are issued:

IO: 03F0-03F5. - I / O port range (3F0-3F5).
DMA: 2. - Channel number of direct memory access (for example, channel 2)
IRQ: 6. - The interrupt number used by the device (for example 6).
Mem: Fed20000-Fed8FFFF - Address range used random access memory

devcon Resources \u003d Ports - Display the resources used by class devices ports.. This class includes parallel controllers and sequential I / O ports (LPT and COM ports)

devcon DRIVERFILES \u003d NET - Display a list of used drivers network devices (class devices net.). The device name is displayed, source installed Driver, paths and exchange files:

Driver Installed from C: \\ Windows \\ inf \\ NetRtsnt.inf. 1 File (S) Used by Driver:

C: \\ Windows \\ System32 \\ DRIVERS \\ RTL8139.SYS

PCI \\ Ven_11ab & Dev_4320 & Subsys _8111A1043 & Rev_13 \\ 4 & 2E98101C & 0 & 28F0

Name: Marvell Yukon 88E8001 / 8003/8010 PCI Gigabit Ethernet Controller

Driver Installed From C: \\ Windows \\ inf \\ Oem6.inf. 1 File (S) Used by Driver:

C: \\ Windows \\ System32 \\ Drivers \\ YK51x86.sys

Root \\ ms_l2tpminort \\ 0000

Name: Driver Installed from C: \\ Windows \\ inf \\ Netrasa.inf. No Files Used by Driver

devcon Stack \u003d NET\u003e Stack-Net - write to the text file stack-Net. Stack of class drivers Net.. The stack includes a device driver, lower and top filter, system serviceserving device.

PCI \\ Ven_10ec & Dev_8139 & Subsys _813910EC & Rev_10 \\ 4 & 2E98101C & 0 & 48F0

Name: Realtek RTL8139 Family PCI Fast Ethernet NIC

Setup Class: (4D36E972-E325-11CE -BFC1-08002BE10318) NET

Controlling SERVICE:

PCI \\ Ven_10ec & Dev_8139 & Subsys _813910EC & Rev_10 \\ 4 & 2E98101C & 0 & 48F0 - Device instance code.
Name. - title
Setup Class. - installation class.
Controlling Service. - Managing Service.

For determining current status Devices are used subcommand status.:

devcon Status root \\ rdp * - Display the status of the drivers whose identifiers start a string Root \\ rdp., i.e. used by the Terminal Service.

Installing a new device is possible only on a local computer and required an INF file:

devcon -R Install% windir% \\ inf \\ Netloop.inf * msloop - Install a new instance of the loop adapter. Key -r. Requires a reboot after installing the driver.

To change the driver filters, commands are used:

devcon ClassFilter Upper! Filter1! Filter2 - Remove two specified top filters. A sign of action to delete is a symbol ! Before the filter name.

devcon Classfilter Lower! Badfilter + GoodFilter - Replace the bottom filter "Badfilter" on "GoodFilter".

Changes for filters come into force or when restarting the main driver, or when rebooting the computer. Detailed filter management certificate can be obtained by a team. devcon Help Classfilter.

The DevCon utility allows you to stop, run or restart separately selected devices or groups of devices.

devcon Disable \u003d Mouse - Disable class device driver mouse.Those to disable the mouse.

devcon Enable \u003d Mouse - Enable Class Device Driver mouse.

devcon Restart \u003d Mouse - restart the driver class driver mouse.

In the practice of network administration, team Devcon. Often used to restart network adapters. For example, for network adapter REALTEK RTL8139, with identifier PCI \\ Ven_10ec & dev_8139. . . You can use the team:

devcon Restart "PCI \\ Ven_10ec & Dev_8139 *"

Note - double quotes In the initial part of the network adapter identifier are required. Otherwise, symbol & will be processed by a CMD Windows interpreter as a standard command combining symbol - commands devcon Restart "PCI \\ Ven_10EC and teams Dev_8139 * . The first will perform a restart for all existing in the RealTek manufacturer's system, and the second will call a message that Dev_8139 * is not an internal or external command executed by a program or batch file.

Very often the DevCon utility is used to block network activity Systems (temporary disabling all network devices):

devcon Disable \u003d Net

Also, the utility can be used to restart depending modems and wireless USB adapters using a scheduler and a script that checks the availability of any node on the Internet and executing the command devcon Restart. In case of its inaccessibility.

Devcon command returns the following ErrorLevel codes:

0 - the command was successful;
1 - you need to restart the computer;
2 - the command is not fulfilled;
3 - syntax error.

As mentioned above, the utility devcon. It is not a standard system component, and is not installed with Windows, however, it can be downloaded as part of some service packages from Microsoft (Windows Driver Kit, Visual Studio, Windows SDK for Desktop Apps). The utility can be removed from the listed packages and for ease of use, add to the directory present in the search paths of executable files specified by the variable Path., for example \\ Windows \\ System32.

Note that the 64-bit version of the utility devcon64. It does not work in 64-bit Windows 10 (Windows 8, 8.1, Windows 7). She was designed only For 64-bit Windows XP. If you have another Windows OS - use either 32-bit Version Devson.exe.That works great in all versions of Windows older than Windows 2000, including 64-bit or 64-bit versions from the EWDK package for Windows 10. The latter has not been checked in a 64-bit Windows XP OS.

The page describing in English and link to download DevCon in the packages for driver developers on Microsoft. - On this page there are no direct links to download Devcon, but, for example, there is a link to the page with actual version Enterprise Windows Driver Kit (EWDK), as well as instructions for downloading and installing. All packages that are included in the DevCon utility have an impressive volume - you have to download several gigabytes of data. After installing the selected package, you will need to determine the location of the files. Devcon.and if necessary, add the path executable file to the system variable Path. Or copy them to an existing directory to search.

Download the zip archive of the 32-bit Devcon.exe utility. Works in 32- and 64-bit Windows Vista, Windows 7 and later.

Download the zip archive of the devcon.exe utility, designed only for the 64-bit Windows XP OS. Not Works in the 64-bit Windows Vista, Windows 7/8 and later.

Download Zip-archive DEVCON.exe 32 and 64-bit OS from the package ENTERPRISE Windows Driver Kit for windows 10, Version 1804 (EWDK). Verified on Windows server and 32 and 64-bit Windows 7-10 OS.

Let's return to the solution of my task. In order to display all the network devices existing in the system, you must enter the following:

C: \\\u003e Devcon.exe Find \u003d Net

The program displaced 7 devices! I have only 2 server network cards INTEL® PRO / 1000 EB NETWORK CONNECTION. But then I remembered that the device manager does not display hidden devices. To see them in the Device Manager window, select the "View" menu -\u003e "show hidden devices". Now everything is normal! :)

In order to disable all the network devices shown, you must give the following command (it is better not to do this remotely!):

C: \\\u003e Devcon.exe Disable \u003d Net

Device Manager Honestly will show us that all network devices are disabled. The network is completely disabled, which we needed.

In order to enable network devices, you must give the command:

C: \\\u003e Devcon.exe Enable \u003d Net

You will monitor the inclusion of all network devices in the Device Manager.

We left to write two command files with the above commands to enable and disable network devices and make tasks based on them so that they are performed at the required time.

I can only remind me, since using the Devcon program you can disable almost any device of your computer, it is necessary to use it very carefully! Do not disconnect the devices on the mask, do not disconnect the devices unknown to you, you thus can achieve the complete inoperability of your operating system.

"Tell me, where can I find the password to the MULTIKEY archive?"

The download page writes a password to all archives, it corresponds to the site name - " website"

"What is the difference of program testing services and creating a keybap?"

The program testing service includes a more complete analysis of the application being tested, identifying and bypassing protective mechanisms, determining the overall durability of protection.
The result of such testing during its successful outcome is to create a test software (emulator) to bypass (disconnect) protective mechanisms and creating recommendations to enhance protection.
Keyboard cooking service is to create a backup of data from the key, usually drawn up as an emulator of a given key.
The analysis of the software in order is not produced, backup copy Forms based on the data received from the user.

"What data will be necessary when ordering testing or backup?"

When ordering a key or backup test, such data will be required:

  1. Protection key dump - is made with a dumper for the appropriate key type.
  2. Key connection log and started by software. Logs are made by USBTrace. How to remove logs to watch
  3. Distribution of the program. Mandatory for testing software. The backup is needed in some cases.

"I can not install cartoons to Windows 7,64s, when you start the installer, it gives the following: DevCon is not an internal or external command executed by a program or a batch file?"

The total procedure for installing an emulator to a 64-bit system.

  1. On the 64-bit system, the installation of the emulator is possible only in the mode of disconnecting the verification of the digital driver signature. To do this, at the beginning of the OS boot, press F8 and select the Digital Signature Digital Signature Turning mode. This action must be done each time the OS start, or to use the process automation third-party utilities Type "DSEO13B".
  2. Before installing (reinstalling) an emulator must be removed old version (Remove.cmd) and clean system files (infclean.exe). Specified programs Are in the folder with the emulator. All actions must be performed with administrator rights. To do this, in the properties of the devcon.exe files, infclean.exe, install the "execute this program on behalf of the administrator" on the Compatibility tab.
  3. Install the key file of the key with a valid license.
  4. Install emulator (install.cmd). In the installation process, the OS should issue a message about an attempt to install an unsigned driver. Allow installation. If a Correct REG file with a valid license is installed, after some time the OS should detect the connection of a virtual USB device by type of model of an emulated key.