Schedule a task as a Limited user

G

Guest

Hi everyone

I have XP Pro SP2 and there are two accounts - one with Admin and the other
with Limited rights.

If I log on with Limited rights, I can create a Scheduled Task (giving the
Admin account name and password) but it doesn't run. I asked it to run
calc.exe and, whilst the schedule was displayed as running on the Task
Scheduler screen, the calculator didn't appear.

I tried the same (still logged on with Limited rights) but used the Limited
account name when asked. There isn't a password associated with this account
and Task Scheduler warned me about this when I'd finished creating the job.
Needless to say, the calculator didn't display and the task wasn't shown as
running on the Task Scheduler screen.

I have ensured that the Task Scheduler is running in services.msc.

Two questions:

1. How can I create a Scheduled Task for the Limited user (that doesn't
have a password)?

2. How can I create a Scheduled Task for the Admin user (when logged on
with Limited rights but still knowing my Admin password)?

Thanks
 
D

Dave Patrick

Scheduled Tasks requires a passworded account. Just create a new user
account to use with Scheduled Tasks.

Additionally when the Task Scheduler service runs a job by using a specific
account, the Task Scheduler service tries to determine whether this account
is also the account of the current logged-on user. If the account is that of
the current logged-on user, the security context of the scheduled task is
mapped to the security context of that user. This process directs scheduled
jobs to that user's desktop.

Scheduled Tasks|Advanced|View Log may provide some details. If the job
connects to another machine you may need to add the user/ group 'logon as
batch job' rights (server side). Control Panel|Admin Tools|Local Security
Policy\Local Policies\User Rights Assignments
"Log on as a batch job"

If the task completes but the job does not then there is a problem in the
job itself. Remember that if it involves network resources to make sure the
user account has permissions to the resources and also use UNC paths as
mapped drives won't natively exist when no one is logged on.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi everyone
|
| I have XP Pro SP2 and there are two accounts - one with Admin and the
other
| with Limited rights.
|
| If I log on with Limited rights, I can create a Scheduled Task (giving the
| Admin account name and password) but it doesn't run. I asked it to run
| calc.exe and, whilst the schedule was displayed as running on the Task
| Scheduler screen, the calculator didn't appear.
|
| I tried the same (still logged on with Limited rights) but used the
Limited
| account name when asked. There isn't a password associated with this
account
| and Task Scheduler warned me about this when I'd finished creating the
job.
| Needless to say, the calculator didn't display and the task wasn't shown
as
| running on the Task Scheduler screen.
|
| I have ensured that the Task Scheduler is running in services.msc.
|
| Two questions:
|
| 1. How can I create a Scheduled Task for the Limited user (that doesn't
| have a password)?
|
| 2. How can I create a Scheduled Task for the Admin user (when logged on
| with Limited rights but still knowing my Admin password)?
|
| Thanks
|
 
G

Guest

Dave is correct. Additionally, when the task was running as an Admin while
you were logged on as a limited user... the task *did* open. However, it ran
on the Administrator's desktop (if you were on a terminal server and the
administrator logged on remotely, he would have seen the calc run, but you
wouldn't). This is because XP supports multiple desktops. Even though XP
Pro won't let someone connect simultaineously remtote, it was still built
with that technology as a backbone, and the 'feature' was basically just
disabled for marketing and other purposes.

So long story short, it ran, but in the hidden Adminstrator's desktop where
you couldn't see it.

Shawn





Dave Patrick said:
Scheduled Tasks requires a passworded account. Just create a new user
account to use with Scheduled Tasks.

Additionally when the Task Scheduler service runs a job by using a specific
account, the Task Scheduler service tries to determine whether this account
is also the account of the current logged-on user. If the account is that of
the current logged-on user, the security context of the scheduled task is
mapped to the security context of that user. This process directs scheduled
jobs to that user's desktop.

Scheduled Tasks|Advanced|View Log may provide some details. If the job
connects to another machine you may need to add the user/ group 'logon as
batch job' rights (server side). Control Panel|Admin Tools|Local Security
Policy\Local Policies\User Rights Assignments
"Log on as a batch job"

If the task completes but the job does not then there is a problem in the
job itself. Remember that if it involves network resources to make sure the
user account has permissions to the resources and also use UNC paths as
mapped drives won't natively exist when no one is logged on.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi everyone
|
| I have XP Pro SP2 and there are two accounts - one with Admin and the
other
| with Limited rights.
|
| If I log on with Limited rights, I can create a Scheduled Task (giving the
| Admin account name and password) but it doesn't run. I asked it to run
| calc.exe and, whilst the schedule was displayed as running on the Task
| Scheduler screen, the calculator didn't appear.
|
| I tried the same (still logged on with Limited rights) but used the
Limited
| account name when asked. There isn't a password associated with this
account
| and Task Scheduler warned me about this when I'd finished creating the
job.
| Needless to say, the calculator didn't display and the task wasn't shown
as
| running on the Task Scheduler screen.
|
| I have ensured that the Task Scheduler is running in services.msc.
|
| Two questions:
|
| 1. How can I create a Scheduled Task for the Limited user (that doesn't
| have a password)?
|
| 2. How can I create a Scheduled Task for the Admin user (when logged on
| with Limited rights but still knowing my Admin password)?
|
| Thanks
|
 
G

Guest

