You can fix the Photos app's error code 0x887a0005 with built-in Windows 10 options and tools as outlined in this troubleshooting guide.