1. Disconnect the negative battery cable.
2. Remove the front door trim or rear door trim.
3. Remove the screws, then the power window switch.

4. Install in the reverse order of removal.
Door glass position change procedure
Power window main switch inspectionMazda 6 Service Manual: Owner Maintenance Precautions
The owner or a qualified service technician should make these vehicle inspections
at the indicated intervals to ensure safe and dependable operation.
Bring any problem to the attention of an Authorized Mazda Dealer or qualified
service technician as soon as possible.
At Least Twice a Year (For ...
Mazda 6 Service Manual: Location index
INTAKE-AIR SYSTEM
FUEL SYSTEM
Engine Room Side
Fuel tank side
EMISSION SYSTEM
Engine room side
CONTROL SYSTEM
...