Can I turn on Media Streaming from the command prompt (for batch fil)?


  1. Posts : 3
    W10
       #1

    Can I turn on Media Streaming from the command prompt (for batch fil)?


    Hi,
    I started using W10 Media Streaming to access videos on my laptop from my Samsgung TV. This works pretty well most of the time, but, sometimes, I run into issues that get sorted by turning off and on the Media Streaming. Some other times, Media Streaming just randomly turns off so I have to turn it back on.

    I was wondering if there is any command that I could put on a batch file, to easily turn off and on Media Streaming without having to go Control Panel > Network and Internet > Network and Sharing Center > Media streaming options

    Thank you.

    Windows Version: 1909
    Build: 18363.1316
    Last edited by kevinh89; 16 Jan 2021 at 03:23. Reason: typo
      My Computer


  2. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @kevinh89,
    Welcome to TenForums.

    kevinh89 said:
    I was wondering if there is any command that I could put on a batch file, to easily turn off and on Media Streaming without having to go Control Panel > Network and Internet > Network and Sharing Center > Media streaming options.

    [1] Are you talking about WMP?
    [2] If so, does this work [ it Stops and Starts the Service ]? . . .

    Code:
    @echo off
    Net Stop WMPNetworkSvc && Net Start WMPNetworkSvc
    exit

    I hope this helps.
      My Computer


  3. Posts : 3
    W10
    Thread Starter
       #3

    Hi @Paul-black
    No, Im not talking about Windows Media Player, Im talking about Media Streaming.
    More info here.

    What Im looking for is exactly what you showed me, but with the service that runs the Media Streaming.

    Thank you.
    Last edited by kevinh89; 16 Jan 2021 at 15:06.
      My Computer


  4. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #4

    Hello @kevinh89,

    kevinh89 said:
    What I'm looking for is exactly what you showed me, but with the service that runs the Media Streaming.

    I have just spent a while looking on the Internet for you, but it wasn't much help. However, I did come across this which you might find useful . . .

    > Method 1: Run Windows Media Player Troubleshooter

    I do NOT use Media Streaming myself so I can't even look at what the actual Service is that is running.

    I hope this helps.
      My Computer


  5. Posts : 3
    W10
    Thread Starter
       #5

    I been trying to start/stop the serviceand check which one on the Task Manager Services tab comens on and off but I cant figure it out really and I cant find anywhere online.
    I also used tried the same approach with this tool with no success.
      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 13:56.
Find Us




Windows 10 Forums