question

AlexBlanes-8504 avatar image
0 Votes"
AlexBlanes-8504 asked Prrudram-MSFT edited

Task Manager throws error at launching

Hello,
I have scheduled some task in my virtual desktop.
I had some troubles opening the task manager but opening with administrator rights where enought.
Now In deed that not solve my issue.
After launch shows this window:
182042-imagen.png


If I select the first option it closes both windows.

If I select the second option this window pop up:
182043-imagen.png



Containing the next text

n Microsoft.ManagementConsole.Executive.MmcThreadMessageWindow.OnThreadException(Exception e)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
en System.Windows.Forms.SafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type)
en System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
en Microsoft.ManagementConsole.Advanced.MessageBoxParameters.ShowDialog(IWin32Window parent)
en Microsoft.ManagementConsole.Internal.ConsoleDialogHost.ShowDialog(WaitCursor waitCursor, ShowDialogCallback callback)
en Microsoft.Windows.ManagementUI.CombinedControls.MMCConsole.ShowDialog(MessageBoxParams messageParams)
en Microsoft.Windows.ManagementUI.CombinedControls.DisplayError.UserError(String errorString)
en Microsoft.Windows.ManagementUI.CombinedControls.UITaskBase.ShowServiceIsDownMessage(Exception e, Boolean restartService)
en Microsoft.Windows.ManagementUI.CombinedControls.UITaskFolder.GetUITaskList(Object sender, DoWorkEventArgs eWorker, Boolean loadTaskDefinitions, Boolean includeHiddenTasks)
en Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.EnumerateTasksAndAddToList()
en Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.RefreshData(Boolean firstRefresh)
en Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.InitializeTaskDetailControl()
en Microsoft.TaskScheduler.SnapIn.TaskSchedFolderFormViewControl.Microsoft.ManagementConsole.IFormViewControl.Initialize(FormView snapinFormView)
en Microsoft.ManagementConsole.FormView.InternalInitialize()
en Microsoft.ManagementConsole.View.HandleInitializationRequest(IRequestStatus requestStatus)
en Microsoft.ManagementConsole.View.ProcessRequest(Request request)
en Microsoft.ManagementConsole.ViewMessageClient.ProcessRequest(Request request)
en Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
en Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)
en Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
en Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)

Closing this pop up, the task-scheduler window keeps but it freeezes with this:

181986-imagen.png

What can I do about this error?

Thanks in advance


azure-virtual-desktopwindows-10-application-compatibility
imagen.png (36.8 KiB)
imagen.png (39.4 KiB)
imagen.png (35.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Prrudram-MSFT avatar image
0 Votes"
Prrudram-MSFT answered Prrudram-MSFT edited

Hello @AlexBlanes-8504,

Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

This problem could occur if the snap-in’s registry configuration is broken or if the system files are corrupt. Have you done any recent windows updates on this machine? If not you can try to patch this machine up with all the latest available windows updates.
Also, We can try to fix this issue by using below methods. Perform the methods until the issue is fixed.

Fix 1 – Fix the Registry
As registry configuration error can cause this error as well, we will try to fix the registry. Follow the steps to perform this method.

Note: – Before doing anything with registry editor first of all create a registry backup, so that if anything unexpected happens, you can just import the backed up registry file and make everything normal again.

Step 1. Open Run. To open Run, right-click on the Start menu button and select Run, type regedit and launch the registry editor
Step 2. On the left side of the window, follow the following path.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns
183382-image.png
Step 3. Double click on the SnapIns folder to expand it. Now, in the Snapins folder, look for the folder whose name was specified in the error message as CLSID or FX ID.
183416-image.png
Step 4. After finding the correct folder, right-click on the same folder and select Delete.
When asked for confirmation, click on Yes.
Step 5. Now, Restart your computer.


Fix 2 – Rename mmc.exe
1. Open file explorer and browse to the following location:-
183451-image.png
C:\Windows\System32
2. Now, rename mmc.exe to mmc.exe.backup
Now, try again and see if the issue gets resolved or not.

If above 2 fixes are of no help, Turn On .NET Framework on this machine. Turning on Microsoft .NET Framework has worked for most of the users with this issue.

Please "Accept as Answer" and Upvote if any of the above helped to help others in the community looking for remediation for similar issues.




image.png (41.9 KiB)
image.png (63.5 KiB)
image.png (15.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.