none
open task scheduler got error RRS feed

  • 问题

  • ---------------------------
    Task Scheduler
    ---------------------------
    Task ServerCeipAssistant: The task XML contains a value which is incorrectly formatted or out of range.
    ---------------------------
    OK   
    ---------------------------

    ---------------------------
    Task Scheduler
    ---------------------------
    Task License Validation: The task XML contains an unexpected node.
    ---------------------------
    OK   
    ---------------------------


    thank you

    2013年7月19日 0:49

答案

  • Hi,

    Task scheduled for ‘Software Protection Service’ might have gone corrupt. So Action plan to recreate the task:

    Step 1: Locate the corrupted task references in the registry and in Task Scheduler
    To do this, follow these steps: 
    1.  Open Task Scheduler.  
    2.  Expand Task Scheduler Library tree in the left pane, and located 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.  
    3.  Locate the registry sub-key that corresponds to the corrupted task in one of the following registry sub-key. You can locate the subkey by searching for the name of the task: 
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree 
    Click the registry sub-key that corresponds to the corrupted task, and then make a note of the GUID value in the "Id" entry. For example, {2911FBBD-A0AA-4A79-A8EE-84EF7555A71B}. You will need this information in the next step of this procedure.  
    4.  Locate the registry sub-key that corresponds to the corrupted task in one of the following registry three sub-keys. To locate this sub-key, search for the GUID value that you noted in the previous step. For example, {2911FBBD-A0AA-4A79-A8EE-84EF7555A71B}. The task will exist in only one of the three locations: 
    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 
    Make a note of the registry location of the corrupted task. You will need this information later in this procedure.  

    Step 2: Create a temporary copy of the corrupted task file
    To do this, follow these steps: 
    1.  Open the following folder in Windows Explorer: %SYSTEMDRIVE%\Windows\System32\Tasks\<Corrupted_Task_Name>
    2.  Locate and then copy the task file that corresponds to the corrupted task to a temporary location.  

    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).  
    2.  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  
    3.  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  
    4.  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: 
    1.  Open Task Scheduler.  
    2.  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.  
    3.  Right-click the folder that previously contained the corrupted task, and then click Import Task.  
    4.  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>

    Hope this helps.


    微软一站式示例脚本库: http://blogs.technet.com/b/onescript

    • 已标记为答案 SECO.Wu 2013年7月20日 3:47
    2013年7月19日 8:46
    版主

全部回复

  • more pictures here

    thank you

    2013年7月19日 0:55
  • runing tasks

    thank you

    2013年7月19日 0:55
  • and in the event viewer,also got these error:

    Failed to schedule Software Protection service for re-start at 2013-07-19T04:51:53Z. Error Code: 0x80070002.


    thank you

    2013年7月19日 2:37
  • Hi,

    Task scheduled for ‘Software Protection Service’ might have gone corrupt. So Action plan to recreate the task:

    Step 1: Locate the corrupted task references in the registry and in Task Scheduler
    To do this, follow these steps: 
    1.  Open Task Scheduler.  
    2.  Expand Task Scheduler Library tree in the left pane, and located 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.  
    3.  Locate the registry sub-key that corresponds to the corrupted task in one of the following registry sub-key. You can locate the subkey by searching for the name of the task: 
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree 
    Click the registry sub-key that corresponds to the corrupted task, and then make a note of the GUID value in the "Id" entry. For example, {2911FBBD-A0AA-4A79-A8EE-84EF7555A71B}. You will need this information in the next step of this procedure.  
    4.  Locate the registry sub-key that corresponds to the corrupted task in one of the following registry three sub-keys. To locate this sub-key, search for the GUID value that you noted in the previous step. For example, {2911FBBD-A0AA-4A79-A8EE-84EF7555A71B}. The task will exist in only one of the three locations: 
    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 
    Make a note of the registry location of the corrupted task. You will need this information later in this procedure.  

    Step 2: Create a temporary copy of the corrupted task file
    To do this, follow these steps: 
    1.  Open the following folder in Windows Explorer: %SYSTEMDRIVE%\Windows\System32\Tasks\<Corrupted_Task_Name>
    2.  Locate and then copy the task file that corresponds to the corrupted task to a temporary location.  

    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).  
    2.  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  
    3.  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  
    4.  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: 
    1.  Open Task Scheduler.  
    2.  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.  
    3.  Right-click the folder that previously contained the corrupted task, and then click Import Task.  
    4.  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>

    Hope this helps.


    微软一站式示例脚本库: http://blogs.technet.com/b/onescript

    • 已标记为答案 SECO.Wu 2013年7月20日 3:47
    2013年7月19日 8:46
    版主
  • thank you very much.

    But when I try click every folder but not found the corrupted task.

    Every task seems run well.

    So I delete the value all under the  "tree",and run task schedule not got error.

    But the big problem comes,

    1.how can i restore the default task?

    2.the sppsvc still got error:Failed to schedule Software Protection service for re-start at 2013-07-19T04:51:53Z. Error Code: 0x80070002.


    thank you


    • 已编辑 SECO.Wu 2013年7月20日 3:54 more
    2013年7月20日 3:50