How to Run a Logon Command in Windows Sandbox

You use Windows Sandbox a lot for testing packages or software. Sometimes you want to start it with specific options or install some required apps automatically when it starts. This post shows you how to start Windows Sandbox and then run a logon command automatically in the sandbox.