Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: task backgroundconfigsurveyor:The task image is corrupt


11 Dec 2011   #11

Windows 7 Professional (64 bit)
 
 

I've attached the copy I found on my computer. I had to change the extension to .txt (from no extension) so the forum would allow me to upload it.



Attached Files
File Type: txt BackgroundConfigSurveyor.txt (2.8 KB, 158 views)
My System SpecsSystem Spec
.

17 Jan 2012   #12

Windows Home Premium 64 bit
 
 

Hey all on this thread. It's now January 2012 and Idolon's instructions fixed it for me also
My System SpecsSystem Spec
15 Jun 2012   #13

Windows 7 Ultimate x64
 
 

Just used this description to solve the same problem. I would recommend to terminate Task Scheduler after completion and to restart once more in order to be sure, that the problem has really gone.

Well done Idolon! Very good description!
My System SpecsSystem Spec
.


15 Jun 2012   #14

Windows 7 Ultimate x64
 
 

Hmmm, just checked my Registry as I was looking for a second problem of the same type.

I was very astonished to see no BackgroundConfigSurveyor key in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\PerfTrack. Is that ok? Nor do I find the deleted Id value in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain!

=====

Edit:
I looked at this again. I can not confirm there were really no entries in the registry. But sure the task does not show up in the Task Scheduler Library\Microsoft\Windows\PerfTrack and I could not import the task again!

I went to the registry and started all over. I found the following:
- the tasks looks perfect when I import it before I press OK (forward reference to next step: It does show the name 'BackgroundConfigSurveyor' in the name field)
- when I press OK, the tasks gets created in the the center pane but it does not get a name. The field will be empty!
- as soon as I leave the Task Scheduler and restart it again, I will find the center pane for PerfTrack empty
- if I try to import the task again I will get the message: "An error has occurred for task BackgroundConfigSurveyor. Error message: A task or folder with this name already exists." I verfied this: BackgroundConfigSurveyor really exists in C:\Windows\System32\Tasks\Microsoft\Windows\PerfTrack
- I had a look at the saved 'BackgroundConfigSurveyor'-file. Interestingly the header is different from Idalon's file (see first post on this page)
Code:
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
- I looked at the same file on my Notebook. This file is identical to Idalon's-file! I took a copy of it and moved it to my desktop. Reinstalled it in 'Task Scheduler'. Interestingly it created a task named according to it's filename. Grrr.
- Removed the task again using Idalon's description
- Renamed the Copy of the 'BackgroundConfigSurveyor'-file to 'BackgroundConfigSurveyor'. Imported this taks into Task Scheduler again. Again this file looks perfect before I press OK. Again it will loose the name as soon as I press OK and vanish as soon as I restart the Task Scheduler!
- I removed the whole stuff again. Ran 'sfc /verifyonly'. No errors!
- I exported 'BackgroundConfigSurveyor' from my Notebook (right-click on the task 'BackgroundConfigSurveyor' offers an 'Export...'. I compared the exported file against the copied one from C:\Windows\System32\Tasks\Microsoft\Windows\PerfTrack. They are different! However importing this file led again to the same problems!

Now I wonder:
1) Should I ask the 'BackgroundConfigSurveyor'-task just using an other name? I can add a task 'BackgroundConfigSurveyor1' without problems. It will keep its name and it will not vanish as soon as I close the Task Scheduler!
2) Maybe all this is not important at all! The history on my Notebook shows 'BackgroundConfigSurveyor' never ran! So maybe the big benefit from Idalon's solution is, that we no longer get the 'Task BackgroundConfigSurveyor: The task image is corrupt or has been tampered with.' message...
Does anyone know what 'PerfMon' and 'BackgroundConfigSurveyor' do?

And before you ask: Yes I did run Task Scheduler with 'Run as Admin...' and to make sure I'll be testing this once more with the Adminstrator account as soon as I have published this.

I attached a screenshot and a copy of 'BackgroundConfigSurveyor' created by teh Export.... Note: this file must be named 'BackgroundConfigSurveyor.xml'. I had to change the extension to .xml.txt so the forum would allow me to upload it.


Attached Thumbnails
task backgroundconfigsurveyor:The task image is corrupt-2012-06-15_11-08-18-193.png  
Attached Files
File Type: txt BackgroundConfigSurveyor.xml.txt (4.0 KB, 27 views)
My System SpecsSystem Spec
18 Jun 2012   #15

Windows 7 Ultimate x64
 
 

Yuppeee! To my greatest surprise I found today when rechecking my Task Scheduler:
- the name of the task s now visible
- the task does run every night

So just follow the instruction and be not concerned about anomalities, but go sleep :-)

Seems like my 3 hour testing last week was all in vain. Curse MS!
My System SpecsSystem Spec
27 Nov 2012   #16

Windows 7 Home Premium x64 SP1
 
 

Quote   Quote: Originally Posted by Idolon View Post
I had the same problem and I think I've fixed it. At least on my computer, the task image seemed completely fine. I just had to trick Windows into recognizing it again. Here's what I did:
  1. Navigate to C:\Windows\System32\Tasks\Microsoft\Windows\PerfTrack and copy BackgroundConfigSurveyor to a backup location.
  2. Open regedit, find HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\PerfTrack, right click it and export it to a backup location. Do the same for HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain. If something goes wrong, you can import these files to undo your changes.
  3. Go back to the ...\PerfTrack registry key and look at the BackgroundConfigSurveyor key inside it. It should contain a string called Id. The value for Id should be a big hexadecimal number inside curly braces. Find the key with the same name as this value inside ...\TaskCache\Plain and delete it.
  4. Delete the BackgroundConfigSurveyor key inside ...\PerfTrack
  5. Open Task Scheduler and the error should be gone.

Now, to rebuild the task:
  1. Inside Task Scheduler, navigate to Task Scheduler Library\Microsoft\Windows\PerfTrack. There should be no tasks in the center pane.
  2. Right click the empty space in the center pane and choose Import Task...
  3. In the Open dialog, change XML files (*.xml) in the bottom right to All files (*.*)
  4. Find and import the BackgroundConfigSurveyor file you backed up at the beginning.
  5. A properties window should come up. Click OK.

If that doesn't work and you have another Windows 7 installation, try copying the uncorrupted BackgroundConfigSurveyor file from it.
I've recently had this issue (probably because of a system crash).
Thanks a lot! This solution worked fine.
My .xml was a bit different in the first lines (Windows 7 SP1 x64 ITA) but identical for the rest. See attached.

More infos about Perftrack, for those interested (quite a useful feature indeed): David Fields and Bill Karagounis&#58; Inside Windows 7 - Reliability, Performance and PerfTrack | Charles | Channel 9


Attached Files
File Type: zip BackgroundConfigSurveyor.zip (1,005 Bytes, 13 views)
My System SpecsSystem Spec
29 Nov 2012   #17

Windows 7 Pro x64
 
 

Thanks, Idolon. Your instructions were great - clear, concise, and complete. They worked! :-)
My System SpecsSystem Spec
14 Dec 2013   #18

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by Idolon View Post
I had the same problem and I think I've fixed it. At least on my computer, the task image seemed completely fine. I just had to trick Windows into recognizing it again. Here's what I did:
  1. Navigate to C:\Windows\System32\Tasks\Microsoft\Windows\PerfTrack and copy BackgroundConfigSurveyor to a backup location.
  2. Open regedit, find HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\PerfTrack, right click it and export it to a backup location. Do the same for HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain. If something goes wrong, you can import these files to undo your changes.
  3. Go back to the ...\PerfTrack registry key and look at the BackgroundConfigSurveyor key inside it. It should contain a string called Id. The value for Id should be a big hexadecimal number inside curly braces. Find the key with the same name as this value inside ...\TaskCache\Plain and delete it.
  4. Delete the BackgroundConfigSurveyor key inside ...\PerfTrack
  5. Open Task Scheduler and the error should be gone.

Now, to rebuild the task:
  1. Inside Task Scheduler, navigate to Task Scheduler Library\Microsoft\Windows\PerfTrack. There should be no tasks in the center pane.
  2. Right click the empty space in the center pane and choose Import Task...
  3. In the Open dialog, change XML files (*.xml) in the bottom right to All files (*.*)
  4. Find and import the BackgroundConfigSurveyor file you backed up at the beginning.
  5. A properties window should come up. Click OK.
If that doesn't work and you have another Windows 7 installation, try copying the uncorrupted BackgroundConfigSurveyor file from it.

Hello!
I followed the above procedure step by step but whenever I try to rebuild the task inside Task Scheduler, an error message windows popups telling me that a task or folder with the same name already exists.
However there are not tasks in the center pane: any idea on how can I solve this annoying issue?
Thanks in advance.
My System SpecsSystem Spec
15 Dec 2013   #19

Windows 7 Professional (64 bit)
 
 

Maybe it's complaining about the BackgroundConfigSurveyor file still existing at C:\Windows\System32\Tasks\Microsoft\Windows\PerfTrack ? If it still exists there, try moving elsewhere it before re-importing it.
My System SpecsSystem Spec
16 Dec 2013   #20

Windows 7 Ultimate 32bit
 
 

Hi!
Thank you very much for your reply!
Yes that file is there: so can I DELETE it?
But if I had this problem it means that the file (BackgroundConfigSurveyor) was corrupted: is that right?
So how can I solve this issue if I import that file, I had previously backed up, again in my system?
And have you ever tried this FREE tool?

Fix My Task Scheduler Free Download

I've used it today and it has apparently fixed one issue, without telling me which one though.
My System SpecsSystem Spec
Reply

 task backgroundconfigsurveyor:The task image is corrupt




Thread Tools



Similar help and support threads for2: task backgroundconfigsurveyor:The task image is corrupt
Thread Forum
Solved Task Manager Corrupt General Discussion
the task image is corrupt or has been tampered with General Discussion
task svc restart task windows 7 corrupt or tampered with .. General Discussion
task manager corrupt? System Security
Solved Task Scheduler Corrupt General Discussion
TASK sr the task image is corrupt or it has been tampered with BSOD Help and Support
User_Feed_Synchronization the task image is corrupt or has been tamper General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:16 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33