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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
...
Answered 06/15/2009 by: dvdzonenz
Purple Belt

Please log in to comment
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
Answered 06/15/2009 by: Jay Am
Senior Yellow Belt

Please log in to comment
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?
Answered 06/15/2009 by: dvdzonenz
Purple Belt

Please log in to comment
0
bing

Do speakers need to work? If not then the whole audio service can go.
Answered 06/15/2009 by: dvdzonenz
Purple Belt

Please log in to comment
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
Answered 06/15/2009 by: AssmbLLYCoder
Senior Yellow Belt

Please log in to comment
0
What about the SAPI.SpSharedRecognizer object? That might be worth exploring. It would likely be easier than wading through the Speech SDK examples.
Answered 06/16/2009 by: VBScab
Red Belt

Please log in to comment
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.
Answered 06/16/2009 by: dvdzonenz
Purple Belt

Please log in to comment
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
Answered 06/17/2009 by: Jay Am
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity