|
Компьютерный форум OSzone.net » Программирование, базы данных и автоматизация действий » Скриптовые языки администрирования Windows » CMD/BAT - [решено] Как удалить устройство через BAT,CMD |
|
CMD/BAT - [решено] Как удалить устройство через BAT,CMD
|
Пользователь Сообщения: 64 |
Профиль | Отправить PM | Цитировать Подскажите как удалить сканер через батник?
|
|
Отправлено: 14:58, 09-12-2011 |
Старожил Сообщения: 263
|
Профиль | Отправить PM | Цитировать Можно к примеру воспользоваться утилитой devcon(консольный диспетчер устройств)
Device Console Help: devcon [-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 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). |
Отправлено: 21:54, 07-01-2012 | #2 |
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети. Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля. |
Участник сейчас на форуме | Участник вне форума | Автор темы | Сообщение прикреплено |
| |||||
Название темы | Автор | Информация о форуме | Ответов | Последнее сообщение | |
2007 - [решено] Настройка почты через bat (cmd или скрипт) | zai | Microsoft Office (Word, Excel, Outlook и т.д.) | 1 | 25-11-2011 17:32 | |
CMD/BAT - Бекапирование Оутлук заблокированных pst файлов (backup Outlook) почты через bat/cmd | biossa | Скриптовые языки администрирования Windows | 0 | 28-09-2011 22:02 | |
Разное - [решено] Применение темы через BAT\CMD | Pozia | Оформление Windows 11/ 10 / 8 / 7 / Vista | 16 | 21-04-2011 22:03 | |
CMD/BAT - [решено] Как удалить папку с символом ® через bat\cmd? | seriych | Скриптовые языки администрирования Windows | 5 | 03-08-2010 09:49 | |
CMD/BAT - [решено] Отключить UAC в Windows 7 через cmd/bat/реестр на уже работающей машине. | seriych | Скриптовые языки администрирования Windows | 6 | 21-11-2009 23:23 |
|