Jump to content

Question about schtasks


Recommended Posts

Guest EW_Zuki
Posted

C:\Documents and Settings\Riley>schtasks /create /tn "chessTimer.py" /tr

e:\q\chessTimer.py /sc once

/st 12:13:00 /sd 02/29/2008

The task will be created under current logged-on user name ("DICK\Riley").

Please enter the run as password for DICK\Riley:

==================================

 

What do I enter at this prompt? I don't believe I have a password. If I do,

how can I find what it is? Also, what does 'run as password' mean?

  • Replies 2
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: Question about schtasks

 

 

"EW_Zuki" <EWZuki@discussions.microsoft.com> wrote in message

news:34A66B06-05B9-4645-920F-0F3E2B9AC9CE@microsoft.com...

> C:\Documents and Settings\Riley>schtasks /create /tn "chessTimer.py" /tr

> e:\q\chessTimer.py /sc once

> /st 12:13:00 /sd 02/29/2008

> The task will be created under current logged-on user name ("DICK\Riley").

> Please enter the run as password for DICK\Riley:

> ==================================

>

> What do I enter at this prompt? I don't believe I have a password. If I

> do,

> how can I find what it is? Also, what does 'run as password' mean?

 

Click Start/Help, then look for help on "runas" to see what it means.

 

Most tasks are best scheduled to run under an account other than

your normal account. Create such an account (e.g. "Scheduler"),

give it a password (compulsory!), then give it sufficient privileges

to access the folders it needs to access.

 

Using schtasks.exe implies advanced knowledge about such things.

If you're new to task scheduling then you'd be better off using the

Task Scheduler GUI in the Control Panel.

Guest EW_Zuki
Posted

Re: Question about schtasks

 

"Pegasus (MVP)" wrote:

> Using schtasks.exe implies advanced knowledge about such things.

> If you're new to task scheduling then you'd be better off using the

> Task Scheduler GUI in the Control Panel.

 

Actually, I was attempting to use schtasks.exe because I couldn't get the

Task Scheduler GUI to work. I finally discovered that I needed to create a

password. Once I did so, I have had no more problems with it.

 

Thanks for the help and info.


×
×
  • Create New...