使用本地用户在 Windows 2016 及更高版本上运行时,适用于 Windows 的 SnapCenter 插件失败并显示访问被拒绝错误
适用场景
- SnapCenter 4.x
- 适用于Windows的SnapCenter插件(SCW) 4.x
- Windows 2016及更高版本
- 用户帐户控制 (UAC)
问题描述
尝试远程部署适用于Windows的SnapCenter插件时、出现以下错误:
Connection failed. Error: Access denied for server: xx.xx.xx.xx or timeout expired.
Check if username, password and domain are correct and if user is a member of domain Administrators group.
或
Access to the path '\\xxx.xxx.xxx.xxx\C$\Windows\SnapCenter plugin' is denied
主机可访问后、WMI中可能会出现其他错误:
Verbose SDW PID=[<PID>] TID=[<TID>] query: SELECT * FROM Win32_NetworkConnection
Verbose SDW PID=[<PID>] TID=[<TID>] scope: \\<HOSTNAME>\root\CIMV2
Error SDW PID=[<PID>] TID=[<TID>] Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)