Consider an ordinary Windows 8+ app. Call the app Teste.
This is running on a captive computer which has no other purpose and there are no security concerns, any Windows settings can be used.
I want Teste to be able to: quit itself and then indeed launch itself again.
Exactly as if a user happened to quit the app, and then launch it again.
(Note ... a handy workaround in some situations if you have this problem - just have the app restart the whole machine ([how-to][1]), and have the app launch on startup of the box just using startup items in Windows. {So, Windows+R, shell:Common Startup, add a shortcut.} )