Win2008 – Use task scheduler to open a password protected web page every n minutes?

Posted on


I already know how to use task scheduler to open a web page that does not require login (eg

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?


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):// 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.

Leave a Reply

Your email address will not be published. Required fields are marked *