How to fix an infinite crashing loop of Windows Terminal after enabling the «Run this profile as Administrator» option?

2023-04-29--22-04-29

A workaround it to disable the «Run this profile as Administrator»option via the settings.json configuration file.