Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: cmd line way to mute line in realtek hd audio card

04 May 2014   #1

windows 7 64
cmd line way to mute line in realtek hd audio card

I have a line of music audio entering my realtek card to accompany a powerpoint slideshow, together they go out on our community cable channel. I need to kill the input, the music audio that is directly plugged into the card in the back of the pc, so that when I schedule a video (bod meeting prerecorded video), the line in is muted and the video audio goes out, without the muting capability I get both streams...

Need to do it in an attended way. Also, need to return to the music input afterwards. Old config (xp/machine Creative sound card, allowed us to do this via a batch file that executed a muteon.exe, ran the video, then muteoff.exe...however the .exes do not work in our present config.

Any ideas greatly appreciated! It's burning me out...

My System SpecsSystem Spec
04 May 2014   #2

Windows 10 64 bit

Vista/Win7/Win8 handle some audio functions differently than XP and thus the reason the XP drivers and most of their utilities do not work in Win7. You will find several other differences in Win 7 from XP as I have seen many posts from ex Windows XP users with programs and procedures that no longer work or are different.

Now, back to muting the Line In. RIGHT click on the speaker Icon in the Notification Area (lower right of the task bar) and then LEFT click on Recording section and you should be able to mute (disable) the Line In there (or enable it).
My System SpecsSystem Spec
04 May 2014   #3

windows 7 64
command line

I need to be able to do this from a batch file / command line thing. No human will be present to switch back and forth. Essentially that's it...the ability to mute and unmute line in via a command line directive. Such a thing? Can someone write a script to suffice?

Thanks for your input.
My System SpecsSystem Spec

04 May 2014   #4

Windows 7 Ultimate x64

NirCmd may be of some help. It extends the commands available with a bunch more, one of which allow to mute the system:
Mute the system volume nircmd.exe mutesysvolume 1
Unmute the system volume nircmd.exe mutesysvolume 0
Switch the system volume between the mute and normal state. nircmd.exe mutesysvolume 2
I've not actually tried it, but at least it's updated quite often, so I'm positive in that it may be able to wrokaround the bugs introduced in Win7.
My System SpecsSystem Spec

 cmd line way to mute line in realtek hd audio card

Thread Tools

Similar help and support threads
Thread Forum
setting password - line 1, black dots : line 2, letters & numbers
When setting a password for user, when I type it, it shows up as black dots but when I retype the next line, it shows up as the letters, numbers and symbols that I'm typing. It won't let me set it. What the heck is going on? Thanks
General Discussion
Realtek Audio Manager Line In (Apple Headphones)
Hi, I recently purchased a new desktop for myself, and upon trying to plugin my apple headphones to watch netflix, I found that I was having some trouble. When I plugin my apple head phones, I get a popup that looks like this: ...
Sound & Audio
Line by line justification of text in Word 2007
Hello I would like to know if its possible (and how to do it if so) to justify a paragraph of text in Word 2007 to gradually get narrower. What I mean is, id like the first line of text to be longer than the one after and so on until I end up with something like this: ...
Microsoft Office
Realtek HD Audio randomly went completely mute
My computer is a couple years old, but everything was working just fine, audio included. I was watching a video and talking on AIM and everything just randomly went mute. Device manager shows no issues, speaker volume is still at 100, green volume indicator shows activity. I thought it was an issue...
Sound & Audio
Line In - Problem on Realtek HD ALC888
I formatted my computer and I'm still getting this problem. I don't know what is the cause of this and how to fix it. Here's what's wrong with my line in recording. The volume is always maxed out on it even when I turn it down just a tad. And when I record audio it records but I get this sub...
Sound & Audio

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:05.
Twitter Facebook