PC Review


Reply
Thread Tools Rate Thread

Copied scheduled task, access denied error

 
 
BeadyBeady Bee
Guest
Posts: n/a
 
      10th Feb 2011
I am experimenting with a scheduled task by making modifications to a
sucessful task. For example, I want to take something like

* "C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /
AUTOCHECK /AUTOFIX /AUTOCLOSE

and prefix it with

* cmd /c start "" /LOW /WAIT /B

to get a low priority execution (the spybot command is just an
example, it could be any command).

I normally make copies of something before making experimental
modifications. In this case, I intended to copy the task, disable the
original, then modify the copy. If the modification didn't work, I'd
revert back to the original.

However, though I can create tasks, I can't seem to make copies of
them. When I try, I am told that the copy had the same name as the
original. So it doesn't quite work like a file copy.

I tried copying the task to a temporary directory, changing the name,
then copying it back. When I made the copy, it had the extention
".job", even though it doesn't show up that way in the scheduled Tasks
folder (which is set to show file extensions). That's fine, I
thought, I'm sure scheduled tasks are a special creature. So I rename
the task and drag it into the Scheduled Task folder. When I try to
open it, I get the following error messages in a popup window entitled
"Task scheduler":

* "general page initialization failed"
* "the specific error is"
* "access denied"
* "an error has occurred attempting to retrieve task account
information"
* "you may continue editing the task object, but will be unable to
change task account information"

I figure it could be because I specified an local administrator in the
Run As field of the original task: LocalMachineName
\LocalAdminAccount. In fact, it was the very account that I was
logged into at the moment. I don't need to specify that, I thought,
it should run under that account anyway because I'm creating the task
while logged in as that account. Unfortunately, the field seemed to
be inaccessible.

Is copying a scheduled task even possible? If not, why was I allowed
to do so?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduled Task Access Error Andrea_msp Microsoft Access Macros 2 2nd Feb 2009 03:40 PM
0x800700005: Access is Denied when creating a Scheduled Task =?Utf-8?B?UmljaA==?= Microsoft Windows 2000 Security 0 18th Jun 2007 03:15 PM
Delete scheduled task: Access denied Fred Ma Microsoft Windows 2000 Security 0 4th Feb 2004 03:41 AM
Can't rename a copied Scheduled Task Fred Ma Microsoft Windows 2000 1 27th Sep 2003 11:34 PM
Re: Can't rename a copied Scheduled Task Fred Ma Microsoft Windows 2000 0 27th Sep 2003 03:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:02 AM.