Server 2008 Task Scheduler items do not display while running.

Posted on 2012-08-14
Last Modified: 2012-11-28
Hello Experts,

I created a DOS batch routine that copies some files daily to an external USB hard drive on one of my Servers that is running Server 2008.

I have set up a Task in Task Scheduler to run at 4AM but I want to see the Dos batch running on the screen while it is active.

When Task Scheduler runs the batch routine it does not show the scrolling text that runs in the cmd window. I'd like to see it running just like if I manually started the dos batch routine.

How can I do this?


Question by:Lasareath
    LVL 5

    Expert Comment

    What's the point of running the script through task scheduler is you intend to watch it running? Can't you simply run the script then?

    Anyways...Windows 2008 no longer allows that. Refer to

    Author Comment

    The Script runs for hours. And while it's going and displaying on the screen I can see that it's working and other people will not attempt to remove the external USB drive.

    Thats the point.

    The funny thing is that today I created another batch routine that safely removes the usb drive at 4:00pm every friday and that batch routine pops up and is displayed while running.

    Why does one display and the other does not?
    LVL 2

    Expert Comment

    Are you sure your script is running and not erroring out ?

    Accepted Solution

    The Script runs fine. Backups work perfectly. the script copies files from a NAS to and External USB drive. it does a complete mirror and every time I check it it is working perfectly but the black dos prompt script never shows up while it's running.

    After the script finishes I made a command that writes a new log file on the desktop of my client so that he knows it's done. Then another script runs that performs a safely remove command and detaches the USB drive and so the client changes the drive.

    I'd still like to see the script running but oh well.

    Author Closing Comment

    nobody has a solution and so either delete the whole question or accept mine.

    Author Comment

    I came up with a solution.

    I just installed a SBS 2011 Server and it does the same thing. In task scheduler if I start a dos batch routine it does not display the batch while running.

    So here's how I fixed it.

    I created a tiny one line batch routine named CALL_BATCH.bat and in this batch routine is one line that says:


    Now my MY_BATCH_ROUTINE.BAT displays perfectly!

    Author Comment

    So in Taskscheduler what I am scheduling to run is CALL_BATCH.bat

    Then CALL_BATCH.bat  starts up my backup batch routine.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
    This article was inspired by a question here at Experts Exchange ( The requirements stated in that question are (1) reduce the file size of a large number of…
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now