Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone tell me how I can use windows scheduler on windows server to execute a page over the internet, specifically an file.

share|improve this question

You can use a single line Powershell script to do this. Put this in a file with a .ps1 extension (such as RunWebPage.ps1):

(new-object System.Net.WebClient).DownloadString("")

Then in your run box enter

powershell c:\RunWebPage.ps1

using the full path of wherever you save the script.

share|improve this answer
That's a much more elegant solution than mine, I'll have to give it a try here. – ColJL Aug 11 '11 at 7:56

You can do this in the run box

"c:\program files\internet explorer\IEXPLORE.EXE" "http://webaddress"

but it will only work if someone is logged on.

share|improve this answer
Can't you use task scheduler to run the task as a specific user? – Ben Quick Sep 10 '09 at 11:00
thought this would be a common thing to do? :-/ – madphp Sep 10 '09 at 12:38
I've done it just like coljil suggested -- with the task configured to run as a named user. Nobody needs to be logged on for it to work. – Chris_K Sep 10 '09 at 12:51
Thanks @Chris_K, that's what I figured. Good to have it confirmed! – Ben Quick Sep 10 '09 at 13:22
... that being said, I think you'll want to ensure that named user has logged onto the box at least once before (seems like I had an issue once where no local profile stuff existed yet). – Chris_K Sep 10 '09 at 13:43

You can user wget for windows, it is simple and works well. Download it from here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.