33hh 发表于 2023-8-3 11:28

win10的任务计划无法编辑.

编辑的时候弹出错误


系统日志中的"应用程序"记录应用程序: mmc.exe
Framework 版本: v4.0.30319
说明: 由于未经处理的异常,进程终止。
异常信息: System.IO.FileNotFoundException
   在 Microsoft.Windows.ManagementUI.CombinedControls.INetwork.GetName()
   在 Microsoft.Windows.ManagementUI.CombinedControls.UINetwork.GetUINetwork(INetwork network)
   在 Microsoft.Windows.ManagementUI.CombinedControls.NetworkListManager.GetNetworkList()
   在 Microsoft.Windows.ManagementUI.CombinedControls.ControlTaskConditions.PopulateNetworkComboBox()
   在 Microsoft.Windows.ManagementUI.CombinedControls.ControlTaskConditions.InitializeConditions()
   在 Microsoft.Windows.ManagementUI.CombinedControls.EditTaskDialog.InitializeView()
   在 Microsoft.Windows.ManagementUI.CombinedControls.EditTaskDialog.Initialize(UITaskFolder folder, String taskName, String title, UserChoice userAction, BaseResultsControl inOwnerView, String inXmlText)
   在 Microsoft.Windows.ManagementUI.CombinedControls.BaseResultsControl.EditTask(UITaskFolder folder, String taskName)
   在 Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.EditTask(UITask task)
   在 Microsoft.Windows.ManagementUI.CombinedControls.TaskDetailControl.listViewMain_DoubleClick(Object sender, EventArgs e)
   在 System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   在 System.Windows.Forms.ListView.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

异常信息: System.Reflection.TargetInvocationException
   在 Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(Object sender, ThreadExceptionEventArgs e)
   在 System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   在 System.Windows.Forms.Control.WndProcException(Exception e)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   在 Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
   在 Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
   在 Microsoft.ManagementConsole.Executive.SnapInThread.OnThreadStart()
   在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   在 System.Threading.ThreadHelper.ThreadStart()

错误应用程序名称: mmc.exe,版本: 10.0.19041.2913,时间戳: 0x6103890f
错误模块名称: KERNELBASE.dll,版本: 10.0.19041.3271,时间戳: 0x0de33565
异常代码: 0xe0434352
错误偏移量: 0x000000000002cf19
错误进程 ID: 0x2c78
错误应用程序启动时间: 0x01d9c092fa2b57aa
错误应用程序路径: C:\Windows\system32\mmc.exe
错误模块路径: C:\Windows\System32\KERNELBASE.dll
报告 ID: 2f430083-3f38-49f7-a678-a4364706943f
错误程序包全名:
错误程序包相对应用程序 ID:


发现这个问题之前使用过火狐进行了垃圾清理.

