In Edit Owner Limits -> Allowed capabilities and features -> Allowed Scripts if you leave All except those disabled globall enabled and move some scripts from right to left and then saves, then virtualmin does have some kind of crash.
and it doesn’t seem to be possible to change that setting