次の方法で共有


DevCon Install

Note

PnPUtil ships with every release of Windows and makes use of the most reliable and secure APIs available. DevCon の代わりに PnPUtil を使用することをお勧めします。 See Replacing DevCon for more information.

プラグ アンド プレイ以外のデバイスの新しいルート列挙 devnode を作成し、そのサポート ソフトウェアをインストールします。 ローカル コンピューターでのみ有効です。

devcon [/r] install INFfile HardwareID

Important

PnPUtil ships with every release of Windows and makes use of the most reliable and secure APIs available and its use is recommended. For more information on using PnPutil instead of devcon, see Replacing DevCon.

Parameters

/r

Conditional reboot. 変更を有効にするために再起動が必要な場合は、操作の完了後にシステムを再起動します。 既定では、DevCon はシステムを再起動しません。

INFfile

デバイスの INF ファイルの完全なパスとファイル名を指定します。 パスを省略すると、DevCon はファイルが現在のディレクトリにあることを前提としています。

HardwareID

デバイスのハードウェア ID を指定します。

指定したハードウェア ID は、デバイスのハードウェア ID と完全に一致している必要があります。 パターンが無効です。 Do not type a single quote character (') to indicate a literal value. For more information, see Hardware IDs and Device Identification Strings.

devgen /add /bus ROOT /hardwareid HardwareID
pnputil /add-driver INFfile /install

For more recommended replacements, see Replacing DevCon.

Comments

この変更を有効にするには、システムを再起動する必要がある場合があります。 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

devcon install c:\windows\inf\newdvc.inf ISAPNP\CSC4324\0
devcon /r install c:\windows\inf\newdvc.inf ISAPNP\CSC4324\0

Examples

See also