wwansvc.dll Error in Windows 10 and 11: Mobile Broadband service errors

The Cellular option disappears, or Windows reports a mobile broadband service error mentioning wwansvc.dll.
What this DLL does
This Windows component is associated with the WWAN AutoConfig service for supported cellular connections.
Start with this check
Check that airplane mode is off, the supported modem appears in Device Manager and the expected SIM or eSIM is active.
Write down the exact message, the time, and what you were doing. If the application closes, open View reliability history from Start, select the matching failure, and copy its technical details. An exception code, full module path and application version help identify the next test.
Choose the appropriate repair
Follow the PC maker and carrier’s supported troubleshooting steps. On managed systems, check with IT before replacing connection profiles. Preserve the original error code for support.
Use Microsoft’s application repair options when only one program fails and its publisher supports those options. If multiple built-in Windows features fail and there are signs of Windows system file corruption, follow Microsoft’s DISM and System File Checker instructions in that order. Use trusted Windows or publisher packages when restoring DLLs.
Verify the result
Reconnect to the approved cellular network and verify a normal app can transfer data. Keep the original error information until the same operation also works after a restart.
The DLL Errors & Fixes Library includes related troubleshooting, including wlanapi.dll. Reference: Microsoft’s Mobile Broadband API documentation.