Sửa lỗi The select task “{0}” no longer exists: Khi mở Task Scheduler, bạn có thể gặp thông báo “The selected task “{0}” no longer exists. To see the current task, click Refresh.” Nhấn Refresh vẫn báo lỗi. Nguyên nhân: Task Scheduler lưu bản sao task trong Registry và file task trên ổ cứng. Nếu hai nơi không đồng bộ (task trong Registry hỏng hoặc file task trên ổ cứng hỏng) thì lỗi xuất hiện.
Vị trí task trong Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
Task tree trong Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft
File task trên ổ cứng:
C:\Windows\System32\Tasks\
Hãy cùng khắc phục lỗi The select task “{0}” no longer exists với các phương pháp dưới đây.
Sửa lỗi The select task “{0}” no longer exists
Tạo restore point. Backup Registry và thư mục C:\Windows\System32\Tasks. Nếu thao tác Registry/xóa file phức tạp, có thể Repair Install Windows 10.
Phương pháp 1: Xóa Task bị hỏng (nếu biết tên)
Ví dụ task Adobe Acrobat Update Task gây lỗi.
- Windows + R →
regedit. - Đến:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree - Tìm Adobe Acrobat Update Task → double-click ID → ghi nhớ GUID (ví dụ: {048DE1AC-8251-4818-8E59-069DE9A37F14}).
- Chuột phải Adobe Acrobat Update Task → Delete.
- Xóa subkey GUID đó trong các khóa sau:
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 - Xóa file task tại C:\Windows\System32\Tasks (tìm file Adobe Acrobat Update Task → Delete).
- Reboot và kiểm tra.
Phương pháp 2: Tắt lịch desfragment ổ đĩa
- Windows + R →
dfrguimở Disk Defragmentation. - Dưới “Scheduled optimization” chọn Change settings.
- Bỏ tích “Run on a schedule (recommended)” → OK.
- OK và reboot.
- Nếu vẫn lỗi, đến thư mục:
C:\Windows\System32\Tasks\Microsoft\Windows\Defrag\ - Xóa file ScheduledDefrag.
- Reboot và kiểm tra.
Phương pháp 3: Đồng bộ thủ công Task giữa Explorer và Registry
- Mở thư mục
C:\Windows\System32\Tasks. - Mở Registry (Windows + R →
regedit). - Đến khóa:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\ - Copy tên từng task từ thư mục Tasks, tìm trong Registry subkey \TaskCache\Task và \TaskCache\Tree.
- Xóa bất kỳ task nào trong
C:\Windows\System32\Tasksmà không tìm thấy trong Registry. - Đồng bộ xong, reboot.
Phương pháp 4: Xác định Task hỏng trong Task Scheduler
- Windows + R →
Taskschd.msc. - Khi báo lỗi, nhấn OK để đóng.
- Số lần báo lỗi = số task hỏng (ví dụ 5 lần = 5 task hỏng).
- Đến:
Task Scheduler(Local)\Task Scheduler Library\Microsoft\Windows - Mở rộng Windows, chọn từng task cho đến khi gặp lỗi “selected task {0}”. Ghi nhớ tên thư mục.
- Đến thư mục:
C:\Windows\System32\Tasks\Microsoft\Windows - Tìm cùng thư mục đó và xóa (file hoặc thư mục).
- Lưu ý: Phải đóng/mở lại Task Scheduler sau mỗi lần xóa.
- So sánh thư mục Task Scheduler và Task folder, xóa file/folder có ở Task folder mà không có ở Task Scheduler. Lặp lại cho đến khi không còn lỗi.
- Reboot.
Phương pháp 5: Xóa khóa Registry Task
- Backup Registry, đặc biệt khóa TaskCache\Tree.
- Mở Registry, đến:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree - Chuột phải Tree → Export backup.
- Backup toàn bộ file trong
C:\Windows\System32\Tasks. - Chuột phải Tree registry key → Delete → xác nhận Yes/OK.
- Mở Task Scheduler (
Taskschd.msc). - Menu Action → Import Task, import từng task từ backup. Nếu khó, restart máy – Windows sẽ tự tạo lại task.
Phương pháp 6: Tạo tài khoản người dùng mới
- Windows + I → Settings → Accounts.
- Tab Family & other people → Add someone else to this PC.
- Chọn I don’t have this person’s sign-in information.
- Chọn Add a user without a Microsoft account.
- Nhập username/password → Next.
Phương pháp 7: Repair Install Windows 10
Phương án cuối cùng: Repair Install (in-place upgrade) sửa lỗi hệ thống không mất dữ liệu. Tham khảo How to Repair Install Windows 10 Easily.
Bài viết liên quan:
- Sửa lỗi Windows couldn’t complete the requested changes
- Sửa lỗi The Windows Installer service could not be accessed
- Khắc phục lỗi Your Computer has a Memory problem
- Sửa lỗi Please Insert a Disk into Removable Disk USB Error
Chúc bạn thành công khắc phục lỗi The select task “{0}” no longer exists. Thắc mắc hãy comment.