Unable to see anything when windows sheduled task running

Hi,
I have created a task using task scheduler, windows run that welll and produces the output, but while running I am not able to see anything, in the foreground. Everything running in the background.

1.I have created this using NetScheduleJob.
2. haven't specified any username and password.


LVL 12
str_kaniAsked:
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.

Roberto RodriguesIT ManagerCommented:
The reason for you not seeing anything is because the job is assigned with a user wich is not the one who is logged on, and so the job cann't interact with the logged user, only XP permits that.
To fix that issue just go to the schedule tasks and change the username and password to run the task.
str_kaniAuthor Commented:
but, the task completed successfully,

FYI, I am running on XP,

I am scheduling the jobs using VB, dynamically.  Can I specify a username and passsword while I create the job? Some of the users going to be running on Windows 2000,
Roberto RodriguesIT ManagerCommented:
You have to do that, otherwise it won't work.
See if can activate the option interact with the os.

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
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

str_kaniAuthor Commented:
Thanks for your comments, I installed the same application in Windows 2000 and scheduled the job using my program, it'w working fine, only issue I am having, I am not able to see the window while it do all the processing...

to clear the situation mode:

I run a windows application created using VB at a scheduled time. For doing a backup operation.
The application run at the scheduled time and produces the output, but While it's running I see the status of the job as running for the scheduled job, and the process list in the task scheduler show the process also. once it completed the process, it quit itself, that's how the program coded.

I would like to see the window while it's running,


The points I noted..
The job created by says... SYSTEM not administrator or some othrer user.
If I schedule a job using the add job short cut it says created by "Administrator" and shows WINDOW!!

it's not showing only when the job is scheduled dynamically.... I think.
Is there any way I can specify the username and password ?


str_kaniAuthor Commented:
Listening....
Roberto RodriguesIT ManagerCommented:
So why don't you search in vb to change that.
str_kaniAuthor Commented:
OK. I will look that way,

Thanks for your help SOFTECNICOS
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 2000

From novice to tech pro — start learning today.