Enter Network Password --- Workaround???? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Enter Network Password --- Workaround????

Does anyone know a way around the Network Password window that pops up when accessing a domain? I have a valid user name and password that autofills, but I still have to physically click the OK button. I'm trying to build an auto-pull script that will download a site multiple times a day, and don't want it to require any human interaction.

Comments

  • SuperChrisJSuperChrisJ Posts: 3Member
    : Does anyone know a way around the Network Password window that pops up when accessing a domain? I have a valid user name and password that autofills, but I still have to physically click the OK button. I'm trying to build an auto-pull script that will download a site multiple times a day, and don't want it to require any human interaction.
    :
    For those who may read my message here, I have found a solution and have successfully implemented it. Using Visual Basic I created a separate exe and called it from the main program. In the second exe I used the FindWindow API function to get the handle for the password window. I then used the SendInput API function to simulate the "Enter" key being pressed. Since the user name and password are saved to my password list by default, they did not need to be entered. This solution works for now, but if anyone knows a better way to do it, please let me know. Thank you.
Sign In or Register to comment.