/build/static/layout/Breadcrumb_cap_w.png

disable microphone or switch to line-in

Hi,

do you guys know any way how to either disable microphone input or switch to line-in? It's for security reasons that we want to disable the default mic at some hundred laptops.

At first I tried to monitor the changes via REGMON if I change the input from mic to line-in (via sndvol32.exe) but on another machine I found that the listet registry settings differ if other hardware is used. Sndvol only support 3 parameters for starting. No parameter for automation.

Then I searched via google and bing for any possible vbs solution do change the sound/input settings. But I didnt found anything.

I think even muting the mic would be an acceptable solution.

Regards,
Jay Am

0 Comments   [ + ] Show comments

Answers (8)

Posted by: dvdzonenz 15 years ago
Purple Belt
0
How many types of machines are there?
How about making a big registry file and putting all disabling things in there?

disable HP laptops
disable dell PCs
...
Posted by: Jay Am 15 years ago
Senior Yellow Belt
0
Thank you for your answer dvdonenz.

Right now I dont know how much differend laptops are involved. As I found the difference registry keys for different hardware I worked on two PCs of the same vendor.

For the solution you suggest we would need different registry settings for every possible audio hardware. This or we have to manually add new audio hardware as them arrive. But I dont know if we will get all new hardware in our hands for analysis.

Until now I also found some solutions suggesting to emulate key input via VBS while opening windows volume control. If there is no other way to solve this independently from hardware we have to use key emulation but imho this is just an dirty and weak way of automation.

In an optimal way we would add some script in the user logon script.

But thank you again for your suggestion.

Regards,
Jay Am
Posted by: dvdzonenz 15 years ago
Purple Belt
0
SMS has a report that can tell you how many sounds card models are there in all the clients. This may help.

But people can insert USB based cards too. If the driver is installed then your vbs solution is again not going to work.

It is a complex problem because you don't know how many models are there. Also you intend to delete the volume control program after setting it?
Posted by: dvdzonenz 15 years ago
Purple Belt
0
bing

Do speakers need to work? If not then the whole audio service can go.
Posted by: AssmbLLYCoder 15 years ago
Senior Yellow Belt
0
May be have a look at Windows Sound and Speech SDK. You may find something that may help u build a small executable to do the job and then u probably wouldn't need to worry about the sound hardware. Otherwise as already has been suggested u can kill the windows audio service all togather ( disable it) so that there is no sound at all.

Hope this helps
Posted by: anonymous_9363 15 years ago
Red Belt
0
What about the SAPI.SpSharedRecognizer object? That might be worth exploring. It would likely be easier than wading through the Speech SDK examples.
Posted by: dvdzonenz 15 years ago
Purple Belt
0
I am trying to understand the situation here.

PUTIN! PUTIN! RED STAR CALLING HERE. OVER AND ALL.

Why send the machines with such hardware activated in the first place?

This reminds me of someone asking to firewall his entire lan (Not a university etc but an office) to disable yahoo messenger. But installing yahoo/msn/.exe was allowed in that LAN.

Even the super cheap MP3 players can record hours of sound. I doubt disabling mics would help in this case if mobiles, recorders etc are allowed.

I have not done it but those laptops may be reimaged with XP with diver.cab deleted etc. But again someone can boot the laptop with Knoppix which installs audio for so many sound cards.
Posted by: Jay Am 15 years ago
Senior Yellow Belt
0
Hi Guys,

thank you for the answers so far. I will look into the SAPI.SpSharedRecognizer object.

@dvdonenz

As I understand the topic the laptops will be delivered from vendor directly to our client. The client is an authority office and all PCs and laptops have to be consistent with an security directive.

Almost all laptops possess an built in microphone wich is active by default.
This security directive order to deactivate such microphone to eliminate the danger of tapping.

I know there is the possibility that our client may activate the mic on purpose but this would be the clients blame.

Regards,
Jay Am
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