当我从计算机管理打开它时
但该服务似乎正在运行
C:\WINDOWS\system32>sc query Schedule
SERVICE_NAME: Schedule
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
当我单独打开任务计划程序时
错误文本
FX:{c7b8fb06-bfe1-4c2e-9217-7a69a95bbac4}
Exception has been thrown by the target of an invocation.
Exception type: System.Reflection.TargetInvocationException
Exception stack trace:
at Microsoft.ManagementConsole.Executive.MmcThreadMessageWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type)
at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
at Microsoft.ManagementConsole.Advanced.MessageBoxParameters.ShowDialog(IWin32Window parent)
at Microsoft.ManagementConsole.Internal.ConsoleDialogHost.ShowDialog(WaitCursor waitCursor, ShowDialogCallback callback)
at Microsoft.Windows.ManagementUI.CombinedControls.MMCConsole.ShowDialog(MessageBoxParams messageParams)
at Microsoft.Windows.ManagementUI.CombinedControls.DisplayError.UserError(String errorString)
at Microsoft.Windows.ManagementUI.CombinedControls.UITaskBase.ShowServiceIsDownMessage(Exception e, Boolean restartService)
at Microsoft.Windows.ManagementUI.CombinedControls.UITaskFolder.GetUITaskList(Object sender, DoWorkEventArgs eWorker, Boolean loadTaskDefinitions, Boolean includeHiddenTasks)
at Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.EnumerateTasksAndAddToList()
at Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.RefreshData(Boolean firstRefresh)
at Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.InitializeTaskDetailControl()
at Microsoft.TaskScheduler.SnapIn.TaskSchedFolderFormViewControl.Microsoft.ManagementConsole.IFormViewControl.Initialize(FormView snapinFormView)
at Microsoft.ManagementConsole.FormView.InternalInitialize()
at Microsoft.ManagementConsole.View.HandleInitializationRequest(IRequestStatus requestStatus)
at Microsoft.ManagementConsole.View.ProcessRequest(Request request)
at Microsoft.ManagementConsole.ViewMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)
at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)
我的机器从Windows 7升级到Windows 10,Windows 7上没有出现该错误。这是我第一次尝试在Windows 10上打开任务计划程序。
此外,sfc /scannow
报告没有问题
其他 MMC 管理单元似乎运行正常。