WMI could not be accessed on the Lync Server
Letztes Änderungsdatum des Themas: 2014-04-17
Issue: The WMI service on the Lync Server could not be accessed.
Description of the Issue
The Office 365 Best Practices Analyzer queries the Win32_ComputerSystem Windows Management Instrumentation (WMI) class to determine whether a value is set for the Name key. If the WMI query fails, and the Lync Server is not running on Windows Server 2008 R2, Windows Server 2012, or Windows Server 2012 R2, the Office 365 Best Practices Analyzer displays an error.
There are two likely causes for this error:
The account that runs the Office 365 Best Practices Analyzer does not have sufficient permissions to query WMI classes.
A network issue is preventing the Office 365 Best Practices Analyzer from contacting the computer.
To correct this error:
Make sure that the Lync Server computer has been started and is connected to the network.
Use the PING command to see if the Lync Server computer is reachable.
If there is a firewall, check to see if remote procedure call (RPC) ports are blocked.
Examine the permissions for the account under which the Office 365 Best Practices Analyzer is running. The account under which the Office 365 Best Practices Analyzer is running must have local Administrator permissions on each Lync Server that it is scanning.
Alternatively, you can grant specific WMI permission to the account under which the Office 365 Best Practices Analyzer is running:
On the Lync Server computer, open the Computer Management Microsoft Management Console (MMC).
Under Services and Applications, right-click WMI Control, and then click Properties.
On the WMI Controls Property page, click the Security tab, and then expand Root.
Select the CIMV2 folder, and click Security.
On the Security for ROOT\CIMV2 page, add the account under which the Office 365 Best Practices Analyzer runs.
Select the account that you added in Step 5 above. In Permissions for Selected_Account, under the Allow column, select both Remote Enable and Read Security, and then click OK.