Windows, Operating System, Security, Networking, Malware, Support, Forum, Help Site Check Our Facebook Page!
Notices
Windows 7 Post your Windows 7 related questions here.


Register your FREE account to unlock additional features at WindowsBBS.com
   
 
 
LinkBack Thread Tools
Old 4th June 2012   #1
Senior Member
THREAD STARTER
Lifetime Subscription
 
Lugwalker's Avatar
 
Profile:
Join Date: Jan 2002
Location: Dublin. Ireland
Posts: 469
Computer Experience:
Intermediate
Lugwalker Reputation Level

My System

Task image is corrupt or has been tampered with


My laptop is using Win 7 (64-bit).

I decided recently to schedule a task and went into the Task Scheduler. When it opened the first message which popped up was 'Task Sr: The task image is corrupt or has been tampered with.'

This is the first time that I've attempted to manually schedule a task, though I see that 42 other active tasks are listed in the scheduler.

Would anyone have any suggestions as to how to resolve this issue?

Thank you.

Lugwalker is offline  

 

Register
to remove this ad.
 
 

Old 4th June 2012   #2
Administrator
Microsoft MVP
 
Arie's Avatar
 
Profile:
Join Date: Dec 2001
Location: Birkirkara, Malta
Posts: 14,240
Computer Experience:
***
Arie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation Level

My System
Go to this Knowledge Base Article: Vulnerability in Task Scheduler could allow for elevation of privilege

You can skip all information given, you just need to apply the same steps as listed below Known issue 2

Arie is offline  

Did you find this post helpful? Yes | No
Old 4th June 2012   #3
Senior Member
THREAD STARTER
Lifetime Subscription
 
Lugwalker's Avatar
 
Profile:
Join Date: Jan 2002
Location: Dublin. Ireland
Posts: 469
Computer Experience:
Intermediate
Lugwalker Reputation Level

My System
First of all I deleted the scheduled task which I had added initially despite getting the message that the Task Image was corrupt when opening the Task Scheduler. I then re-opened the task scheduler but still received the warning message.

I then did the following:

"Expand Task Scheduler Library tree in the left pane, and locate the folder that contains the corrupted task. Make a note of the location of the corrupted task. You will need this information later in this procedure."

There's a list of 42 tasks there. How am I to know which task is corrupted?

Also, regarding this issue:

"After you upgrade from Windows Vista or Windows Server 2008 to Windows 7 or Windows Server 2008 R2 by using an installation package that includes this security update (KB2305420), you may find that scheduled tasks do not work correctly. For example, you may receive an error message that resembles the following when you open Task Scheduler: This task image is corrupt or has been tampered with."

This laptop is a relatively new machine which has always had Windows 7 and has not been upgraded from Windows Vista or anything else. So would the instructions apply to my machine?

Lugwalker is offline  

Did you find this post helpful? Yes | No
Old 4th June 2012   #4
Administrator
Microsoft MVP
 
Arie's Avatar
 
Profile:
Join Date: Dec 2001
Location: Birkirkara, Malta
Posts: 14,240
Computer Experience:
***
Arie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation Level

My System
Originally Posted by Lugwalker View Post
Also, regarding this issue:

"After you upgrade from Windows Vista or Windows Server 2008 to Windows 7 or Windows Server 2008 R2

So would the instructions apply to my machine?
As I posted:
Quote:
You can skip all information given, you just need to apply the same steps as listed below Known issue 2

Arie is offline  

Did you find this post helpful? Yes | No
Old 4th June 2012   #5
Administrator
Microsoft MVP
 
Arie's Avatar
 
Profile:
Join Date: Dec 2001
Location: Birkirkara, Malta
Posts: 14,240
Computer Experience:
***
Arie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation Level

My System
Originally Posted by Lugwalker View Post
There's a list of 42 tasks there. How am I to know which task is corrupted?
From the error message you receive?

Usually it is something like:

Quote:
The task image is corrupt or has been tampered with.ScheduledDefrag
So in this case the culprit is the ScheduledDefrag task.

Seems in your case it is the SystemRestore task.

Open C:\Windows\System32\Tasks\Microsoft\Windows\SystemRestore an delete the SR file.

Arie is offline  

Did you find this post helpful? Yes | No
Old 4th June 2012   #6
Senior Member
THREAD STARTER
Lifetime Subscription
 
Lugwalker's Avatar
 
Profile:
Join Date: Jan 2002
Location: Dublin. Ireland
Posts: 469
Computer Experience:
Intermediate
Lugwalker Reputation Level

My System
So, after deleting and saving a backup of the SR file I'm istructed thus:

Step 3: Clean up the corrupted task. To do this, follow these steps:

1.Delete the task file that corresponds to the corrupted task from the Tasks folder (%SYSTEMDRIVE%\Windows\System32\Tasks). Would this be advsrs5?

Lugwalker is offline  

Did you find this post helpful? Yes | No
Old 5th June 2012   #7
Administrator
Microsoft MVP
 
Arie's Avatar
 
Profile:
Join Date: Dec 2001
Location: Birkirkara, Malta
Posts: 14,240
Computer Experience:
***
Arie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation LevelArie Reputation Level

My System
No, AFAIK there's nothing else related to this task.

Arie is offline  

