This is the most effective fix for corrupted ms-pppoeminiport .
If you see a yellow exclamation mark or "Code 31" error next to this device in Device Manager, try these troubleshooting steps:
Check if a PPPoE adapter appears.