• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 553
  • Last Modified:

Enable Windows Media Service HTTP Server Control Protocol From Batch File

I have a server that keeps disabling the Windows Media Service HTTP Server Control Protocol when it reboots.  I would like to make a batch file to check/enable this after reboot.  But I cannot seem to find the correct command to do this from command line.
0
Sitewizard
Asked:
Sitewizard
  • 3
  • 3
1 Solution
 
redmondChrisCommented:
Hi sitewizard,

Folks from the Microsoft team ought to be able to assist. Just post your question on http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winservermedia.

-Chris
0
 
SitewizardAuthor Commented:
I've requested that this question be deleted for the following reason:

No answer given the only response was to go to microsoft
0
 
SitewizardAuthor Commented:
simply a link to microsoft, not an answer
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
redmondChrisCommented:
Fair enough. Out of curiosity, did you go to the Windows Media community forum and ask the question? (The team that staffs it are long-time Windows Media experts at Microsoft.) More importantly, did you find an answer to your question?

-Chris
0
 
SitewizardAuthor Commented:
currently have not found a viable answer for this.  I have basically written a small windows service that can check and alert me if it is not up.  but as for accessing it directly and enabling no.
0
 
redmondChrisCommented:
You seemed reluctant to ask the Microsoft team, so I went ahead and asked them. Here is their reply:

"If something is turning off port 80 for Windows Media Services (WMS), then that same something should prevent a script from turning the port back on for WMS.  I’m assuming from this description that this is a classic port conflict issue with something like IIS or another port 80 consumer." [Note that if a port conflict seems possible, this article on WMS port conflicts might be helpful: http://www.iis.net/learn/media/windows-media-services/using-http-for-streaming-and-downloading-from-the-same-computer.]

"Finding the underlying cause of this issue makes more sense than writing a script to fix this.  But, if they’re dead set on writing a script, then here are the starting APIs:  http://msdn.microsoft.com/en-us/library/windows/desktop/dd893168(v=vs.85).aspx."

I hope this helps...

-Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now