Automatically Restart Windows Audio?

JoeThing

Honorable
Apr 29, 2013
2
0
10,510
Hello all, I was wondering if there was a way to automate the process of opening services.msc, going to Windows Audio, and restarting it? Like maybe a batch file or something? I'm not sure if that's possible but if it is could someone help me with one? Thank you in advance.
 


Well there's an issue with my sound where it goes out sometimes, but restarting the audio usually fixes it. Sometimes it doesn't which requires a reboot. I guess I should have asked for help about that rather than help with the temporary fix...It's just that I'm expecting to get a new laptop soon so I wouldn't have this issue anymore I guess. But still I'm trying to figure out how to do it just out of curiosity as well. I'm not sure what the "Windows Audio" service is called in the files since Windows Audio doesn't work when I try.

EDIT: Okay I figured it out. I had to use quotes.