Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

WMP11 creating a BATCH file to enable/disable sharing - WMPNetwk.exe


  • Please log in to reply

#1
Tender_Prey

Tender_Prey

    New Member

  • Member
  • Pip
  • 8 posts
Hi,

I hope someone can help.

I'm looking for a simple batch file i can run that will allow me to switch between enabled and disabled windows media player network sharing - without having to open WMP11 and manually turn on and off Media Sharing.

As far as i understand the service (services.msc) that needs switching is WMPNetworkSvc (Windows Media Player Network Sharing Service) which relates to WMPNetwk.exe

Any help would be great

Many thanks
  • 0

Advertisements


#2
Tender_Prey

Tender_Prey

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
I should also add that it might be better if the Batch file just gave the command to "restart" the service as that might also solve my current issue.
thanks
  • 0

#3
Ax238

Ax238

    Tech Staff

  • Technician
  • 1,323 posts
Hello Tender Prey,

Sorry for the late response. You can use the following commands:
Stop:
net stop WMPNetworkSvc
Start:
net start WMPNetworkSvc
Restart:
net stop WMPNetworkSvc && net start WMPNetworkSvc

Regards,

Ax
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP