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: Command Line Utility Change Sound Device

15 Apr 2011   #1

Win 7 x64
Command Line Utility Change Sound Device


I am looking for a method for CLI-only changing of the default audio device.
(Control Panel-> Hardware and Sound -> Manage Audio Devices)
I have already tried various options such as AutoIT, AutoHotKey and while I was able to get it working, this was not the optimal solution.

Does anybody know of a way to change it using only CLI utilities?


My System SpecsSystem Spec
27 Jun 2011   #2

Windows 7 64-bit
Command Line Utility to change sound device


Did you ever find something that would work? I've got the same problem and I've been using AutoHotKey for a while now, but find it unreliable - especially if audio devices change.

My System SpecsSystem Spec
30 Jun 2011   #3

Win 7 x64

Actually I am still using an auto it script that I created. I will try to post the code soon.
There was no other way I could find to do this.
My System SpecsSystem Spec


 Command Line Utility Change Sound Device

Thread Tools

Similar help and support threads
Thread Forum
I want to change realtek's sound format by using command line
Sound quality is changed by format, so I change the format many times. When I see a movie, then change to 24 48khz or 192. But many musics are 44.1khz so when I play music, then change to 24 44.1khz. But that click-work so bother me. So I want change format by command line. Could you tell...
Sound & Audio
Possible to Change Sound Scheme via Command Line?
Hello All, I've scoured and searched past threads, but have not found the answer(s) I'm looking for. Here's my situation: I'm a full-time AV technician and I frequently deal with multiple (sometimes hundreds) of rental computers that need to be set up for use with presentations. Using the...
Sound & Audio
What Error is This? Microsoft Maleware Protection Command Line Utility
Guys, sometime i went to Action Center Check the Maintenance , and i found this , "Microsoft Maleware Protection Command Line Utility" at the view all problem reports, here's the Image, what's this ? it's mean my...
System Security
64 bit command line unzip utility
So...I got this new computer in at work. 7pro, 64 bit, quad core AMD X4 B95. No biggie, but a small step up from my 7 month old X2 B22 processor work rig, which was 32 bit. I need a command line unzip utility that works with 64 bit OS. Previously I used pkunzip and funzip utilities and it...
How to run a command line utility?
Hi, I am trying to run a command line prompt utility from Microsoft on windows 7. Sure I am doing something wrong, after I click the downloaded .exe file the command prompt pops up briefly then disappears. Can someone explain the basics of running a command line utility on win7? Thanks! ...
General Discussion

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 21:14.
Twitter Facebook Google+