In many civilized countries, voters will receive a voter's card inviting them to vote at each election. To vote you show up with the card and it is matched with a list. In case of issues picture id may be required but that's extremely rare. When validated you get the ballot and do the actual voting.
How hard can that be?
Of course illegals with get no voter's card and cannot vote, but that's to be expected.
If you don't vote you'll have no say in the decisions made but it's all up to you. Making people vote by force will gain noting useful.