Запуск New Hardware Wizard из командной строки

From
Andrey Mikinjan (2:463/497)
To
Eugene Muzychenko (2:5054/37.63)
Date
2005-04-15T08:09:02Z
Area
RU.WINDOWS.2000
     Наше вам с кисточкой Eugene!

14 Apr 05 14:59, Eugene Muzychenko wrote to All:
==Погрызено мышами==
 EM> В процессе отладки приходится по нескольку раз устанавливать/удалять
 EM> устройство. В 9x/ME есть возможность запустить установку железа
 EM> заданного класса командой

 EM> rundll32 sysdm.cpl,InstallDevice_RunDll <class>

 EM> Можно ли так же запустить установку в 2k/XP? Конкретно мне нужен
 EM> раздел звуковых устройств (класс Media).
==Погрызено мышами==

devcon.exe /?

Device Console Help:

devcon.exe [-r] [-m:\\<machine>] <command> [<arg>...]

-r if specified will reboot machine after command is complete, if needed.

<machine> is name of target machine.

<command> is command to perform (see below).

<arg>... is one or more arguments if required by command.

For help on a specific command, type: devcon.exe help <command>
classfilter          Allows modification of class filters.
classes              List all device setup classes.
disable              Disable devices that match the specific hardware or instance ID.
driverfiles          List driver files installed for devices.
drivernodes          Lists all the driver nodes of devices.
enable               Enable devices that match the specific hardware or instance ID.
find                 Find devices that match the specific hardware or instance ID.
findall              Find devices including those that are not present.
help                 Display this information.
hwids                Lists hardware ID's of devices.
install              Manually install a device.
listclass            List all devices for a setup class.
reboot               Reboot local machine.
remove               Remove devices that match the specific hardware or instance ID.
rescan               Scan for new hardware.
resources            Lists hardware resources of devices.
restart              Restart devices that match the specific hardware or instance ID.
sethwid              Modify Hardware ID's of listed root-enumerated devices.
stack                Lists expected driver stack of devices.
status               List running status of devices.
update               Manually update a device.
updateni             Manually update a device (non interactive).




 Ну вот собственно и все.
       Mickey
... Джентльмен всегда проводит даму до дому, если это дом джентльмена.
--- GoldED+ 1.1.5-30413 (WinNT 5.2.3790-Service_Pack_1 i686)
 * Origin: Дело и количестве женщин и в новой волне... (2:463/497)
SEEN-BY: 46/50 400/520 814 450/1024 461/58 463/59 68 126 246 254 384 435 442
SEEN-BY: 463/485 497 739 822 1113 1124 1879 1942 2002 2223 3141 464/36 910
SEEN-BY: 465/213 466/555 4600/103 4613/54 4621/22 4624/8 4627/64 4633/2 4643/1
SEEN-BY: 5000/0 14 104 170 280 5000 5004/75 1111 5005/14 5009/14 5010/53 77
SEEN-BY: 5010/275 5011/13 5013/21 5015/10 5020/545 715 4441 5021/29 5025/3
SEEN-BY: 5027/16 5029/34 5030/115 5035/38 5036/34 5049/97 5054/1 4 8 9 18 35
SEEN-BY: 5054/37 45 63 67 81 84 85 5057/119 5062/10 5063/3 5069/7 5080/1003
SEEN-BY: 5085/13 5090/1029 5095/20 5096/18 6000/254 6035/1
PATH: 463/497 3141 1124 68 5000/5000 5020/545 5054/1 37