Opening a wep page with Task Scheduler with username/password

08
2014-06
  • Ken Ingram

    I'd like to use task scheduler to open a chat page for a class to capture the chats. When I don't get home in time to open the chat at the beginning, I miss questions and answers until I am logged in.

    I have to log in, to get the chats, so that would be a critical and necessary component of an effective solution.

    Thank You

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    windows - Win2008 - Use task scheduler to open a password protected web page every n minutes?
  • JK-

    I already know how to use task scheduler to open a web page that does not require login (eg http://google.com).

    But is it possible to open a web page that requires a login and automatically enter the login data?

    eg /protected/page.aspx which redirects to /protected/login.aspx?returnUrl=page.aspx

    Or is there a better way to do this than task scheduler?


  • Related Answers
  • nhinkle

    There are rather enormous security implications here - I really wouldn't recommend this - but if the page uses basic authentication (i.e. it sends an HTTP 401 header, the browser sends credentials, then it proceeds to the page), you can authenticate by going to http(s)://username:[email protected]. Most browsers do give you a warning first though, asking if you're sure you want to send your username and password to the site. Furthermore, it appears that IE specifically does not support this, so you would have to use another browser like Firefox, which does.