Fix NS_E_SHARING_STATE_OUT_OF_SYNC 0XC00D0FF4
Media sharing stopped because Windows changed a setting or component. This guide walks you through restarting the service and fixing permissions.
Quick answer: Restart the WMPNetworkSvc service, then run net start WMPNetworkSvc as admin. If that fails, delete the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences and reboot.
Why this happens
This error pops up when Windows changes a networking component or security setting while media sharing is active. The Media Sharing service (WMPNetworkSvc) keeps a cached state of your network profile and sharing permissions. When something like a Windows Update, a network adapter reset, or a group policy change hits, that cache goes stale. The service panics and turns off sharing to prevent conflicts. You'll usually see this after:
- Running a Windows feature update (like 22H2 to 23H2)
- Changing your network type from Private to Public and back
- Installing or uninstalling a media server app (like Plex or Emby)
- Resetting network settings via
netsh winsock reset
Step-by-step fix
Step 1: Restart the Media Sharing service
- Press Win + R, type
services.msc, and hit Enter. - Scroll down to Windows Media Player Network Sharing Service. The display name might be truncated, look for WMPNetworkSvc.
- Right-click it and select Restart. If it's not running, right-click and choose Start.
- After you click Start, you should see the status change to Running. If it errors out (usually with "Error 1068" or "Error 2"), don't panic — go to Step 2.
Step 2: Force-start the service from Command Prompt (Admin)
- Open Command Prompt as administrator. Hit Win, type
cmd, right-click Command Prompt, and pick Run as administrator. - Type this and press Enter:
After running, you should see: The Windows Media Player Network Sharing Service service is starting... The Windows Media Player Network Sharing Service service was started successfully.net start WMPNetworkSvc - If you get Error 2: The system cannot find the file specified, the service binary is missing or corrupted. Skip to Alternative Fix 1.
Step 3: Clear the cached preferences (the real fix)
- Press Win + R, type
regedit, and hit Enter. Confirm the UAC prompt. - In Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences - Right-click the Preferences folder in the left pane and choose Delete. Confirm the prompt.
- Close Registry Editor.
- Open Command Prompt as admin again and run:
net start WMPNetworkSvc - You should see the successful start message. If not, reboot your PC and try again.
Alternative fix 1: Repair the service binary
If the service fails with "file not found," the core wmpnetwk.exe got removed or damaged. Here's the fix:
- Open Command Prompt as admin.
- Run
DISM /Online /Cleanup-Image /RestoreHealth. This will take 5–15 minutes. Let it finish — you'll see a message saying the operation completed. - Then run
sfc /scannow. Let it scan and repair files. Reboot when done. - After reboot, restart the service using Step 1 above.
Alternative fix 2: Re-enable media sharing in Control Panel
- Open Control Panel (view by Category).
- Click Network and Internet > Network and Sharing Center.
- On the left, click Change advanced sharing settings.
- Under your current network profile (Private or Public), make sure Network discovery and File and printer sharing are both turned on.
- Scroll down to Media streaming and click Choose media streaming options...
- Click Turn on media streaming. You'll see a confirmation. Click OK.
- If it says "Windows Firewall has blocked some features," allow them.
Prevention tip
Before you run a Windows feature update or reset your network stack, turn off media sharing manually first. Go to Control Panel > Network and Sharing Center > Media streaming options, and click Turn off media streaming. After the update or reset, turn it back on. That keeps the service from getting confused.
Was this solution helpful?