Search code examples
clientwmiexternaldiagnostics

Using WMI on a remote machine


Is it possible at all to obtain WMI information (within C#.NET) from an external source such as a hard drive with a Windows installation on?

I ask this because I'm making an automated diagnostic utility for A-Level Computing, and there are often times when the remote machine may not boot, so a host machine needs to connect somehow to the faulty machine to exchange information.

If this isn't possible, do you know any way in which I can achieve this effect (e.g. by booting into a minimal operating system such as Hiren's Boot and running the .NET application)


Solution

  • No you can't, to access the WMI the Windows OS and the WMI Service must be running in the remote machine.