[CLI] Restart service?


  1. Posts : 43
    Windows 7
       #1

    [SOLVED] [CLI] Restart service?


    Hello,

    Sometimes the audio driver on my computer goes crazy, causing the CPU to make a racket.

    Opening the Services GUI app and restarting the "Windows Audio Endpoint Builder" (AudioEndpointBuilder) does the trick. That service also restarts the "Windows Audio" service.

    As a simpler solution, is there a CLI app that can do the same thing, so I can simply double-click a CMD script?

    Thank you.

    NO RESTART c:\Apps\DevManView\DevManView.exe
    NO RESTART net restart AudioEndpointBuilder
    ACCESS DENIED cmd /c "net stop "AudioEndpointBuilder"
    Last edited by Winfried; 06 Aug 2023 at 10:15.
      My Computer


  2. Posts : 43,289
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, you appear to be using Win 7 - the forum prompted you clearly for your full build no. (winver) - why? So we don't have tokeep asking....(!)

    - and no specs for your PC.
    Thanks.
    Last edited by dalchina; 06 Aug 2023 at 09:45.
      My Computers


  3. Posts : 43
    Windows 7
    Thread Starter
       #3

    Sorry. Yes, it's Win7.

    Do the specs matter just to restart a service?
      My Computer


  4. Posts : 43,289
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Thanks. Should be there as a matter of course. Personally I would look to fix the problem rather than find a workaround. As it's Win 7 I make no further comment. Good luck!
      My Computers


  5. Posts : 43
    Windows 7
    Thread Starter
       #5

    Since it requires admin rights, UAC pops up, but it's good enough:

    c:\Apps\DevManView\DevManView.exe /disable_enable "AudioEndpointBuilder"
      My Computer


 

  Related Discussions
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 00:14.
Find Us




Windows 10 Forums