I have created an exe file which works fine on some Windows machines and fails on others.
I could not yet find the cause for failing.
Important data:
After installing around 200 Windows updates the error is gone.
The required update is addressed by KB2999226