Are you using krb5_prompter_posix? If so, this does not really work on Windows outside of console mode. You probably want to write your own prompter function.