Powershell Remote: Microsoft.Update.Session, Access Denied: 0x80070005

前端 未结 5 2116
面向向阳花
面向向阳花 2021-01-03 00:14

I\'ve written a script to search/download/install Windows Updates on a machine using the Microsoft.Update.Session COM Object. When run locally it works just fine, however wh

5条回答
  •  不知归路
    2021-01-03 01:14

    the windows update code isn't callable form a remote machine. there are a few workarounds out on the web, including using psexec and a script (powershell or vbscript).

    I used WUInstall myself and BoeProx has documented a few alternatives and has started a project PoshPAIG. I moved jobs before using this so don't know if it works.

提交回复
热议问题