I need to send keys to a username and password prompt in an MMC pop up authentication window\dialogue. This works fine if I use RDP for example, so I know the code is good, but when I access my NetApp filers via the connection I setup in an MMC used for a bunch of other things as well, I get the username and password prompt, but AutoIT (VBS also) won't send the keys to those two fields. The code does not error when I run it in SciTE. Same thing occurs with any similar auth prompt from any other connection in the mmc. Even RDP connections that code can write to outside of the mmc will fail if I open the auth prompt from within the mmc.
Just basic code attempts so far. I've tried with and without WinActivate and used the AutoIT Window info tool. Also tried with the handle found by the tool, but it never writes to the fields.
WinActivate("Windows Security")
Sleep(3000)
Send("domain\username") ; send a username
Sleep(250)
Send("{TAB}")
Send("EndUsersAreAwesome") ; send a password
Send("{ENTER}")
Maybe it's by design and can't be done, but I wanted to check in to see if anyone has come across this.
Thanks!