Code 45 means Windows isn’t seeing the card at the hardware (PCIe) level right now. It’s not a driver problem. The “Realtek PCIe 2.5GbE Family Controller” entry you’re clicking is a ghost from when it previously enumerated; Windows is telling you it’s no longer physically present.
Do this in order (most effective first)
1) Cold power cycle and reseat
- Fully shut down: Win+X > Shut down or “shutdown /s /t 0”.
- Switch off PSU/unplug power. Hold the power button 10–15 seconds to drain.
- Reseat the TX201 firmly; move it to another PCIe slot if you can (avoid risers/adapters). Tighten the bracket screw so it can’t lift.
- Plug in and boot. Check Device Manager again.
2) Make Windows do a true fresh hardware scan
- Disable Fast startup (Control Panel > Power Options > Choose what the power buttons do > uncheck “Turn on fast startup”), then shut down and boot.
- Device Manager > View > Show hidden devices. Under Network adapters, right‑click any greyed “Realtek PCIe 2.5GbE…” entries > Uninstall device (check “Delete driver software” if offered). Action > Scan for hardware changes.
3) BIOS/firmware sanity
- Load BIOS defaults. Then:
- PCIe slot Link Speed: Auto or Gen3 (don’t force Gen4).
- PCIe ASPM/Active State Power Management: Disabled (just to test).
- Fast Boot: Disabled (test).
- Ensure the slot is Enabled (some boards let you disable a slot).
- Update motherboard BIOS and chipset drivers.
4) Quick OS checks (optional, for clues)
- Admin PowerShell:
Get-PnpDevice -Class Net | Format-Table Status,Problem,InstanceId,FriendlyName
Get-PnpDevice | Where-Object InstanceId -match 'VEN_10EC|DEV_8125' | Format-Table Status,Problem,InstanceId,FriendlyName
- Event Viewer > Windows Logs > System, filter by “Kernel-PnP” around boot for errors on that PCI bus.
5) Cross‑test to rule out the card
- Boot a Linux live USB on this PC (or move the card to another PC). If lspci doesn’t show the Realtek RTL8125 (VEN_10EC, DEV_8125), it’s a hardware/slot issue. If it does show there but not here, it’s your board/slot.
6) After it reappears, install the driver
- Pre‑install the driver so it binds immediately:
pnputil /add-driver "C:\Path\To\Driver*.inf" /install
- Then Device Manager > Scan for hardware changes.
If it still shows Code 45 after reseat + different slot, the card likely lost contact or failed. Test it in another PC; if Code 45 follows the card, RMA the TX201. If it works elsewhere, your motherboard slot (or case alignment) is the culprit.