Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm putting together instructions for our users to test their microphones. Vista and 7 changed the Sound Recorder so it doesn't play back sound. Hence it's not good for testing sound (they have to save the file, find it, open it, inevitably get the Windows Media Player "first time" experience... at which time they've forgotten what they were doing).

The only other option I see for testing the Microphone is to click Start> Control Panel> Sound> Microphone > Configure> Set up Microphone (and hope that they don't have their Control panel in Classic setup.

I know there are ways to launch the Sound dialog via the command line like this.

Any ideas?

share|improve this question

4 Answers 4

up vote 2 down vote accepted

The Set up your Microphone wizard is hidden in the SpeechUX.dll. You can call SpeechUX.dll like so:

rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard Tutorial (Speech Recognition Tutorial)
rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard UserTraining (Voice Training)
rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard MicTraining (Microphone Training)
rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard UserEnrollment (Set Up Speech Recognition)

So you basically want: rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard MicTraining

share|improve this answer
    
Confirmed that at least MicTraining one works on both Windows Vista and Windows 7. –  Clay Nichols Oct 22 '10 at 20:56
    
It turns out that this is not a very helpful test because it does not give you an option to configure the microphone. So, it's useful for us to be able to point out to the customer that it's a problem with their microphone not our software, but if Microsoft had just included a link to adjust the Microphone volume it would have been a useful Wizard. –  Clay Nichols Oct 22 '10 at 21:11

You should be able to do this with: control mmsys.cpl sounds

share|improve this answer

Control mmsys.cpl sounds doesn't work on Windows 7 (for me at any rate). It just pulls up the same default Sound Control Panel applet as mmsys.cpl does by default.

You can make it somewhat easier for your users by creating a shortcut that links directly to the wizard (or a link to a shortcut). In Windows 7 (and probably in Vista, can't be sure as I don't have access to a copy right now) you can create a shortcut to an item in the Control Panel by opening up the new Control Panel interface, searching for Microphone and then drag the "Set up a Microphone Link" to your desktop or a folder. You can then put it somewhere that they can access and send them a link to that.

share|improve this answer
    
Are you doing this from the RUN dialog or the Search: dialog (brought up by click Start)? it works in the latter but not the former (for me on Win 7) –  Clay Nichols Feb 27 '10 at 3:01
    
I I try it in the Seach: Dialog I get nothing at all, however if I search for Microphone from there it finds the direct link to the Wizard immediately so that seems like a better approach for you. –  Helvick Feb 27 '10 at 15:20

Thanks to jPerkster for pointing me in the right direction. Didn't occur to me to look for command line parameters here.

mmsys.cpl ,n NOTE: the space before the "," is absolutely needed or Windows thinks you're trying to launch mmsys.cpl, and you get an error n=

1 for recording

2 for Sounds

StackOverflow also has a similar way to do this programatically.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.