Thank you Dave and Shawn

I added a password to my Limited account and, sure enough, everything worked
fine. I'm a little surprised that it doesn't work unless there's a password
Dave is correct. Additionally, when the task was running as an Admin while
you were logged on as a limited user... the task *did* open. However, it ran
on the Administrator's desktop (if you were on a terminal server and the
administrator logged on remotely, he would have seen the calc run, but you
wouldn't). This is because XP supports multiple desktops. Even though XP
Pro won't let someone connect simultaineously remtote, it was still built
with that technology as a backbone, and the 'feature' was basically just
disabled for marketing and other purposes.

So long story short, it ran, but in the hidden Adminstrator's desktop where
you couldn't see it.

Shawn





Dave Patrick said:
Scheduled Tasks requires a passworded account. Just create a new user
account to use with Scheduled Tasks.

Additionally when the Task Scheduler service runs a job by using a specific
account, the Task Scheduler service tries to determine whether this account
is also the account of the current logged-on user. If the account is that of
the current logged-on user, the security context of the scheduled task is
mapped to the security context of that user. This process directs scheduled
jobs to that user's desktop.

Scheduled Tasks|Advanced|View Log may provide some details. If the job
connects to another machine you may need to add the user/ group 'logon as
batch job' rights (server side). Control Panel|Admin Tools|Local Security
Policy\Local Policies\User Rights Assignments
"Log on as a batch job"

If the task completes but the job does not then there is a problem in the
job itself. Remember that if it involves network resources to make sure the
user account has permissions to the resources and also use UNC paths as
mapped drives won't natively exist when no one is logged on.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi everyone
|
| I have XP Pro SP2 and there are two accounts - one with Admin and the
other
| with Limited rights.
|
| If I log on with Limited rights, I can create a Scheduled Task (giving the
| Admin account name and password) but it doesn't run. I asked it to run
| calc.exe and, whilst the schedule was displayed as running on the Task
| Scheduler screen, the calculator didn't appear.
|
| I tried the same (still logged on with Limited rights) but used the
Limited
| account name when asked. There isn't a password associated with this
account
| and Task Scheduler warned me about this when I'd finished creating the
job.
| Needless to say, the calculator didn't display and the task wasn't shown
as
| running on the Task Scheduler screen.
|
| I have ensured that the Task Scheduler is running in services.msc.
|
| Two questions:
|
| 1. How can I create a Scheduled Task for the Limited user (that doesn't
| have a password)?
|
| 2. How can I create a Scheduled Task for the Admin user (when logged on
| with Limited rights but still knowing my Admin password)?
|
| Thanks
|
 
D

David Candy

Because it logs on to the computer. Blank passwords (because it is easily guessed) will allow anyone to log on so they are banned.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
Popeye said:
Thank you Dave and Shawn

I added a password to my Limited account and, sure enough, everything worked
fine. I'm a little surprised that it doesn't work unless there's a password
Dave is correct. Additionally, when the task was running as an Admin while
you were logged on as a limited user... the task *did* open. However, it ran
on the Administrator's desktop (if you were on a terminal server and the
administrator logged on remotely, he would have seen the calc run, but you
wouldn't). This is because XP supports multiple desktops. Even though XP
Pro won't let someone connect simultaineously remtote, it was still built
with that technology as a backbone, and the 'feature' was basically just
disabled for marketing and other purposes.

So long story short, it ran, but in the hidden Adminstrator's desktop where
you couldn't see it.

Shawn





Dave Patrick said:
Scheduled Tasks requires a passworded account. Just create a new user
account to use with Scheduled Tasks.

Additionally when the Task Scheduler service runs a job by using a specific
account, the Task Scheduler service tries to determine whether this account
is also the account of the current logged-on user. If the account is that of
the current logged-on user, the security context of the scheduled task is
mapped to the security context of that user. This process directs scheduled
jobs to that user's desktop.

Scheduled Tasks|Advanced|View Log may provide some details. If the job
connects to another machine you may need to add the user/ group 'logon as
batch job' rights (server side). Control Panel|Admin Tools|Local Security
Policy\Local Policies\User Rights Assignments
"Log on as a batch job"

If the task completes but the job does not then there is a problem in the
job itself. Remember that if it involves network resources to make sure the
user account has permissions to the resources and also use UNC paths as
mapped drives won't natively exist when no one is logged on.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi everyone
|
| I have XP Pro SP2 and there are two accounts - one with Admin and the
other
| with Limited rights.
|
| If I log on with Limited rights, I can create a Scheduled Task (giving the
| Admin account name and password) but it doesn't run. I asked it to run
| calc.exe and, whilst the schedule was displayed as running on the Task
| Scheduler screen, the calculator didn't appear.
|
| I tried the same (still logged on with Limited rights) but used the
Limited
| account name when asked. There isn't a password associated with this
account
| and Task Scheduler warned me about this when I'd finished creating the
job.
| Needless to say, the calculator didn't display and the task wasn't shown
as
| running on the Task Scheduler screen.
|
| I have ensured that the Task Scheduler is running in services.msc.
|
| Two questions:
|
| 1. How can I create a Scheduled Task for the Limited user (that doesn't
| have a password)?
|
| 2. How can I create a Scheduled Task for the Admin user (when logged on
| with Limited rights but still knowing my Admin password)?
|
| Thanks
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top