B&R Automation Studio won't open. It briefly appears in Task Manager and then closes

If you’re talking about AS 4.x, maybe this could be the reason: