當我從電腦管理中打開它時
但是該服務似乎正在運行
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上沒有出現該錯誤。
此外,sfc /scannow
報告沒有問題
其他 MMC 管理單元似乎運作正常。