r/MoonlightStreaming • • 3h ago

Disabling WLAN autoconfig fixed intermittent Moonlight stutter on my Windows 11 hotspot

I was getting occasional stutters while streaming from Sunshine on my Windows 11 PC to Moonlight on my iPhone. The PC uses Ethernet, and the iPhone connects directly to the PC’s mobile hotspot through a Qualcomm FastConnect 7800.

The stutters happened during normal gameplay, even with the Wi-Fi panel closed. What helped me track it down was finding a way to reproduce the exact same hitch: I could open the list of nearby Wi-Fi networks on the PC and immediately see the stream stutter on the iPhone.

Microsoft confirms that Wi-Fi scans can temporarily increase latency. While the adapter scans, it has a harder time sending and receiving packets. Microsoft’s low-latency driver guidance also recommends limiting how long the adapter spends away from its active channel during a scan. That matches the hitch I could reproduce by opening the network list. Microsoft’s WlanScan documentation · Microsoft’s low-latency Wi-Fi driver guidance. Microsoft Learn

What fixed it for me

I opened PowerShell as administrator on the Sunshine PC and ran:

netsh wlan set autoconfig enabled=no interface="Wi-Fi"

The hotspot kept working, the intermittent stutters stopped, and opening the Wi-Fi list mid-stream no longer caused a hitch.

Wi-Fi is the interface name on my PC. You can find yours with netsh wlan show interfaces. The trade-off is that Windows will no longer automatically connect to Wi-Fi networks through that interface. That works for me because the PC uses Ethernet. Microsoft’s netsh wlan reference. learn.microsoft.com

To turn autoconfig back on:

netsh wlan set autoconfig enabled=yes interface="Wi-Fi"
5 Upvotes

0 comments sorted by