Using WMI to write network programs in C #

Source: Internet
Author: User

WMI is the abbreviation for Windows Management Instrumentation, namely: Windows Management specification. Installed in Windows 2000 or later, NT4.0 will need to install the core components of WMI. WMI allows you to get a variety of data from a remote computer and control the behavior of remote computers, which is as convenient and simple as operating a local machine.

A Introduction to WMI

WMI is fundamentally supposed to be a service, and for different users locally, all WMI's permissions are not the same. A computer superuser can set different WMI permissions for each user in the computer. By default, Superuser has all the permissions of WMI. The provision of WMI services is accomplished through the program "WinMgmt.exe". You can find this file from the "System32\wbem" directory.

Since it is a service, computer users can enjoy the service and can also turn off the service. In order, open Control Panel | "Administrative Tools" | "Component Services." The display name of the WMI service in Component Services is "Windows Management instrumentation". As shown in Figure 01 below:

Figure 01: Component Services Window

Select Windows Management Instrumentation in the name bar, right-click, and in the pop-up menu, select Properties, select Disabled in the Startup Type selection box, and then click the Stop button. The local WMI service is also closed. All local and remote WMI calls are illegal at this time. The following figure is the interface after the WMI service is closed:

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.