Skip to content

access denied for windows server 2025 #65

@octavmarius

Description

@octavmarius

i get this error only for remote computers with windows server 2025.
for any other operating system version it works just fain (2022, 2019, 2016).

Get-WindowsUpdate -ComputerName computername
Get-WindowsUpdate : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
At line:1 char:1
+ Get-WindowsUpdate -ComputerName computername
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-WindowsUpdate], UnauthorizedAccessException
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,PSWindowsUpdate.GetWindowsUpdate

for the same computers (with windows server 2025) other remote powershell command works ok. so it's not related with user permissions (i use a domain admin account), firewall permissions, powershell remoting....

is this happend only for me ?

thanks for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions