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

ID: Q252146


The information in this article applies to:
  • Microsoft Windows Media Services versions 4.0, 4.1


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:

nsunicast Windows Media Unicast Service
nsstation Windows Media Station Service
nsprogram Windows Media Program Service
nsmonitor Windows 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.

Additional query words: netshow wms cmd

Keywords :
Version : :4.0,4.1
Platform :
Issue type : kbinfo


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.