Windows 10: Change Audio Playback Device & Change Active Window in cmd

  1.    02 Dec 2015 #1

    Change Audio Playback Device & Change Active Window in cmd

    Basically what the title says. I need to be able to:
    1. Change the audio playback device to a specific device.
    2. Change the active window.

    Both need to be able to be done in cmd. How would I be able to do that?
      My ComputerSystem Spec

  2.    02 Dec 2015 #2
      My ComputerSystem Spec

  3.    02 Dec 2015 #3

    Doesn't seem to be working. Doing anything wrong?
    I'm typing this in cmd:
    "C:\Program Files\nircmd-x64\nircmdc" setdefaultsounddevice "SONY TV *00-C" 1
    "C:\Program Files\nircmd-x64\nircmdc" setdefaultsounddevice "SONY TV *00-C" 2

    And it doesn't change anything.

    EDIT: Nevermind The device was actually: ""SONY TV *00-C". 2 spaces between TV and *. Anyway thanks for helping with that. Now I just need a way to be able to change the active window in cmd.
      My ComputerSystem Spec

  4. Ztruker's Avatar
    Posts : 6,424
    Windows 10 Pro X64 17134.191
       03 Dec 2015 #4

    Sounds like something Powershell can probably do. There are several really good Powershell programmers on this site, hopefully they will see this and respond.

    The Set-WindowFocus cmdlet for Windows PowerShell

      My ComputersSystem Spec


Related Threads
Hello everyone, Laptop Samsung NP300V5A. Sound stops working about a month after Win 10 upgrade. No changes done at the time. Audio devices show up under Device Manager, but not under Playback/Recording Devices. Same for Realtek Sound Manager...
I am not liking the very thin black window borders, when I open a lot of windows it can be hard to tell where one ends and another begins. Is there any way that you can increase the thickness of the window outline?
Here are my "relevant" system specs: CPU: 5960X Motherboard: ASUS Rampage V Extreme This seemed to have worked fine under Windows 7, but it stopped working awhile ago, I "think" about the time I upgraded to Windows 10. My Line-in will not...
Change Window Buttons? in Customization
Hello, I was wondering if there was a way to change the look of the window buttons to something like Windows 8. Here's what that looks like: Thanks for reading.
How to Change the Device Name in Windows 10 Mobile Phones Devices on a network need unique names so they can identify and communicate with each other. If two devices have the same name on the same network, it creates a conflict for network...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 18:29.
Find Us