2
I am using Windows 7 as a user without admin privileges (with no chance to change this situation). I have quite a long list of tasks, which are actively managed (I'm adding, deleting and rescheduling them permanently). Each of them indicates a .bat file, which contain further instructions.
At the moment I have three tasks, which cannot be deleted, even though all of them have been created by me, using exactly the same user, exactly the same rights and one of them I tried to delete for a first time a few minutes after it had been created.
I'm trying both Task Manager and a proper schtasks command in CMD. The result is always "access denied" (CMD) or "user account have no privileges to remove the task" (TM). I was able to disable them, but I'd like to remove them from the list of tasks.
The problem occurs for these three tasks only. What is important here - all of my tasks have generally the same structure and properties. Most of them are being deleted without any problem. I cannot see any difference between the mentioned ones, which cannot be removed.
Microsoft Windows [Wersja 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.C:\Users\username>schtasks /Delete /tn "zzz_2015" /F
ERROR: Access denied.
Are the tasks running at the time you tried to delete them? – DavidPostill – 2016-01-18T11:32:10.653
Is it possible the tasks somehow got modified by a different/while having administrative privileges, and a flag was set requiring administrative privileges? – LPChip – 2016-01-18T11:33:03.120
@DavidPostill nope, nothing like that. One of tchem has been executed properly a few times, one of tchem has been executed once with error and one of tchem has been never executed. At the moment all of them are disabled and not active. – kurp – 2016-01-18T11:34:34.217
@LPChip no such option. One of the tasks has been created by mistake and I tried to remove a few minutes later. Also no automatic changes, I suppose, because, please, note that in most of cases I have no such problem with deleting other tasks. – kurp – 2016-01-18T11:37:10.583
Hi, any progress on this issue? – Miha Trošt – 2018-04-11T14:55:13.597
@MihaTrošt - nope. I've changed PC and problem never returned. But my colegues still have some tasks hanging, which were created by them, but for some reason cannot be deleted - so the problem does exist and still waits for the solution... – kurp – 2018-04-11T18:46:33.877
@kurp, it happened to me today out of nowhere. Your friends should upvote your question, it might get more attention, and possibly a solution. – Miha Trošt – 2018-04-11T19:24:31.050
@MihaTrošt, could you, please, check the solution provided by BerndH below? – kurp – 2018-04-13T18:10:52.047