PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average.

schtasks returning access denied for a certain taskname

 
 
Marcus
Guest
Posts: n/a
 
      22nd Dec 2010
Hi

I get a very strange behaviour from schtasks.

I used to type the following line for launching myfile.exe ones every
minute (actually this was done from c# code)
schtasks /create /sc minute /tn stdog /tr C:\mydir\myfile.exe

This has been working fine for a while, but now I get an access denied
message. Even if I supply this from command line (cmd.exe).

If I change the taskname to something else though, it works fine. For
example:
schtasks /create /sc minute /tn stdog2 /tr C:\mydir\myfile.exe

This sets up a task by the name stdog2, that launches myfile.exe ones
every minute

What is happening here. It seems like the taskname stdog has been
consumed and is no longer a valid taskname somehow!

Anyone got a clue? Any input would be appreciated.
 
Reply With Quote
 
 
 
 
Marcus
Guest
Posts: n/a
 
      24th Dec 2010
On 23 Dec, 17:15, Kevin John Panzke <kevin.pan...@gmail.com> wrote:
> On Dec 22, 3:49*pm, Marcus <marcussilf...@gmail.com> wrote:
>
>
>
>
>
> > Hi

>
> > I get a very strange behaviour from schtasks.

>
> > I used to type the following line for launching myfile.exe ones every
> > minute (actually this was done from c# code)
> > schtasks /create /sc minute /tn stdog /tr C:\mydir\myfile.exe

>
> > This has been working fine for a while, but now I get an access denied
> > message. Even if I supply this from command line (cmd.exe).

>
> > If I change the taskname to something else though, it works fine. For
> > example:
> > schtasks /create /sc minute /tn stdog2 /tr C:\mydir\myfile.exe

>
> > This sets up a task by the name stdog2, that launches myfile.exe ones
> > every minute

>
> > What is happening here. It seems like the taskname stdog has been
> > consumed and is no longer a valid taskname somehow!

>
> > Anyone got a clue? Any input would be appreciated.

>
> REFORMAT YOUR COMPUTER AND INSTALL OPEN SOURCE LINUX UBUNTU! JUST FYI!
> THREAD CLOSED!- Dölj citerad text -
>
> - Visa citerad text -


Unfourtunately this didn't help me much.

I hope someone will be a bit more constructive. But as I said ANY
input is appreciated. So thanks :-)





 
Reply With Quote
 
 
 
 
Gene E. Bloch
Guest
Posts: n/a
 
      30th Dec 2010
On Fri, 24 Dec 2010 03:37:35 -0800 (PST), Marcus wrote:

> On 23 Dec, 17:15, Kevin John Panzke <kevin.pan...@gmail.com> wrote:
>> On Dec 22, 3:49*pm, Marcus <marcussilf...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>> Hi

>>
>>> I get a very strange behaviour from schtasks.

>>
>>> I used to type the following line for launching myfile.exe ones every
>>> minute (actually this was done from c# code)
>>> schtasks /create /sc minute /tn stdog /tr C:\mydir\myfile.exe

>>
>>> This has been working fine for a while, but now I get an access denied
>>> message. Even if I supply this from command line (cmd.exe).

>>
>>> If I change the taskname to something else though, it works fine. For
>>> example:
>>> schtasks /create /sc minute /tn stdog2 /tr C:\mydir\myfile.exe

>>
>>> This sets up a task by the name stdog2, that launches myfile.exe ones
>>> every minute

>>
>>> What is happening here. It seems like the taskname stdog has been
>>> consumed and is no longer a valid taskname somehow!

>>
>>> Anyone got a clue? Any input would be appreciated.

>>
>> REFORMAT YOUR COMPUTER AND INSTALL OPEN SOURCE LINUX UBUNTU! JUST FYI!
>> THREAD CLOSED!- Dölj citerad text -
>>
>> - Visa citerad text -

>
> Unfourtunately this didn't help me much.
>
> I hope someone will be a bit more constructive. But as I said ANY
> input is appreciated. So thanks :-)


I generally don't use filters, but I have made an exception for Kevin
John Panzke.

Just to help you interpret the post :-)

Unfortunately I don't know anything abut the problem you asked about.

--
Gene E. Bloch (Stumbling Bloch)
 
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
drwtson32.log does not contain task list and often no taskname ThorstenK Microsoft Windows 2000 0 31st Jan 2008 03:45 PM
Creating a Schedule Task in Vista with schtasks, Getting Access De =?Utf-8?B?S2FybFtVU10=?= Windows Vista General Discussion 0 20th Feb 2007 11:44 PM
Access denied ! Access Denied ! Access Denied! =?Utf-8?B?Y2hyaXNncnVudGxlZA==?= Windows Vista Administration 9 10th Jul 2006 05:04 PM
You were denied access because: Access denied by access control list. William T Bonzo Windows XP Internet Explorer 4 3rd Feb 2006 11:23 PM
System taskname with PID 8 utilising almost 100% of CPU =?Utf-8?B?U3RldmVDVw==?= Microsoft Windows 2000 2 16th Apr 2004 06:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:36 PM.