It's not a rivet, it's a pin.
Just drift it out.
Pins out - now what?
Do I have to remove the gas block to get enough clearance to remove the handguard?
L
No. You may need to give it a whack downwards at the receiver end to rotate it out. They can fit in fairly snug.



























