wpd_ci.dll Error in Windows 10 and 11: Windows Portable Devices driver installation

A newly connected phone or camera never completes device setup and its installation log names wpd_ci.dll.
The Windows file inventory identifies wpd_ci.dll as Driver Setup Class Installer for Windows Portable Devices. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Check the physical connection and device mode. Open Device Manager and note the class or driver error. Compare a known-good portable device on the same cable.
Repair the affected feature
Install the manufacturer-approved driver when required and use Windows Update for the appropriate device class. Avoid random driver packs.
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
Reconnect the intended device and confirm it installs under the expected category and can expose its approved storage.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.