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
Expand all | Collapse all

SUMMARY

You can stop and start the Windows Media Services from the command line with the net start and net stop commands.

MORE INFORMATION

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:
Collapse this tableExpand this table
nsunicastWindows Media Unicast Service
nsstationWindows Media Station Service
nsprogramWindows Media Program Service
nsmonitorWindows Media Monitor Service
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:
net stop nsstation /y
When you start the Program service, the station service will automatically be started without prompting you.

Properties

Article ID: 252146 - Last Review: November 3, 2003 - Revision: 2.1
APPLIES TO
  • Microsoft Windows Media Services 4.0
  • Microsoft Windows Media Services 4.1
Keywords: 
kbinfo KB252146

Give Feedback