You will think this is nuts but here is the procedure
Close glass and shield as possible
With drivers door closed turn on ignition and wait for ceiling lights to turn off
Press vent and fully open glass to vented position
Press left map light (light will turn on)
Press right map light ( on, off, on, off)
Press left map light ( off)
Immediately press left 2 more times
Open drivers door
Press ignition once to turn off, and wait for IC to power down
Immediately turn ignition back on
Press vent and hold until glass moves to the vent position, stalls for 1 second, moves to full open stalls for one second, then moves to closed position
Press and hold close shield until shield closes and stalls for 1 second moves to full open and stalls for one second and moves back to close
Release shield close button
Should be programmed now.
If you don't first mess up you will never learn.