oobenetworkcaptiveportalextensions.dll Error in Windows 10 and 11: Windows setup network portal support

First-run setup may detect a network but fail to finish its allowed network sign-in page.
The Windows file inventory identifies oobenetworkcaptiveportalextensions.dll as OOBE Network Captive Portal XAML Extensions. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Check whether the target network requires a browser sign-in or is approved for initial setup. Compare with a trusted network that meets the device’s requirements.
Record the last network step that succeeds. Note whether setup finds the intended network, opens an approved sign-in page, or returns an error before displaying it. Microsoft’s setup network guide describes supported options. For managed devices, follow IT’s approved setup route. After repair, verify the original setup advances beyond that network step.
Repair the affected feature
Use the organization’s approved setup connection or ask IT how to complete the captive portal safely.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Repeat setup on the approved connection and verify the expected setup screen proceeds.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.