Remote WMI connection

前端 未结 9 1837
心在旅途
心在旅途 2020-12-31 14:46

I want to connect to remote PC running Windows 7, from another PC using ManagementScope on a local network. On remote PC I\'ve created a new user account \"Samuel\" withou

9条回答
  •  天命终不由人
    2020-12-31 15:03

    I had this problem too.I was trying to write C# code to get WMI information and files from a remote PC. And ran into two Access Denied errors:

    To keep a long story short, I had to make changes to the remote PC. See below:

    1. 0x80070005: Access is Denied: https://social.msdn.microsoft.com/Forums/vstudio/en-US/6229334e-d5ef-4016-9e7e-1c8718be8d43/access-is-denied-exception-from-hresult-0x80070005-eaccessdenied-in-vbnet?forum=netfxbcl

    2. System.Management: Access Denied: Section "Using System.Management and WMI": https://support.microsoft.com/en-us/help/317012/process-and-request-identity-in-asp.net

提交回复
热议问题