Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


DOS script -- disable or mute microphone

DOS script -- disable or mute microphone

DOS script -- disable or mute microphone

Working on a dos script that disables/enables a few devices.
Using development app called devcon.
Heres a sample
devcon disable *"%webcam%"*
Thing is that the device in question (microphone) comes up as a bundle being it is the speaker and the microphone in one.
So if I disable "Realtek High Definition Audio" then it will disable both devices.

Does anyone know of a way to get around this problem?
Would settle for just muting the microphone through as dos script.

RE: DOS script -- disable or mute microphone

try disable realtek high definition input device.

RE: DOS script -- disable or mute microphone

no listing in the devcon for the realtek high definition input device. It seems that it is only one device showing.
Here is the output of all devices below. The only way I can see how to do it is to disable the actual microphone (not the device) or turn the input down. Need to achieve through dos command though.

ROOT\LEGACY_RDPREFMP\0000                                   : Reflector Display Driver used to gain access to graphics data
ACPI\PNP0800\4&2FA6CD79&0                                   : System speaker
BTHENUM\{24DF01A9-3E4F-4C9F-9F66-5AA8AB14F8F4}_LOCALMFG&0000\7&600195C&0&000000000000_00000003: Bluetooth Hands-free Audio
ROOT\LEGACY_WFPLWF\0000                                     : WFP Lightweight Filter
ROOT\LEGACY_RSPNDR\0000                                     : Link-Layer Topology Discovery Responder
ROOT\LEGACY_NATIVEWIFIP\0000                                : NativeWiFi Filter
BTHENUM\{0000110C-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&600195C&0&0023D767FF4D_C00000002: Bluetooth AV Remote Control Target
ACPI\PNP0A06\3&473F1A46&0                                   : Extended IO Bus
PCI\VEN_8086&DEV_27C8&SUBSYS_C072144D&REV_02\3&33FD14CA&0&E8: Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C8
PCI\VEN_8086&DEV_27D6&SUBSYS_C072144D&REV_02\3&33FD14CA&0&E3: Intel(R) N10/ICH7 Family PCI Express Root Port - 27D6
ROOT\LEGACY_WUDFPF\0000                                     : User Mode Driver Frameworks Platform Driver
ROOT\LEGACY_SABI\0000                                       : SAMSUNG Kernel Driver For Windows 7
ROOT\*6TO4MP\0000                                           : Microsoft 6to4 Adapter
ACPI\PNP0A08\2&DABA3FF&1                                    : PCI bus
ROOT\LEGACY_NDIS\0000                                       : NDIS System Driver
ROOT\MSSMBIOS\0000                                          : Microsoft System Management BIOS Driver
IDE\DISKSAMSUNG_HM250HI_________________________2AC101C4\4&1158ED07&0&0.0.0: SAMSUNG HM250HI
USB\ROOT_HUB\4&1BCE6EEB&0                                   : USB Root Hub
BTHENUM\{00001103-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&3092C399&0&0023D767FF4D_C00000002: Standard Modem over Bluetooth link
ROOT\*ISATAP\0000                                           : Microsoft ISATAP Adapter
ROOT\LEGACY_SECDRV\0000                                     : Security Driver
ROOT\MS_AGILEVPNMINIPORT\0000                               : WAN Miniport (IKEv2)
ROOT\LEGACY_NDISUIO\0000                                    : NDIS Usermode I/O Protocol
ACPI\PNP0B00\4&2FA6CD79&0                                   : System CMOS/real time clock
USB\ROOT_HUB\4&2046333E&0                                   : USB Root Hub
ROOT\*TEREDO\0000                                           : Teredo Tunneling Pseudo-Interface
STORAGE\VOLUME\{6B80BDFA-7341-11DF-B596-806E6F6E6963}#0000000000100000: Generic volume
PCI\VEN_8086&DEV_27C9&SUBSYS_C072144D&REV_02\3&33FD14CA&0&E9: Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C9
PCI\VEN_8086&DEV_27D8&SUBSYS_C072144D&REV_02\3&33FD14CA&0&D8: High Definition Audio Controller
ROOT\LEGACY_SPLDR\0000                                      : Security Processor Loader Driver
ROOT\LEGACY_NDPROXY\0000                                    : NDProxy
ROOT\ACPI_HAL\0000                                          : ACPI x86-based PC
ACPI\PNP0C02\1F                                             : Motherboard resources
ACPI\ACPI0003\2&DABA3FF&1                                   : Microsoft AC Adapter
ROOT\MS_L2TPMINIPORT\0000                                   : WAN Miniport (L2TP)
ROOT\LEGACY_FVEVOL\0000                                     : Bitlocker Drive Encryption Filter Driver
USB\ROOT_HUB\4&30C3DF3C&0                                   : USB Root Hub
ROOT\LEGACY_SPTD\0000                                       : sptd
BTHENUM\{00001112-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&600195C&0&0023D767FF4D_C00000002: Bluetooth Headset AG
ACPI\PNP0C04\4&2FA6CD79&0                                   : Numeric data processor
ROOT\BLBDRIVE\0000                                          : File as Volume Driver
ROOT\LEGACY_HTTP\0000                                       : HTTP
ACPI\FIXEDBUTTON\2&DABA3FF&1                                : ACPI Fixed Feature Button
ROOT\MS_NDISWANBH\0000                                      : WAN Miniport (Network Monitor)
BTHENUM\{00001106-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&600195C&0&0023D767FF4D_C00000002: Bluetooth FTP
USB\ROOT_HUB\4&65F2678&0                                    : USB Root Hub
ROOT\COMPOSITEBUS\0000                                      : Composite Bus Enumerator
ACPI\PNP0C09\1                                              : Microsoft ACPI-Compliant Embedded Controller
PCI\VEN_8086&DEV_27CA&SUBSYS_C072144D&REV_02\3&33FD14CA&0&EA: Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CA
PCI\VEN_8086&DEV_27DA&SUBSYS_C072144D&REV_02\3&33FD14CA&0&FB: Intel(R) N10/ICH7 Family SMBus Controller - 27DA
ROOT\LEGACY_HWPOLICY\0000                                   : Hardware Policy Driver
STORAGE\VOLUME\{6B80BDFA-7341-11DF-B596-806E6F6E6963}#0000000006500000: Generic volume
ROOT\LEGACY_NETBT\0000                                      : NETBT
ROOT\MS_NDISWANIP\0000                                      : WAN Miniport (IP)
ACPI\GENUINEINTEL_-_X86_FAMILY_6_MODEL_28_-__________INTEL(R)_ATOM(TM)_CPU_N450___@_1.66GHZ\_0: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
USB\ROOT_HUB20\4&E0615C0&0                                  : USB Root Hub
ACPI\PNP0C0A\1                                              : Microsoft ACPI-Compliant Control Method Battery
ROOT\COMPOSITE_BATTERY\0000                                 : Microsoft Composite Battery
ROOT\LEGACY_KSECDD\0000                                     : KSecDD
ACPI\PNP0C0C\2&DABA3FF&1                                    : ACPI Power Button
ROOT\MS_NDISWANIPV6\0000                                    : WAN Miniport (IPv6)
USB\VID_0A5C&PID_219B\506313B9BE84                          : Broadcom BCM2070 Bluetooth 2.1+EDR USB Device
ROOT\LEGACY_AFD\0000                                        : Ancillary Function Driver for Winsock
ROOT\LEGACY_NSIPROXY\0000                                   : NSI proxy service driver.
PCI\VEN_11AB&DEV_4354&SUBSYS_C072144D&REV_00\4&175AA74E&0&00E2: Marvell Yukon 88E8040 Family PCI-E Fast Ethernet Controller
ROOT\LEGACY_KSECPKG\0000                                    : KSecPkg
ACPI\PNP0C0D\2&DABA3FF&1                                    : ACPI Lid
ROOT\MS_PPPOEMINIPORT\0000                                  : WAN Miniport (PPPOE)
ROOT\LEGACY_SSMDRV\0000                                     : ssmdrv
PCI\VEN_8086&DEV_27CB&SUBSYS_C072144D&REV_02\3&33FD14CA&0&EB: Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CB
PCI\VEN_8086&DEV_A010&SUBSYS_C072144D&REV_00\3&33FD14CA&0&00: Intel(R) N10 Family DMI Bridge - A010
ROOT\LEGACY_ATAPI\0000                                      : IDE Channel
STORAGE\VOLUME\{6B80BDFA-7341-11DF-B596-806E6F6E6963}#00000007886E0E00: Generic volume
BTHENUM\{0000110A-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&600195C&0&0023D767FF4D_C00000002: Bluetooth AV Source
USB\VID_0AC8&PID_C33F\5&6A0D002&0&8                         : USB Composite Device
ROOT\LEGACY_LLTDIO\0000                                     : Link-Layer Topology Discovery Mapper I/O Driver
ROOT\LEGACY_TCPIP\0000                                      : TCP/IP Protocol Driver
ACPI\PNP0C0E\2&DABA3FF&1                                    : ACPI Sleep Button
ROOT\MS_PPTPMINIPORT\0000                                   : WAN Miniport (PPTP)
ROOT\LEGACY_NULL\0000                                       : Null
ACPI\GENUINEINTEL_-_X86_FAMILY_6_MODEL_28_-__________INTEL(R)_ATOM(TM)_CPU_N450___@_1.66GHZ\_1: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
ROOT\LEGACY_TCPIPREG\0000                                   : TCP/IP Registry Compatibility
ACPI\PNP0F13\4&2FA6CD79&0                                   : Synaptics PS/2 Port Pointing Device
ROOT\MS_SSTPMINIPORT\0000                                   : WAN Miniport (SSTP)
BTHENUM\{84A1E9B8-12BA-4A9C-8AB0-A43784E0D149}_LOCALMFG&0000\7&600195C&0&000000000000_00000003: Bluetooth Remote Control
PCI\VEN_168C&DEV_002B&SUBSYS_7167144F&REV_01\4&16A639DD&0&00E0: Atheros AR9285 Wireless Network Adapter
USB\VID_0AC8&PID_C33F&MI_00\6&1D8E950B&0&0000               : WebCam SCB-0340N
PCI\VEN_8086&DEV_27CC&SUBSYS_C072144D&REV_02\3&33FD14CA&0&EF: Intel(R) N10/ICH7 Family USB2 Enhanced Host Controller - 27CC
ROOT\LEGACY_AVIPBB\0000                                     : avipbb
PCI\VEN_8086&DEV_A011&SUBSYS_C072144D&REV_00\3&33FD14CA&0&10: Intel(R) Graphics Media Accelerator 3150
ROOT\LEGACY_PCW\0000                                        : Performance Counters for Windows Driver
ROOT\LEGACY_MOUNTMGR\0000                                   : Mount Point Manager
ROOT\LEGACY_TDX\0000                                        : NetIO Legacy TDI Support Driver
ACPI\PNPA000\4&5D18F2DF&0                                   : AEPOK0HY IDE Controller
ROOT\RDP_KBD\0000                                           : Terminal Server Keyboard Driver
{5D624F94-8850-40C3-A3FA-A4FD2080BAF3}\VWIFIMP\5&3739926C&0&01: Microsoft Virtual WiFi Miniport Adapter
ROOT\LEGACY_BEEP\0000                                       : Beep
ROOT\LEGACY_PEAUTH\0000                                     : PEAUTH
ROOT\LEGACY_MPSDRV\0000                                     : Windows Firewall Authorization Driver
ROOT\RDP_MOU\0000                                           : Terminal Server Mouse Driver
ACPI\THERMALZONE\TZ00                                       : ACPI Thermal Zone
ROOT\LEGACY_PSCHED\0000                                     : QoS Packet Scheduler
ROOT\SYSTEM\0000                                            : Plug and Play Software Device Enumerator
PCI\VEN_8086&DEV_2448&SUBSYS_C072144D&REV_E2\3&33FD14CA&0&F0: Intel(R) 82801 PCI Bridge - 2448
ROOT\LEGACY_VGASAVE\0000                                    : VgaSave
PCI\VEN_8086&DEV_27D0&SUBSYS_C072144D&REV_02\3&33FD14CA&0&E0: Intel(R) N10/ICH7 Family PCI Express Root Port - 27D0
PCI\VEN_8086&DEV_A012&SUBSYS_C072144D&REV_00\3&33FD14CA&0&11: Intel(R) Graphics Media Accelerator 3150
USB\VID_152E&PID_1640\00101016400162BF5                     : USB Mass Storage Device
ACPI_HAL\PNP0C08\0                                          : Microsoft ACPI-Compliant System
BTHENUM\{00001105-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&600195C&0&0023D767FF4D_C00000002: Bluetooth OPP
ROOT\UMBUS\0000                                             : UMBus Root Bus Enumerator
ROOT\LEGACY_PWDRVIO\0000                                    : pwdrvio
ACPI\INT0800\4&2FA6CD79&0                                   : Intel(R) 82802 Firmware Hub Device
ROOT\LEGACY_VOLMGRX\0000                                    : Dynamic Volume Manager
BTH\MS_BTHBRB\6&310E83E6&0&1                                : Microsoft Bluetooth Enumerator
ROOT\*ISATAP\0001                                           : Microsoft ISATAP Adapter #2
ROOT\VDRVROOT\0000                                          : Microsoft Virtual Drive Enumerator Driver
ROOT\LEGACY_CLFS\0000                                       : Common Log (CLFS)
ROOT\LEGACY_PWDSPIO\0000                                    : pwdspio
ACPI\PNP0000\4&2FA6CD79&0                                   : Programmable interrupt controller
BTHENUM\{6E0C8F4C-D928-4852-B6B2-F0F0E0D126FA}_LOCALMFG&0000\7&600195C&0&000000000000_00000003: Bluetooth L2CAP Interface
ROOT\*ISATAP\0002                                           : Microsoft ISATAP Adapter #3
ROOT\LEGACY_VOLSNAP\0000                                    : Storage volumes
ROOT\VOLMGR\0000                                            : Volume Manager
BTH\MS_BTHPAN\6&310E83E6&0&2                                : Bluetooth Device (Personal Area Network)
ROOT\LEGACY_CNG\0000                                        : CNG
PCI\VEN_8086&DEV_27BC&SUBSYS_C072144D&REV_02\3&33FD14CA&0&F8: Intel(R) NM10 Family LPC Interface Controller - 27BC
PCI\VEN_8086&DEV_27D2&SUBSYS_C072144D&REV_02\3&33FD14CA&0&E1: Intel(R) N10/ICH7 Family PCI Express Root Port - 27D2
ROOT\*ISATAP\0003                                           : Microsoft ISATAP Adapter #4
DISPLAY\DEFAULT_MONITOR\4&B71A6D4&0&UID67568640             : Generic Non-PnP Monitor
ACPI\PNP0100\4&2FA6CD79&0                                   : System timer
SCSI\CDROM&VEN_VEVQHUD&PROD_9YNS96VW56F&REV_1.03\5&36E5972&0&000000: VEVQHUD 9YNS96VW56F SCSI CdRom Device
ROOT\LEGACY_VWIFIFLT\0000                                   : Virtual WiFi Filter Driver
ROOT\LEGACY_MSAHCI\0000                                     : msahci
BTH\MS_RFCOMM\6&310E83E6&0&0                                : Bluetooth Device (RFCOMM Protocol TDI)
ROOT\LEGACY_RDPCDD\0000                                     : RDPCDD
ACPI\PNP0200\4&2FA6CD79&0                                   : Direct memory access controller
ROOT\LEGACY_DISCACHE\0000                                   : System Attribute Cache
ROOT\LEGACY_WANARPV6\0000                                   : Remote Access IPv6 ARP Driver
HDAUDIO\FUNC_01&VEN_10EC&DEV_0269&SUBSYS_144DC072&REV_1000\4&2680E1CC&0&0001: Realtek High Definition Audio
BTHENUM\{00001101-0000-1000-8000-00805F9B34FB}_LOCALMFG&000F\7&3092C399&0&0023D767FF4D_C00000002: Standard Serial over Bluetooth link (COM4)
ROOT\LEGACY_RDPENCDD\0000                                   : RDP Encoder Mirror Driver
PCI\VEN_8086&DEV_27C1&SUBSYS_C072144D&REV_02\3&33FD14CA&0&FA: Intel(R) NM10 Express Chipset
PCI\VEN_8086&DEV_27D4&SUBSYS_C072144D&REV_02\3&33FD14CA&0&E2: Intel(R) N10/ICH7 Family PCI Express Root Port - 27D4
ACPI\PNP0303\4&2FA6CD79&0                                   : Standard PS/2 Keyboard
ROOT\LEGACY_MSISADRV\0000                                   : msisadrv
ROOT\LEGACY_DXGKRNL\0000                                    : LDDM Graphics Subsystem
UMB\UMB\1&841921D&0&PRINTERBUSENUMERATOR                    : UMBus Enumerator
ROOT\LEGACY_WDF01000\0000                                   : Kernel Mode Driver Frameworks service
150 matching device(s) found.

RE: DOS script -- disable or mute microphone

Only if the microphone was a separate device, e.g. a Blue tooth or USB Microphone, would you be able to kill the mic and leave the sound untouched...

this has to do with the fact that the sound card controls both output and input...

"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

RE: DOS script -- disable or mute microphone

Try a program called NirCMD.  I used it to unmute certain outputs and preset volumes on lab machines upon bootup, etc.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close