Share via

Task Scheduler crashes

Anonymous
2021-07-09T19:26:49+00:00

Hello.

I was editing an xml for Task scheduler to import. I didn't notice I missed a digit in the date so when it saved it errored immediately. When I tried to start Task Scheduler it loops in a error. I deleted the file from system32 location but it still errors out. Is there another place to remove that info so Task Scheduler stops trying to reference it? See error below. Thank you in advance for any help.

FX:{c7b8fb06-bfe1-4c2e-9217-7a69a95bbac4}

The string '2021-07-9T10:14:47.2220994' is not a valid AllXsd value.

System.FormatException

at System.Xml.Schema.XsdDateTime..ctor(String text, XsdDateTimeFlags kinds)

at System.Xml.XmlConvert.ToDateTime(String s, XmlDateTimeSerializationMode dateTimeOption)

at Microsoft.Windows.ManagementUI.CombinedControls.TimeConversion.ConvertCompleteTimeFromStringToDateTime(String startTime, Boolean useNow, XmlDateTimeSerializationMode inMode)

at Microsoft.Windows.ManagementUI.CombinedControls.UITaskRegistrationInfo.get_Date()

at Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.GenerateListViewItemFromTask(UITask task)

at Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.AddOrUpdateTaskInList(UITask task, Boolean batchMode)

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 for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. @CmdrKeene 90,626 Reputation points Volunteer Moderator
    2021-07-09T22:20:40+00:00

    You might be able to remove the broken task using the command line. Check out How to delete scheduled task from command line

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments