草庐IT

NotificationLevel

全部标签

windows - 从 PowerShell 设置 Windows 更新首选项时出错

我试着按照这里的建议(HowdoIsetWindowsUpdatetonevercheckforupdateswithPowerShell?),它非常简单。在我到达需要实际更改NotificationLevel值的部分之前,一切似乎都在工作。我收到以下错误:Exceptionsetting"NotificationLevel":"ExceptionfromHRESULT:0x80240037"Atline:1char:1+$WUSettings.NotificationLevel=1+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+CategoryInfo:NotSpe