Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.