修复选择任务“{0}”不再存在错误: (Fix The select task “{0}” no longer exists error: )如果您尝试访问任务计划程序(Task Scheduler),那么您可能会遇到错误消息“所选任务“{0}”不再存在。要查看当前任务,请单击刷新。(Refresh.)” 现在,如果您继续并单击刷新(Refresh),您将再次面临相同的错误消息。主要问题是任务计划程序(Task Scheduler)在注册表编辑器(Registry Editor)中有一个任务副本,在磁盘上的任务文件中有另一个副本。如果两者不同步,那么您肯定会遇到“选择任务不再存在错误”。
在注册表中,任务存储在以下路径中:(In Registry the tasks are stored in the following path:)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
任务树存储在哪里:(Wheres Task tree is stored in:)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft
磁盘上存储的任务文件:(Task File Stored on the disk:)
C:\Windows\System32\Tasks\
现在,如果上述两个位置的任务未同步,则意味着注册表(Registry)中的任务已损坏或磁盘上的任务文件已损坏。因此,不要浪费任何时间,让我们看看如何在下面列出的故障排除指南的帮助下实际修复选择任务“{0}”不再存在错误。
修复选择任务“{0}”不再存在错误
确保 创建一个还原点(create a restore point) 以防万一出现问题。另外,备份注册表(backup of registry)并备份文件夹:
C:\Windows\System32\Tasks
此外,如果您发现修改注册表和删除文件有点复杂,那么您可以简单地修复安装 Windows 10。(Repair Install Windows 10.)
方法一:删除损坏的任务(Method 1: Delete the corrupted Task)
如果您知道损坏任务的名称,在少数情况下,您将收到(Task)任务名称(Task Name)而不是“{0}” ,这将使修复错误的过程更加简单。
为简单起见,让我们以Adobe Acrobat 更新任务(Adobe Acrobat Update Task)为例,在这种情况下会产生上述错误。
1.按 Windows 键 + R 然后键入regedit并按Enter打开注册表编辑器(Registry Editor)。
2.导航到以下注册表项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
3.在Tree键下找到Adobe Acrobat Update Task ,然后从右侧窗格中双击ID。
4.记下此示例中的GUID字符串,它是{048DE1AC-8251-4818-8E59-069DE9A37F14}。
5.现在右键单击Adobe Acrobat 更新任务(Adobe Acrobat Update Task)并选择删除。(Delete.)
6.接下来,从以下键中删除您之前记下的 GUID 字符串子键:( delete the GUID string)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Boot
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Logon
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Maintenance
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
7.接下来,从以下位置删除任务文件:(Task File)
C:\Windows\System32\Tasks
8.搜索文件Adobe Acrobat Update Task,然后右键单击它并选择删除。(Delete.)
9.重新启动您的PC,看看您是否能够 修复选择任务“{0}”不再存在错误。(Fix The select task “{0}” no longer exists error.)
方法 2:禁用磁盘碎片整理计划(Method 2: Disable Disk Defrag Schedule)
1.按 Windows 键 + R 然后键入dfrgui并按 Enter 打开磁盘碎片整理。(Disk Defragmentation.)
2.在计划优化下单击更改设置。(Change settings.)
3.现在取消选中(uncheck)“按计划运行(推荐)(Run on a schedule (recommended)) ”,然后单击“确定”。
4.单击确定并重新启动您的 PC 以保存更改。
5.如果您仍然遇到错误,请导航到以下目录:
C:\Windows\System32\Tasks\Microsoft\Windows\Defrag\
6.在Defrag文件夹下,删除ScheduledDefrag 文件。( ScheduledDefrag file.)
7.再次重新启动您的PC,看看您是否能够修复选择任务“{0}”不再存在错误。( Fix The select task “{0}” no longer exists error.)
方法 3:在资源管理器和注册表编辑器中手动同步任务(Method 3: Manually Sync Task in Explorer and Registry Editor)
1.导航到以下文件夹:
C:\Windows\System32\Tasks
2.现在按Windows Key + R然后输入regedit并回车。
3.接下来,导航到以下注册表项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\
4.现在从C:\Windows\System32\Tasks中一一复制任务(Tasks)的名称,并在注册表子项 \TaskCache\Task和TaskCacheTree 中搜索这些任务(Tasks)\TaskCache\Tree.
5.从C:\Windows\System32\Tasks目录中删除在上述注册表(Registry)项中找不到的任何任务。
6.这将同步注册表编辑器和任务文件夹中的所有任务,(sync all the task in Registry Editor and Task folder,) 重新启动您的电脑以保存更改。
方法4:在任务计划程序中找到损坏的任务(Method 4: Locate the Corrupted Task in Task Scheduler)
1.按 Windows 键 + R 然后键入Taskschd.msc并按 Enter。
2.收到错误消息后,只需单击“确定(click OK)”将其关闭。
3.您似乎一遍又一遍地收到错误消息,但这是因为已损坏的任务数量。例如,如果您收到 5 次错误消息,则表示有 5 个损坏的任务。
4.现在导航到任务计划程序中的以下位置:
Task Scheduler(Local)\Task Scheduler Library\Microsoft\Windows
5.确保展开Windows( expand Windows),然后一一选择每个任务,(select each task one by one)直到提示您选择任务“{0}”错误消息(the selected task “{0}” error message)。记下文件夹的名称。
6.现在导航到以下目录:
C:\Windows\System32\Tasks\Microsoft\Windows
7.找到您收到上述错误的同一文件夹并将其删除。它可能是单个文件或文件夹,因此请相应删除。
注意:(Note:)您将需要关闭并重新打开任务计划程序,因为一旦您遇到错误,任务计划程序(Task Scheduler)将不再显示任务。
8.现在比较任务计划程序(Task Scheduler)和任务(Task)文件夹中的文件夹,并删除可能存在于任务(Task)文件夹但不在任务计划程序(Task Scheduler)中的任何文件或文件夹。基本上(Basically),您每次遇到错误消息时都需要重复上述步骤,然后再次重新启动任务计划程序。(you need to repeat the above steps each time you encountered the error message and then again re-start Task Scheduler.)
9.重新启动您的 PC 以保存更改并查看您是否能够 修复选择任务“{0}”不再存在错误。(Fix The select task “{0}” no longer exists error.)
方法 5:删除任务注册表项(Method 5: Delete Task Registry Key)
1.首先,确保备份注册表(Registry),更具体地说是 TaskCache\Tree key.
2.按 Windows 键 + R 然后键入regedit并按Enter打开注册表编辑器(Registry Editor)。
3.导航到以下注册表项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
4.右键单击树键(Right-click on Tree key)并选择导出。(Export.)
5.选择要创建此注册表项备份的位置,然后单击保存。( Save.)
6.现在去以下位置:
C:\Windows\System32\Tasks
7.再次在此文件夹中创建所有任务的备份,(create a backup of all the task)然后再次返回注册表编辑器(Registry Editor)。
8.右键单击树( Tree)注册表项并选择删除。(Delete.)
9.如果要求确认,请select Yes/OK继续。
10.接下来,按Windows Key + R然后键入Taskschd.msc并按 Enter 打开任务计划程序。(Task Scheduler.)
11.从菜单中单击Action > Import Task.
12.一一导入所有任务,如果您觉得此过程困难,只需重新启动系统,Windows 将自动创建这些任务。(Windows will automatically create these tasks.)
方法 6:创建新用户帐户(Method 6: Create a New User Account)
1.按 Windows 键 + I 打开设置(Settings),然后单击帐户。(Accounts.)
2.单击左侧菜单中的家庭和其他人选项卡,然后单击其他人下的将其他人(Family & other people tab)添加到此PC(Add someone else to this PC)。
3.点击底部的我没有此人的登录信息( I don’t have this person’s sign-in information)。
4.选择底部的添加没有Microsoft帐户的用户。(Add a user without a Microsoft account)
5.现在输入新帐户的用户名和密码,然后单击下一步(Next)。
方法 7:修复安装 Windows 10(Method 7: Repair Install Windows 10)
这种方法是最后的手段,因为如果没有任何效果,那么这种方法肯定会修复您 PC 的所有问题。修复(Repair Install)仅使用就地升级来修复系统问题而不删除系统上存在的用户数据进行安装。因此,请按照本文查看如何轻松修复安装 Windows 10。(How to Repair Install Windows 10 Easily.)
为你推荐:(Recommended for you:)
就是这样,您已成功修复选择任务“{0}”不再存在错误(Fix The select task “{0}” no longer exists error),但如果您对本指南仍有任何疑问,请随时在评论部分询问他们。
Fix The select task "{0}" no longer exists error
Fix The select task “{0}” no longer exists error: If you are trying to access Task Scheduler then it’s possible that you may face the error message “The selected task “{0}” no longer exists. To see the current task, click Refresh.” Now if you go ahead and click Refresh you will again face the same error message. The main problem is that the Task Scheduler has a copy of tasks in Registry Editor and another copy of them in the task files on disk. If both are not in sync then you will definitely face “The select task no longer exists error”.
In Registry the tasks are stored in the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
Wheres Task tree is stored in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft
Task File Stored on the disk:
C:\Windows\System32\Tasks\
Now if the tasks in both of the above location are not synced then it means either the task in Registry got corrupted or the task files on the disk got corrupted. So without wasting any time let’s see how to actually Fix The select task “{0}” no longer exists error with the help of below-listed troubleshooting guide.
Fix The select task “{0}” no longer exists error
Make sure to create a restore point just in case something goes wrong. Also, take a backup of registry and also backup the folder:
C:\Windows\System32\Tasks
Also, if you find modifying the registry and deleting files a little complex then you could simply Repair Install Windows 10.
Method 1: Delete the corrupted Task
If you know the name of the corrupted Task, as in few cases instead of “{0}” you will receive the Task Name and it will make the process of fixing the error much more simple.
For the sake of simplicity let’s take the example of Adobe Acrobat Update Task which in this case is generating the above error.
1.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.
2.Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
3.Find the Adobe Acrobat Update Task under the Tree key than from the right window pane double-click on ID.
4.Note down the GUID string in this example it is {048DE1AC-8251-4818-8E59-069DE9A37F14}.
5.Now right-click on Adobe Acrobat Update Task and select Delete.
6.Next, delete the GUID string subkey you noted earlier, from the following keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Boot
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Logon
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Maintenance
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Plain
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
7.Next, delete the Task File from the following location:
C:\Windows\System32\Tasks
8.Search for the file Adobe Acrobat Update Task, then right-click on it and select Delete.
9.Reboot your PC and see if you’re able to Fix The select task “{0}” no longer exists error.
Method 2: Disable Disk Defrag Schedule
1.Press Windows Key + R then type dfrgui and hit Enter to open Disk Defragmentation.
2.Under Scheduled optimization click on Change settings.
3.Now uncheck “Run on a schedule (recommended)” and click OK.
4.Click OK and reboot your PC to save changes.
5.If you’re still facing the error then navigate to the following directory:
C:\Windows\System32\Tasks\Microsoft\Windows\Defrag\
6.Under the Defrag folder, delete the ScheduledDefrag file.
7.Again reboot your PC and see if you’re able to Fix The select task “{0}” no longer exists error.
Method 3: Manually Sync Task in Explorer and Registry Editor
1.Navigate to the following folder:
C:\Windows\System32\Tasks
2.Now press Windows Key + R then type regedit and hit Enter.
3.Next, navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\
4.Now one by one copy the name of the Tasks from C:\Windows\System32\Tasks and search for these Tasks in the registry subkey \TaskCache\Task and \TaskCache\Tree.
5.Delete any task from the C:\Windows\System32\Tasks directory which is not found in the above Registry key.
6.This will sync all the task in Registry Editor and Task folder, reboot your PC to save changes.
Method 4: Locate the Corrupted Task in Task Scheduler
1.Press Windows Key + R then type Taskschd.msc and hit Enter.
2.Once you receive the error message simply click OK to close it.
3.It may seem like you are receiving the error message over and over, but it’s because of the number of tasks which are corrupted. For example, if you receive the error message for 5 times then it means there are 5 corrupted task.
4.Now navigate to the following location in task scheduler:
Task Scheduler(Local)\Task Scheduler Library\Microsoft\Windows
5.Make sure to expand Windows then select each task one by one until you are prompted with the selected task “{0}” error message. Take a note of the name of the folder.
6.Now navigate to the following directory:
C:\Windows\System32\Tasks\Microsoft\Windows
7.Find the same folder under which you receive the above error and delete it. It may be a single file or a folder, so delete accordingly.
Note: You will need to close and re-open tasks scheduler as Task Scheduler no longer display the tasks once you encountered the error.
8.Now compare the folders inside Task Scheduler and Task folder, and delete any file or folder which may be present in Task folder but not in Task Scheduler. Basically, you need to repeat the above steps each time you encountered the error message and then again re-start Task Scheduler.
9.Reboot your PC to save changes and see if you’re able to Fix The select task “{0}” no longer exists error.
Method 5: Delete Task Registry Key
1.First, makes sure to back Registry and more specifically TaskCache\Tree key.
2.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.
3.Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
4.Right-click on Tree key and select Export.
5.Select the location where you want to create a backup of this reg key and click Save.
6.Now go the following location:
C:\Windows\System32\Tasks
7.Again create a backup of all the task in this folder and then again go back to Registry Editor.
8.Right-click on Tree registry key and select Delete.
9.If it asks for confirmation select Yes/OK to continue.
10.Next, press Windows Key + R then type Taskschd.msc and hit Enter to open Task Scheduler.
11.From the Menu click on Action > Import Task.
12.Import all the task one by one and if you find this process difficult then simply restart your system and Windows will automatically create these tasks.
Method 6: Create a New User Account
1.Press Windows Key + I to open Settings and then click Accounts.
2.Click on Family & other people tab in the left-hand menu and click Add someone else to this PC under Other people.
3.Click I don’t have this person’s sign-in information in the bottom.
4.Select Add a user without a Microsoft account in the bottom.
5.Now type the username and password for the new account and click Next.
Method 7: Repair Install Windows 10
This method is the last resort because if nothing works out then this method will surely repair all problems with your PC. Repair Install just using an in-place upgrade to repair issues with the system without deleting user data present on the system. So follow this article to see How to Repair Install Windows 10 Easily.
Recommended for you:
That’s it you have successfully Fix The select task “{0}” no longer exists error but if you still have any question regarding this guide then feel free to ask them in the comment’s section.