|
Monitoring and managing Windows through WMI |
|
|
Enabling Windows counter monitoring The WMI protocol (used by WinTools, asset information collection and Windows performance counter monitoring) is available on Windows Server 2003. To get information from Windows 7 computers, however, you need to perform several steps. To speed them up, use WMIEnable.exe, available in the nVision server installation folder (by default: C:\Program Files (x86)\Axence\nVision\WMIEnable.exe or C:\Program Files\Axence\nVision\WMIEnable.exe), which performs the necessary operations automatically. To make WMI available, run this program on the remote computer. You can run it from a logon script, which makes WMI available on all Windows 7 computers. If you use a firewall from another vendor on the remote computer, unblock the following ports yourself: TCP 135, 139, 445, 593. To use WinTools or read assets from Windows, the remote system must have exactly the same credentials (user name and password) as the user logged on to the computer running netTools and Axence nVision®. This results from the limitations of Home editions of the system. If WMI does not work, check the following: 1.Start Local Security Settings (secpol.msc /s) and select Local Policies > User Rights Assignment > Access this computer from the network. Check whether all appropriate groups/users are added. At least the Administrators group or the administrator should be added. 2.Start Group Policy (gpedit.msc) and select Windows Settings > Security Settings > Local Policies > Security Options > Network access: Sharing and security model for local accounts. Set this option to Classic – local users authenticate as themselves. 3.Check whether WMI works by running the wbemtest command. WMI works if this program works correctly. 4.Check whether the following services are running: COM+ Event System, Remote Access Auto Connection Manager, Remote Access Connection Manager, Remote Procedure Call (RPC), Remote Procedure Call (RPC) Locator, Remote Registry, Server, Windows Management Instrumentation, Windows Management Instrumentation Driver Extensions, WMI Performance Adapter, Workstation. Memory leaks caused by an old version of Rpcrt4.dll When you monitor Windows performance counters, make sure the latest version of Rpcrt4.dll is installed. All earlier versions cause serious memory leaks in the system, which can lead to a system failure. Microsoft describes this problem at http://support.microsoft.com/?kbid=911262. Rpcrt4.dll should be in the following version (or later):
RPC calls and high ports By default, RPC uses ports from the ephemeral port range (1024–5000) when it assigns ports to RPC applications that listen on a TCP endpoint. This can restrict access to these ports and cause problems with nVision Agents. For information about configuring RPC to use specific ports and about securing these ports, see http://support.microsoft.com/kb/908472. Connecting to other operating systems You cannot connect to a computer running one of the following Windows editions: Starter, Basic or Home. More information: http://msdn.microsoft.com/en-us/library/windows/desktop/aa389284%28v=vs.85%29.aspx#failure_to_connect |