Does anyone know what code p1791 means and how to fix it?
I'm sure you could google it and get the generic P code definition. But anyone on this site will tell you P codes are just about worthless. Especially without a description. You need to have it scanned with a real BMW specific scan tool that gives BMW codes. Report back with the code and the description.
ASE and BMW Master Certified Technician
Bookmarks