Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to open the Volume Control popup directly without using the mouse or keyboard. Currently, I am using AutoHotkey to press Win+B to focus on the system tray, Left to highlight the Volume Control icon icon, and then Enter to bring up the popup.

volume control

I assume that this is possible, considering that you can open the View Available Networks window with

rundll32 van.dll,RunVAN

as opposed to using the Network icon icon.

Is there a way to invoke the Volume Control popup from the command prompt? Please note that I am not looking to use the Volume Mixer (sndvol):

volume mixer

share|improve this question
up vote 21 down vote accepted

sndvol.exe is what you want, you just need to use the -f flag to make it show just the master volume slider:

sndvol.exe -f

Running just sndvol.exe opens the volume mixer, as you noted.

share|improve this answer
+1 beat me by 9 secs :) – Kaze Jun 24 '12 at 1:01
The window isn't in its usual place, but I can move it to where I see fit with AutoHotkey. Thanks! – iglvzx Jun 24 '12 at 1:04
@iglvzx Yeah, the window placement seems random, probably because it was not triggered by the notification area icon. Anyway, glad I could help. – Indrek Jun 24 '12 at 1:05
> the window placement seems random It’s not random; new windows open by default one title-bars height to the right and below the previous one up to a point, then reset to the top-left. – Synetech Jun 24 '12 at 6:14
@indrek, what other switches does sndvol.exe have? i couldn't find anything except sndvol32 related documentation – Chinggis Oct 22 '14 at 23:01


As mentioned in my comment, using sndvol -f as per @Indrek's answer opens the Volume Control window in an unusual location, away from the system tray. Using AutoHotkey, we can make the popup appear where we see fit:

SetWinDelay, -1
Run, % "sndvol -f"
WinWaitActive, ahk_class #32770
WinMove, % A_ScreenWidth - 84, % A_ScreenHeight - 305 - 48

This script places the window at the bottom right of the screen. You can customize it to by changing the last line (WinMove).


share|improve this answer

sndvol.exe allows you to specify window location by adding coordinates after -f switch:

sndvol.exe -f 26214900

This example creates window at x=500 y=400

coordinates = y * 65536 + x, where x and y - signed integers

BTW there is third command line parameter... may be handle?...

share|improve this answer
This is great. Where did you find documentation on sndvol.exe's -f parameter and the coordinates? All I find is this article that only mentions -R and -D. This article even has it on the secondary display. – JVimes Jun 7 '14 at 7:04
@JohnB I didn't find documentation. I launched the Task Manager, saw sndvol's command line, and thought a little. :) – CoolCmd Jun 7 '14 at 19:16

On windows XP: Use sndvol32 as follows

sndvol32 no params to display master volume window

sndvol32 -x to display small master volume window

sndvol32 -t to display volume control only (as per sound icon)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .