How do i disable my mic from command line

Leobastiani

New Member
Messages
8
Hello everyone, i d like to disable my mic from command line
mic.jpg

how do i do that?
thanks!
 
Would say one you have highlighted in the picture, Desabilitar (Disable)
 
Last edited:
yes, i need a command line that is the same command by clicking in disable

What do you mean command line ? Just click Disable . Helpful knew reasons why you are wanting and trying to do this. If you just unplug the Mic from an input it would be shown not connected. Usually do not have to disable it from here. Unplug it,best bet. No need to disable it, unless no other way or causing you issues. Software from Sound device has other options. Again, not knowing reasons for your question.

Untitled.jpg
 
There's a command line interface to device manager. But that approach would only work if your mic appears in Device Manager as a device.

Do you see a device manager item for the mic? When you disable it as you do now, does the device appear disabled in Device Manager (usually with a red X icon) on the device
 
The NirCmd's are not really great with Windows 7 and onward, i think they were more designed for XP but you can always try.
NirCmd does require you to have extra files on your PC to reference.
 
nircmd only mute my mic, i would like to disable it.
i need a command line because i'll use it on prompt command.
i have microphone on device manager, but disabling it does not affect microphone on recording tab.
mic2.png
 
Have you tested the mic? Does it actually work when it's in disabled in Device Manager? (even though the green check is showing in the Sound control panel)

If disabling the mic, actually does stop it from working? If yes, then right click the device in Device Manger->Properties->Details tab. Select Hardware Ids in the pull down menu. copy/paste the result into your next post
 
i'm sorry, but it still works on skype or audacity even disabling it from device manager
btw
hardware id: MMDEVAPI\AudioEndpoints
device instance: SWD\MMDEVAPI\{0.0.1.00000000}.{C518EF44-0A66-4FEC-B380-0C3064517E9C}
 
The one question that should have been asked from the beginning, is why do you wish to disable the microphone? The whole disabling from Command Window, went away with Windows XP when Dos officially went away.

The only way to really do it, is to use a Pro version of Windows and use a GPO to make the restrictions. This is only for Silver Light: Key path: HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight\
Value Name: AllowWebcam
Value Type: DWORD
Valid Values:
Disabled — 0x00000000
Enabled — 0x00000001

As for NirCmd, you can create a startup script to disable during the log in/start up process.
 
i'm playing rocksmith, i start a batch file to patch the game. i need to disable all other mics before i start.
All other mic's should disable once you plug the other one into the mic input. Right click on the speaker icon (bottom right) > select 'Recording devices' > right click on the the built in mic and select 'disable' > OK
 
i would like to automate it, every time that i execute that batch, it will disable all other recording device and reenable after play
 
i'm playing rocksmith, i start a batch file to patch the game. i need to disable all other mics before i start.
All other mic's should disable once you plug the other one into the mic input. Right click on the speaker icon (bottom right) > select 'Recording devices' > right click on the the built in mic and select 'disable' > OK


This is the easiest way to do it.
 
Back
Top