Use WMI to get information about a remote server in a Windows system

Source: Internet
Author: User

Using WMI to get the status of a remote server

I do the project contains two main content:

(1) Whether the services published on the server (IIS services, WCF services) can be accessed normally;

(2) Get some of the metrics on the server: CPU, memory, disk space information, etc.

When doing this function because it involves multiple servers or PC, so the problems encountered are different, the main operating system on the server has window2003, Win7, Windows 2008, the corresponding operating system are 64-bit, I have encountered as a simple record of the problem, using C # The following points to follow when making remote access:

1. Confirm that the remote access server is available: The server exists, and the IP address is correct;

2. Make sure the remote server allows remote access, and that the user name and password are correct;

3, remote access to the user's permission is large enough, if there is no strong confidentiality requirements, we recommend the use of administrator users or users with administrator rights;

4. Make sure that the firewall of the remote server starts normally and that the firewall is off, otherwise it may prompt "RPC is not available";

5, to ensure that the user has access to WMI use rights, otherwise it will prompt "Access denied", preferably using the user has Administrator rights;

Use WMI to get information about a remote server in a Windows system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.