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: Batch file to change default audio device

04 Jul 2011   #11

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1

Have you seen this? NirCmd - Windows command line tool

In Ver 2.65 he added setdefaultsounddevice command (for Windows 7/Vista/2008 only), which allows you to set the default sound device.

You may get a warning when downloading some of Nir's programs, but I have never had any problems. Scan it before you open it.

There is another thread that I can ask for help with your situation, hopefully you can receive more help.

My System SpecsSystem Spec
15 Jan 2012   #12

Windows 7 Ultimate x64

I have LCD & Laptop... very annoying, have to switch default audio between HDMI and onboard... so i created my own program... check it out
Win7AudioSwitcher | Free software downloads at
i hope it helps you as it did for me
My System SpecsSystem Spec

 Batch file to change default audio device

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Change a lot of icons with a Batch file?
Here's the situation: I've got this folder. In this folder are 643 sub-folders. I want to change the icon of all of those folders quickly, because doing it manually would be horrible. Each folder has to have it's own icon. Not all the same one. Currently the .ico's are in a folder with all...
audio device isn't set as default, can't make it default
Hi all, Windows 7 Home Premium x64 on HP-DM1-4050us laptop, disabled a couple of unneeded services, now headphones not working, no idea which service caused this but I didn't touch either of the two required audio services (Windows Audio, Windows Audio Endpoint Builder). Audio now plays fine...
Sound & Audio
Audio Playback (Default Device Realtek) Knocks Out SRS Audio Sandbox
Hi, I finally upgraded from Windows XP to Windows 7 and almost went back shortly after finding out I could no longer organize or manually arrange my own personal files and/or folders but luckily I discovered an application called 'Folder Options X' which has re-enabled that feature for me so I'm...
Sound & Audio
Batch File that grabs file names from folder to insert into batch file
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... :confused: First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg. Here's the code that I'm using: ffmpeg -i...
General Discussion
Default Audio Device Problem
Hi guys, Windows 7 is having trouble saving my default audio device. Every time I assign it, hit OK, and restart it changes from what I set it to. So every restart I have no sound and I have to manually change the playback defaults and it works fine until I restart again. This what it looks...
Sound & Audio
ARGHHH No audio with HDMI (but it is my default device)
Yes, another thread -HDMI to HDMI from PC to TV - no sound- however my default device is my HDMI( under playback devices - I have the green checkmark and when I click on the speaker icon it show the green bars moving) still no sound. I have tryed everything - installed drivers - changed the...
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 16:18.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App