Help - BAT execution from Windows Scheduler

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
(Using Windows 2003 Enterprise Edition) Is there a way to get Windows
Scheduler to execute my BAT file in the background, instead of it opening the
command window in the foreground? When I terminal service into this machine
and manually "Run" the scheduled task, the command window opens, and I'm
afraid that if I disconnect, that process will be prematurely terminated.

Thank you,
John
 
Hi,
(Using Windows 2003 Enterprise Edition) Is there a way to get Windows
Scheduler to execute my BAT file in the background, instead of it opening the
command window in the foreground? When I terminal service into this machine
and manually "Run" the scheduled task, the command window opens, and I'm
afraid that if I disconnect, that process will be prematurely terminated.

Thank you,
John

Yes. Run it in the context of a different user.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Jerold Schulman said:
Yes. Run it in the context of a different user.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com

Jerold,
Thanks. Does this mean going into the job properties and changing the "Run
As" username? If I only have access to one account (my account/username),
then is there no other way to get this to run in the background? For
instance, I don't suppose there's a way to tell it to run as if it were being
run in the context of another user...

Thanks,
John
 
Jerold,
Thanks. Does this mean going into the job properties and changing the "Run
As" username? If I only have access to one account (my account/username),
then is there no other way to get this to run in the background? For
instance, I don't suppose there's a way to tell it to run as if it were being
run in the context of another user...

Thanks,
John

Are you an administrator of your local computer?
If yes, create an account.
Or
Try using the AT command to schedule the job.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Jerold Schulman said:
Are you an administrator of your local computer?
If yes, create an account.
Or
Try using the AT command to schedule the job.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com

I'll try to have an accout created specifically for these tasks..

Thanks,
John
 
Hi,
(Using Windows 2003 Enterprise Edition) Is there a way to get Windows
Scheduler to execute my BAT file in the background, instead of it opening the
command window in the foreground? When I terminal service into this machine
and manually "Run" the scheduled task, the command window opens, and I'm
afraid that if I disconnect, that process will be prematurely terminated.

Thank you,
John
Would this help?

start /min c:\test\test.bat
 
Back
Top