Did you find this post helpful? Yes | No
Old 5th June 2012   #8
Senior Member
THREAD STARTER
Lifetime Subscription
 
Lugwalker's Avatar
 
Profile:
Join Date: Jan 2002
Location: Dublin. Ireland
Posts: 469
Computer Experience:
Intermediate
Lugwalker Reputation Level

My System
So, just delete the SR file - and that's it? The following seems to indicate that after deleting the SR file you need to go back into the registry to delete the keys relating to the task, then import the deleted (and saved) SR file back into the folder in the Task Scheduler Library Tree. Am I correct?

Step 3: Clean up the corrupted task

To do this, follow these steps:
Delete the task file that corresponds to the corrupted task from the Tasks folder (%SYSTEMDRIVE%\Windows\System32\Tasks).
Delete the registry sub-key that corresponds to the corrupted task from the following registry sub-key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
Delete the registry sub-key that corresponds to the corrupted task from the following registry sub-key. The task will be in GUID format. For example, {2911FBBD-A0AA-4A79-A8EE-84EF7555A71B}.

Note Refer to the note that you made earlier in this procedure to locate the registry folder.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
Delete the registry sub-key that corresponds to the corrupted task from one of the following registry three sub-keys. The task will exist in only one of the three locations and will be in GUID format. For example, {2911FBBD-A0AA-4A79-A8EE-84EF7555A71B}.

Note Refer to the note that you made earlier in this procedure to locate the registry folder.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain
Or:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Logon
Or:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Boot

Step 4: Re-create the task by using the temporary backed-up copy

To do this, follow these steps: To do this, follow these steps:
Open Task Scheduler.
Expand Task Scheduler Library tree in the left pane, and open the folder that previously contained the corrupted task.

Note Refer to the note that you made earlier in this procedure to locate the folder.
Right-click the folder that previously contained the corrupted task, and then click Import Task.
In the Open dialog box, select All files (*.*). Browse to the temporary folder that contains the backed up task file, and then select the task file. Click Open. The new task is created and is visible in Task Scheduler.

Or, you can use the following command line command to restore the backed-up task:
Schtasks.exe /CREATE /TN <New_Task_Name> /XML <Xml_File_Name>

Lugwalker is offline  

Did you find this post helpful? Yes | No
Old 5th June 2012   #9
Administrator
 
Admin.'s Avatar
 
Profile:
Join Date: Dec 2001
Location: 35⁰ 53'55.1" N, 14⁰ 28'37.5" E
Posts: 5,962
Computer Experience:
***
Admin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation LevelAdmin. Reputation Level

My System
Well, if you know what to do, feel free to do so.... I have no other comments then the ones I made.

Admin. is offline  

Did you find this post helpful? Yes | No

Having problems with your computer? Does it crash or freeze? Is your pc slow? Our technicians can identify any issues and fix your PC quickly and reliably.

 

THIS THREAD HAS EXPIRED.

Are you having the same problem? Please post a new thread, but first you'll have to join us by Registering (FREE).



Discussion Forums
Operating Systems
Windows 8 Windows 8
Windows 7 Windows 7
Windows Vista Windows Vista
Windows XP Windows XP
Windows Server System Windows Server System
Legacy Windows OS Legacy Windows OS
Internet & Networking
Networking (Hardware & Software) Networking
Internet Explorer Internet Explorer
Microsoft Mail Microsoft Mail
Firefox, Thunderbird & SeaMonkey Firefox, Thunderbird
      & SeaMonkey

Web Applications & Cloud Web Applications & Cloud
General Internet
Security
Malware and Virus Removal Malware and Virus
     Removal

Security and Privacy Security and Privacy

Other
Other PC Software Other PC Software
Test Posts Test Posts
Hardware
PC Hardware PC Hardware
Mobile Devices Mobile Devices
Community
Introductions Introductions
General Discussions General Discussions
Site Comments & Suggestions Site Comments
      & Suggestions

News News @ WindowsBBS

Thread Tools


Find us on Facebook   Web Of Trust Rating

All times are GMT. The time now is 09:49.


Recent Discussions
Computer Slow to Boot and Files Cor.. (16)
MS expected to unveil Win 9 on Sept.. (3)
Window Live Mail error, now cannot .. (4)
Invalid IP address error, fixed but.. (2)
[Cannot open Standard User, open wo.. (1)
[Which] windows server 2012 edition.. (1)
Impact of defrag command on SSD? (6)
Excel Macro help (2)
What is giveio.sys and how to get r.. (31)
Need shortcut/hotkey for MSDOS and .. (3)
My Passport Back Up and Remove data (2)
Brother QL500 labelmaker (3)
Extremely Slow File moving/copying/.. (10)
How do I stop Windows Explorer pers.. (11)
IE opens, then shuts down immediate.. (12)
Microsoft July 2014 Security Bullet.. (1)
Microsoft August 2014 Security Bull.. (1)
Internet connection lost in sleep m.. (9)
Block/Phishing scam (9)
IE slowed by latest updates. Fix av.. (0)


Donate!
Support Windows BBS!



Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright 2002 - 2013 WindowsBBS.com. All rights reserved.
FDMA Media LLC
Terms of Use, Legal Information & Privacy Policy
Page generated in 0.12063 seconds with 7 queries