扫描发现垃圾:4.3GB
已自动清理1.3GB垃圾
清理详情
名称:常用软件日志;分类:腾讯产品日志;发现垃圾:1.6MB;清理垃圾:1.6MB
名称:回收站垃圾;分类:回收站垃圾;发现垃圾:4.1MB;清理垃圾:4.1MB
名称:系统缓存;分类:DirectX 着色器缓存;发现垃圾:1.1MB;清理垃圾:0KB
名称:系统缓存;分类:Windows更新传递优化文件;发现垃圾:2.7MB;清理垃圾:2.7MB
名称:系统缓存;分类:.NET 全局程序集缓存;发现垃圾:579MB;清理垃圾:579MB
名称:系统缓存;分类:缩略图缓存;发现垃圾:4.0MB;清理垃圾:4.0MB
名称:系统缓存;分类:自动更新补丁;发现垃圾:0KB;清理垃圾:0KB
名称:系统缓存;分类:CryptoAPI证书缓存;发现垃圾:67.1KB;清理垃圾:67.1KB
名称:系统缓存;分类:字体缓存文件;发现垃圾:179MB;清理垃圾:0KB
名称:系统缓存;分类:Windows Installer缓存;发现垃圾:2.8MB;清理垃圾:2.8MB
名称:系统临时文件;分类:Windows 跳转列表;发现垃圾:196KB;清理垃圾:0KB
名称:系统临时文件;分类:最近打开文件;发现垃圾:304KB;清理垃圾:304KB
名称:系统临时文件;分类:临时文件;发现垃圾:103MB;清理垃圾:103MB
名称:系统日志;分类:系统日志文件;发现垃圾:1.9MB;清理垃圾:1.9MB
名称:系统日志;分类:Microsoft.NET Framework缓存文件;发现垃圾:236KB;清理垃圾:236KB
名称:系统日志;分类:设置日志文件;发现垃圾:152KB;清理垃圾:152KB
名称:系统日志;分类:Internet信息服务日志;发现垃圾:308KB;清理垃圾:308KB
名称:系统日志;分类:自动更新补丁日志;发现垃圾:6.3MB;清理垃圾:0KB
名称:程序相关;分类:最近使用痕迹;发现垃圾:0.1KB;清理垃圾:0.1KB
名称:程序相关;分类:安装程序引用;发现垃圾:0.1KB;清理垃圾:0.1KB
名称:Microsoft Edge浏览器;分类:Microsoft Edge 会话文件;发现垃圾:0.3KB;清理垃圾:0KB
名称:Microsoft Edge浏览器;分类:Microsoft Edge Cookie;发现垃圾:315KB;清理垃圾:0KB
名称:Microsoft Edge浏览器;分类:Microsoft Edge 下载历史记录;发现垃圾:112KB;清理垃圾:112KB
名称:Microsoft Edge浏览器;分类:Microsoft Edge浏览器缓存;发现垃圾:548KB;清理垃圾:0KB
名称:火狐浏览器;分类:火狐浏览器崩溃报告;发现垃圾:0.1KB;清理垃圾:0.1KB
名称:火狐浏览器;分类:火狐浏览器历史文件;发现垃圾:44.0KB;清理垃圾:44.0KB
名称:火狐浏览器;分类:火狐浏览器Cookies文件;发现垃圾:96.0KB;清理垃圾:0KB
名称:火狐浏览器;分类:火狐浏览器缓存文件;发现垃圾:120KB;清理垃圾:0KB
名称:IE浏览器;分类:IE Cookies;发现垃圾:0.1KB;清理垃圾:0KB
名称:IE浏览器;分类:IE浏览器缓存;发现垃圾:1.1MB;清理垃圾:1.1MB
名称:Microsoft Office;分类:Microsoft Office升级文件;发现垃圾:794MB;清理垃圾:794MB


现在一直没法编辑任务计划,,求救

sxtong 发表于 2023-8-3 12:19

按 “Windows 徽标键+X”,启动 “Windows PowerShell(管理员)”,输入以下命令:

Dism /Online /Cleanup-Image /ScanHealth
这条命令将扫描全部系统文件并和官方系统文件对比,扫描计算机中的不一致情况。

Dism /Online /Cleanup-Image /CheckHealth
这条命令必须在前一条命令执行完以后,发现系统文件有损坏时使用。

DISM /Online /Cleanup-image /RestoreHealth
这条命令是把那些不同的系统文件还原成官方系统源文件。

无论前三条命令是否可用,完成后重启,再键入以下命令:sfc /scannow

33hh 发表于 2023-8-3 12:24

本帖最后由 33hh 于 2023-8-3 12:53 编辑

sxtong 发表于 2023-8-3 12:19 https://i.pcbeta.com/static/image/common/back.gif
按 “Windows 徽标键+X”,启动 “Windows PowerShell(管理员)”,输入以下命令:

Dism /Online /Clea ...

这已经做过,没有效果.

运行%windir%\microsoft.net\framework64\v4.0.30319\ngen.exe update /force /queue和%windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue进行update全局程序集缓存,也没效果


页: [1]
查看完整版本: win10的任务计划无法编辑.