Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How to Start and Stop Windows Media Services from the Command Line
Article ID: 252146 - View products that this article applies to.
This article was previously published under Q252146
You can stop and start the Windows Media Services from the command line with the net start and net stop commands.
When you stop or start one of the Windows Media Services with the net start or net stop commands, you can either use the long or short names of the service. For example, you can use the long name, net stop "Windows Media Unicast Service" or the short name, net stop nsunicast. The short and long names for the services are as follows:
Please note that the Windows Media Program Service is dependent on the Windows Media Station service, so if you stop the Station service, you will be asked if you want to also stop the Program service. To keep from being prompted, you can add the /y parameter to the net stop command as follows:
Collapse this tableExpand this table
net stop nsstation /yWhen you start the Program service, the station service will automatically be started without prompting you.