in reply to Pass expected input to Windows program

Another approach would be to use Win32:API to call CreateProcessWithLogonW, where you can give the password.
  • Comment on Re: Pass expected input to Windows program