Run Server 2008 Task in Foreground

I wrote a script using a mix of bat files and winscp to download some files from an FTP site.  The scripts work great when I run them manually.  When I set them to be run by task scheduler they run in the background.  I would like the windows to be shown so I can check on the FTP transfer status.  Anyone out there know how to make a scheduled task run visible to the user logged in?  I am running the task as administrator and logging in as administrator as well.
WashREITAsked:
Who is Participating?
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Created a new task myself this morning to test this, running a .cmd file that did the following:
@echo off
echo This is a test
timeout 10
then created a scheduled task to run that .cmd file, hidden box not ticked, right-clicked and ran it and DOS box plus expected text appeared on screen.
So it works for me...
If you use AT you need to use the /interactive switch, but the effect should be the same.
0
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Right-click the task in Task Scheduler and choose properties. On the General tab ensure the "hidden" box isn't ticked.
0
 
WashREITAuthor Commented:
It's not ticked.  I think I have to create the task using AT instead of task scheduler.  Is there a way to convert an existing task in task scheduler to AT?
0
 
WashREITAuthor Commented:
That was just odd.  I eneded up deleting the task and recreating it and it worked.  No idea how it got messed up.

Thanks for the help.

Mike
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.