She doesn't use a last name.
The queen's official title is "Elizabeth the Second, by the Grace of God, of the United Kingdom of Great Britain and Northern Ireland, and of her other Realms and Territories Queen, Head of the Commonwealth, Defender of the Faith." No last name needed.
The other members of the royal family can choose from a buffet of acceptable last names — here's the complete breakdown of their options.