How do you remove plastic window rivet?

Uh oh
First penetrating oil for lubrication. Support the other side of the rivet. Now with hammer and punch knock out that center piece out the other side. Just be careful but that is how you release that center pin.