Solved

Can't Find Scheduled Task

Posted on 2016-09-16
10
40 Views
Last Modified: 2016-09-19
Windows 7 Professional. When I open Task Scheduler I get the error "An error has occurred for task UpdateCheck_SID. The specified account name is not valid".

I cannot find this task to delete it. How can I find and delete it?
0
Comment
Question by:LockDown32
10 Comments
 
LVL 53

Accepted Solution

by:
McKnife earned 250 total points
Comment Utility
0
 
LVL 16

Assisted Solution

by:Michael Ortega (Internetwerx, Inc.)
Michael Ortega (Internetwerx, Inc.) earned 125 total points
Comment Utility
There are lot of applications nowadays that configure scheduled tasks for updating. Perhaps check all the programs you have installed and remove some non-essentials. You can always reinstall them.

I would start with Adobe applications, Google applications, web meeting type applications, etc.

MO
0
 
LVL 15

Author Comment

by:LockDown32
Comment Utility
Surely there has to be a better way. The error made sense. The user that the task was set to run under was deleted hence the error. Why couldn't I find the task UpdateCheck?

I went in to the registry and found it by searching for "UpdateCheck". Deleted it. Then when I went in to Task Scheduler I got the error "UpdateCheck" no longer exists. So at that point I had to go back in to the registry and delete the folder it belonged to. A lot of work. I don't think anything was corrupt. I just couldn't find the task (other then in the registry).
0
 
LVL 51

Assisted Solution

by:Joe Winograd, EE MVE
Joe Winograd, EE MVE earned 125 total points
Comment Utility
Scheduled tasks are XML files stored here in W7 Pro:
c:\Windows\System32\Tasks\

You'll get an access-denied dialog on it, which will vary depending on what file manager you use. Here's what it is with Windows Explorer:

Tasks WE
Here's what it is with Total Commander:

Tasks TC
In any case, tell it to proceed, and do the same if you get the UAC prompt. There's no file extension on the tasks, but if you copy one to a temp location and give it a .TXT extension, you can open it in Notepad and see the XML code. Anyway, you should be able to easily find the UpdateCheck_SID task, as that will be the file name. Simply delete it, then do a Refresh in Task Scheduler and it should be gone. Btw, the same problem occurs if the machine name has changed since the task was created — you'll see in the XML that it contains "MachineName\UserName" references. Regards, Joe
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
The user wasn't the problem. The task was corrupt. I described how to delete it and that is the correct and only way.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
> that is the correct and only way

Very glad to have your opinion on that, but I've had no problems deleting the XML files that are the scheduled tasks, as described in my post. It may not work in this case for the asker, but I think it's a good first step to try. If deleting the XML file doesn't fix the problem, then it's time for more aggressive methods, such as modifying the registry. Regards, Joe
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
Hi Joe. Yours works for xp. Since vista, registry modifications are needed as well.
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
Hi McKnife,
I just did it on a W7 Pro 64-bit system and it seemed to work fine. In this case, the problem was that the machine name had changed since the task was created and when I went to disable it, I received these dialogs:

tserr1tserr2
I then deleted the file:
c:\Windows\System32\Tasks\JW\Exit Outlook and TBird

All seems well now and Task Scheduler no longer shows the task. Do you think there are lingering issues in the registry related to this now-deleted task? Cheers, Joe
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
Definitely. Deleting only the XML files can make Task Scheduler stop completely (no more Tasks executed). We had some problems with Task Scheduler due to bugs on vista that made me investigate this very thoroughly. Sometimes these error don't even show when starting scheduler, but only when browsing through task libraries subfolders.
Vista on up have a new task scheduler that uses the registry differently (at the moment, I am not even sure, if xp used the reg. at all). On xp, it was ok to just delete the xml file of the task.
1
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
Thanks — very interesting!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

After playing around with my ASUS 1215n (http://www.asus.de/product.aspx?P_ID=HrglRhH8D60Rmlv3) Netbook, I finally managed to get smooth HD 1080p (http://en.wikipedia.org/wiki/1080p) playback of videos on it. Second Generation Intel Atom (http://en.…
So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now