Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I have a VBSCRIPT file that is used to backup a database once every day at a particular time, this was done using task scheduler but my problem now is this script requires you to press ok or cancel to complete the operation.

In the run command line of the Scheduler is there any switch that I can use so that it does not sit and wait for me to click ok to complete the task?

share|improve this question

I would think it would be the VBScript calling up the dialog (MessageBox), and not TaskScheduler. You need to look at the script file and delete or comment out the lines that do that.

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.