windows 10 task scheduler won't run

pmv

Lifer
May 30, 2008
14,688
9,574
136
It just says something about "MMC has detected an error in a snap-in and will unload it". Then it falls over. Then it leaves a dead window that I can't close or kill with task-manager.

The only advice I've found about fixing it is to run sfc /scannow and that, as it always does, finds no problems and does nothing (has anyone ever fixed a problem using that thing?). Other google results relate to older versions of windows and the net-framework.

It gives "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)
 

sm625

Diamond Member
May 6, 2011
8,172
137
106
The only advice I've found about fixing it is to run sfc /scannow and that, as it always does, finds no problems and does nothing (has anyone ever fixed a problem using that thing?).

Nope. Not once, not ever.

I had a problem similar to this with a windows 8 system. My only solution was to do the win 10 update. :) Which obviously isnt a real fix and wont help you at all, at least not until win 11 comes. Windows is in a really bad state, and it seems to jsut get worse and worse. Everyone should have a regularly backed up clone OS drive...
 

Ketchup

Elite Member
Sep 1, 2002
14,559
248
106
Was this an upgrade from 7 or 8.1? Windows Backup wouldn't work for me on 10 until I went into the registry and removed the task sxheduler entries it couldn't locate/ execute.
 

quikah

Diamond Member
Apr 7, 2003
4,165
721
126
Can you run MMC at all? (just type mmc in start) Can you run other MMC based programs, like Event Viewer? Might be a hardware problem, bad RAM stick?

Try a reset, Settings > Update > Recovery
 

pmv

Lifer
May 30, 2008
14,688
9,574
136
Can you run MMC at all? (just type mmc in start) Can you run other MMC based programs, like Event Viewer? Might be a hardware problem, bad RAM stick?

Try a reset, Settings > Update > Recovery

Thanks for suggestions.

I can run Event viewer (and mmc on its own). Just task scheduler won't run.

Actually, now I think about it, I think before this happened I deleted an entry in it relating to Windows Media Centre, because I kept getting errors involving errors with scheduled tasks for WMC. WMC is removed in the update process from 7 to 10 but it seems as if lots of detritus relating to it is left over after the upgrade, causing errors.

Others who upgraded to 10 seemed to have the same issue with WMC.

However, having tried to remove a WMC-related entry, I think it was when I ran task scheduler after that that it fell over.

I looked at the recovery options, but it seems I have no 'restore points', and reinstalling windows 10 apparently removes all your 'user-installed apps' (I'm not at all clear whether in this context 'apps' means specific Metro-type things or just means all programs, as elsewhere windows refers to programs - wish MS would use consistent terminology).
Reading suggests one can do a traditional 'recovery' reinstall without losing all installed software if one burns an installation disk from an iso first. Guess that's the next thing to try, but I have a suspicion it won't solve the problem.

Edit - yeah, what _does_ it mean when it says doing an in-place reinstallation will remove all 'user added apps'? Is that just 'Metro' type apps (that nobody uses!) or do they now use the term 'apps' to refer to all programs you have installed?
 
Last edited: