How to Start and Stop Windows Media Services from the Command Line

This article was previously published under Q252146
This article has been archived. It is offered "as is" and will no longer be updated.
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:
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.
netshow wms cmd
Properties

Article ID: 252146 - Last Review: 02/28/2014 00:30:37 - Revision: 2.1

Microsoft Windows Media Services 4.0, Microsoft Windows Media Services 4.1

  • kbnosurvey kbarchive kbinfo KB252146
Feedback