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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.