Problemas desde WAC con PSWindowsUpdate

%3CLINGO-SUB%20id%3D%22lingo-sub-2508265%22%20slang%3D%22es-ES%22%3EIssues%20from%20WAC%20with%20PSWindowsUpdate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2508265%22%20slang%3D%22es-ES%22%3E%3CP%3EGood%20community.%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20keep%20updated%20the%20PC's%20of%20our%20health%20institution%2C%20for%20which%20we%20raise%20a%20Wsus%20server%20under%20an%20Active%20Directory%20domain%20on%20Windows%20Server%202019%2C%20additionally%20we%20have%20implemented%20Windows%20Admin%20Center%20(WAC)%20to%20manage%20the%20problems%20of%20our%20PCs%20centrally%20and%20remotely%2C%20but%20precisely%20to%20manage%20the%20Windows%20updates%20of%20the%20PCs%20%2C%20we%20are%20having%20several%20problems%20with%20Powershell%2C%20which%20is%20the%20idea%20of%20doing%20it%20remotely%20while%20WAC%20does%20not%20have%20an%20extension%20to%20perform%20this%20process%2C%20for%20which%20we%20use%20%22PSWindowsUpdate%22%20from%20the%20WAC%20Powershell%2C%20but%20several%20of%20its%20methods%20do%20not%20work%20and%20throw%20different%20errors.How%20can%20we%20solve%20these%20errors%3F%2C%20to%20be%20able%20to%20correctly%20use%20remotely%20the%20methods%20(commands)%20provided%20by%20PSWindowsUpdate%2C%20and%20thus%20not%20be%20interrupting%20users%20to%20be%20able%20to%20use%20their%20computer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20of%20the%20errors%20that%20it%20delivers%20us%20via%20Powershell%20is%20the%20following%2C%20only%20when%20running%20for%20example%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Get-WindowsUpdate%20-Download%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAccess%20denied.%20(Exception%20from%20HRESULT%3A%200x80070005%20(E_ACCESSDENIED))%20%3CBR%20%2F%3E%20%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BGet-WindowsUpdate%5D%2C%20UnauthorizedAccessException%20%3CBR%20%2F%3E%20%2B%20FullyQualifiedErrorId%20%3A%20System.UnauthorizedAccessException%2CPSWindowsUpdate.GetWindowsUpdate%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Buenas comunidad.

Estamos tratando de mantener actualizados los PC's de nuestra institución de salud, para lo cual levantamos un server Wsus bajo un dominio Active Directory sobre Windows Server 2019, adicionalmente hemos implementado Windows Admin Center (WAC) para administrar los problemas de nuestros PC's de forma centralizada y remota, pero justamente para administrar las actualizaciones de Windows de los PC's, estamos teniendo varios problemas con Powershell, que es la idea de hacerlo en forma remota mientras WAC no tenga una extensión para realizar este proceso, para lo cual utilizamos "PSWindowsUpdate" desde el Powershell de WAC, pero varios de sus métodos no funcionan y arrojan distintos errores.  ¿Como podemos solucionar estos errores?, para poder utilizar correctamente de forma remota los metodos (comandos) que proporciona PSWindowsUpdate, y así no estar interrumpiendo a los usuarios para poder utilizar su equipo.

 

Uno de los errores que nos entrega vía Powershell es el siguiente, solo al ejecutar por ejemplo:

 

"Get-WindowsUpdate -Download"

 

 Acceso denegado. (Excepción de HRESULT: 0x80070005 (E_ACCESSDENIED))
+ CategoryInfo : NotSpecified: (:) [Get-WindowsUpdate], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,PSWindowsUpdate.GetWindowsUpdate 

0 Replies