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



The information in this article applies to:

  • Microsoft Windows Media Services 4.0
  • Microsoft Windows Media Services 4.1

This article was previously published under Q252146

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.

Modification Type:MajorLast Reviewed:11/3/2003
Keywords:kbinfo KB252146