Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows operating systems. It is based on Web-Based Enterprise Management (WBEM) and Common Information Model (CIM).

learn more… | top users | synonyms

0
votes
0answers
31 views

Microsoft Diagnostic Tool via C# remotely

I need an efficient way to execute the Microsoft Diagnostic Tool Troubleshooting Pack via C# on a remote machine. The criteria for the Troubleshooter is: Run elevated (admin). Run silent. Run ...
2
votes
2answers
91 views

A timeout was reached while waiting for the Windows Management Instrumentation service to connect

Windows 7 SP1 with 4 GB RAM. This laptop is freezing about three times per week. The user regularly maxes out on RAM. Additionally, every day, the system generates about 500 of the following errors: ...
1
vote
1answer
17 views

Network Connection State on BgInfo

Is there a vbs script or WBI that will show the status of a network adapter such as 'Disconnected', "Connected", 'Authenticating', etc in BgInfo? Thank you in advance.
1
vote
0answers
40 views

“Microsoft Excel is waiting for another application to complete an OLE action” interrupting VBA code

I've got an Excel workbook that is running some VBA code, which I use every day. During execution, it keeps hanging on a dialog box saying "Microsoft Excel is waiting for another application to ...
1
vote
1answer
19 views

What are the minimum requirements of a WMI class?

I was implementing a query to the WMI class "Win32_OperatingSystem" namespace with "root\CIMV2" I tested my code in Windows 10, Windows 8.1, and Windows XP SP3 and everyone worked well. However in ...
0
votes
0answers
69 views

MySql Remote. WMI connection setup does not work?

Hello i want to do a remote server on mysql that is on my computer soo i can connect to it outside network but i have a problem that i cannot solve my self. PROBLEM When i enter my windows 8 login ...
0
votes
1answer
67 views

Mysql remote server with rights to WMI

I just fixed and got my MySQL running on my computer on port forwarded with all the grants. However, when I am enabling remote server Windows asks for user login information for WMI I need to enter ...
0
votes
2answers
31 views

Prefixing output text in batch

I am trying to create a remote, WMI query script that will query a bunch of machines and tell me the MemoryChip configuration information. This way, we can find out what machines physically have 1 ...
0
votes
0answers
67 views

Issues automating printer driver update (printer settings) and printer preferences in Win7, using a PS,cmd,vbs,etc script?

WMI can do it, but I have an issue, PCs are on, but logged off. If I try to run: wmic /node:%strIP% printer where DeviceID="lp1" set DriverName="Lexmark Universal v2" It fails with a message about ...
0
votes
1answer
33 views

Windows XP PCs shut down using WMI command require mouse/keyboard input before completing shutdown

We use the WMI service to shut down PCs in our office remotely. This works perfectly for our Windows 7 systems but we are finding that our Windows XP PCs get stuck in a "Shutting down" state ...
0
votes
0answers
35 views

I want to keep track of registry changes in a windows based system [closed]

I have been searching and searching the internet on how to track changes made to the registry through program. I want to develop a solution in which I specifically need to track changes happened to ...
0
votes
0answers
69 views

External Hard Drive with no WMI info

Had some software crash for a user because it expected TotalSectors from WMI to be present for all Win32_DiskDrive's. The powershell output for it is below. I asked the user if there was something ...
0
votes
0answers
57 views

What is _Total in WMI output for list of processes?

I am trying to generate a list of processes running on a remote Windows 2008 server along with their CPU/Memory utilization through a .vbs script. Here is the WMI query that I have used: Select ...
0
votes
0answers
38 views

Get partition blocksize and volume name

I want to use wmic to find the logical blocksize: C:\Users\meej>wmic partition get blocksize BlockSize 512 512 512 And I want to use wmic to find the human readable name: ...
0
votes
0answers
123 views

WMI Provider Host consistently using 25-30% of CPU, no dependencies, error log complains about namespace permission

I would really appreciate some sort of help here. I'm often wordy hence the bulletpoints as I try to restrain myself. I've broken up some of the links as I haven't used this forum before - I hope ...
6
votes
1answer
200 views

Period character used for local computer name

I'm wondering about the period character . used as a shortcut for the local computer name. You can use it when logging into Windows 7, for example, to specify that the user account you're entering ...
1
vote
1answer
96 views

WmiEvent for any usb device

I am following this answer, which contains Register-WmiEvent -Class win32_VolumeChangeEvent -SourceIdentifier volumeChange and $newEvent = Wait-Event -SourceIdentifier volumeChange This works ...
0
votes
0answers
200 views

Detect touch hardware using VBScript

I am looking for a way to detect installed touch hardware using VBScript. My script doesn't work. This script is intended to look for a pointing device and echo accordingly. On Error Resume ...
0
votes
0answers
69 views

Group policy WMI Logon Server

I'm trying to setup a GP to do tasks if in a certain location, I believe the best way in doing this is a WMI filter. Could someone help me out? I've never used this part of GP before. Was looking ...
0
votes
1answer
371 views

Unable to install Windows product key - error 0x80041015

I decided to install a proper product key for my Windows 8.1. I tried the PC Settings applet, but it refused to accept my key. I tried using slmgr /ipk ...., but got error WBEM_E_TRANSPORT_FAILURE ...
0
votes
0answers
19 views

Remotely cat (view) a file on a Windows computer using native tools

Something of an equivalent to running ssh remote.linux.box cat /somedir/somefile Note: I realise not all Linux systems will have sshd installed AND running. Most server systems would however. On ...
0
votes
2answers
79 views

WMI StartService Parameter

I'm currently using WMI to start a service, which is nice. But additionally, I would like to send a start-up parameter to this service. Is there anyway to do this using WMI? I couldn't find anything ...
0
votes
0answers
496 views

Remotely use a local account to unlock another local account

So I have had an interesting problem pop up. I am trying to make someones life easier by making a script to help reset local accounts on windows 7 machines. Ideally, we'd like to do it remotely, so ...
0
votes
2answers
285 views

Loading drivers after OS boot takes a long time

My windows 7 x64 build boots fairly quickly (20s). It's a lab PC with very little installed. After seeing the desktop, launching applications that load a custom driver (several different ones) take ...
0
votes
0answers
108 views

Terminate/Kill a process before entering Standby

We have a MSAccess based solution that is running on customers computers and is lauchend through a VBScript-script. Due to the network enviroment here, we KNOW that in most of the cases the ...
1
vote
1answer
2k views

Windows 7 (64 bit) SP1 stuck on welcome screen with wmi error

My desktop (Intel i5 @ 3.10 ghz, 8 gb ram, 1 gb nvidia graphics card, Dell s2240L full HD monitor) that runs Win 7 (64 bit) SP1 gets stuck on each startup on welcome screen after I enter the password. ...
2
votes
1answer
668 views

need command line to test duplex status on windows NIC cards

this woud be for windows 7 I tried the following powershell command get-wmiobject Win32_NetworkAdapter | foreach-object { get-wmiobject -namespace root/WMI -class MSNdis_macOptions -filter ...
0
votes
1answer
363 views

WMI Query based on antecedent string

I am trying to map PHYSICAL Disks to mounted partitions and even further into mounted volume letters (C:\ is mounted on partition 0 of disk 0) First I'm using Select * from Win32_DiskDrive to ...
0
votes
1answer
56 views

How to check ClearType status through WMI/CIM

So I wanted to know if anyone knows if it is even possible to check the status of ClearType on a windows pc using WMI or CIM and if so, which subcategory I would have to look in? All I have been able ...
1
vote
2answers
939 views

'SELECT' is not recognized as an internal or external command

I'm trying to apply a wmi filter to a group policy using this command: Select * from Win32_Processor where AddressWidth = '64' This will only apply the GPO to 64 bit machines (all of our machines ...
1
vote
2answers
516 views

Numerous errors when initializing stuff, explorer.exe's Server execution failed" error, and more - advice needed

Recently I've started experiencing a very bad OS behavior: Something is messed up with the windows' queue managing or communication, here is what I'm experiencing: opening a link to a folder -> ...
0
votes
1answer
1k views

How to filter/pipe wmi output from batch or command prompt

I need to write a little script for a specific HDD. I use the following command to detect the HDD by size: C:\>wmic logicaldisk get size,freespace,caption | find "750153363456" E: ...
0
votes
1answer
329 views

How can I query WMI to know the name of the user that started a service?

I used several WMI queries in Windows8.1x64 on wbemtest.exe to attempt finding out which user started a particular service. The ones that got me "this far" are presented here. I know that if I query ...
0
votes
1answer
716 views

How can i get proxy settings with wmi?

I try this in cmd wmic path win32_proxy, but get ERROR: Description = Invalid class OS: Windows 7 64bit Am I doing this right?
1
vote
0answers
378 views

“Access Denied 0x80070005” when connecting remotely via WMI using local administrator account

I'm working on a solution, where I want to rejoin a computer remotely to the domain if the domain trust is lost or for any other reason. In order to achieve this, I need to let WMI through the ...
6
votes
1answer
18k views

Why is my c:\windows\system32\wbem folder almost 100 GB and how do I reduce it?

The folder C:\Windows\System32\wbem\ takes up almost 100 GB on my SSD drive. This doesn't feel like an optimal utilization of my SSD drive. Can it be reduced? I've come across some references to ...
1
vote
0answers
196 views

What values will the WMI Win32_DiskDrive call provide when PC is using hybrid drive?

When I call the Get-WMIOBject Win32_DiskDrive call I get the following response for a regular drive: Partitions : 5 DeviceID : \.\PHYSICALDRIVE0 Model : C400-MTFDDAT128MAM Size : 128034708480 Caption ...
0
votes
1answer
301 views

Query type of video card connections (HDMI/VGA/DVI/ETC)

I need to find a way to query types of video connections available on a large list of machines. I wasn't able to find a property within the following WMI classes: Win32_VideoController ...
1
vote
1answer
247 views

Set an IPMI IP in Windows 2012 Server

I have got an IPMI adapter card on a Windows 2012 server machine (Supermicro). What I want to do is to set an IP (Management network) to be able to access the server via IPMI. On a GRML live it is: ...
3
votes
1answer
2k views

How does Windows know which network adapter is a wireless device?

I'm trying and trying to find a value in the registry or through WMI (with wbemtest) which tells me that this network adapter uses a wireless connection. There are values in the WMI ...
0
votes
1answer
214 views

Win32_Battery.EstimatedRunTime

According to Microsoft the field EstimatedRunTime of the Win32_Battery WMI class is an Estimate in minutes of the time to battery charge depletion under the present load conditions if the ...
0
votes
0answers
1k views

WMI Provider Host taking up half of CPU?

Recently, I have had something called WMI Provider Host in my Task Manager that is taking up about half of my cpu. How do I fix this? Thanks!
1
vote
0answers
174 views

Windows management instrumentation for dummies?

Please can someone explain Windows Management Instrumentation in simple terms? Why it is important? What you can do with it? I've read the wikipedia page and am none the wiser :)
0
votes
1answer
474 views

Why are some Windows WMI counters available on some systems and not on others?

I am trying to measue CPU use per process with: typeperf "\Process(SOME PROCESS)\% Processor Time" -si 1 -sc 60 The problem is that I have to do that on quite a few PCs and here problems start. ...
0
votes
3answers
8k views

Running a program on remote computer from a network share

Well going all in: assigning all my 72 point as bounty to this question! How to run a command line program on remote Windows computers with out installing additional software (aka ssh). All ...
1
vote
1answer
1k views

Nagios SSH remote checks and WMI Check

I have install Nagios Core and I am using WMI Checks for Windows and Created a script to execute remote commands through ssh on my Linux machines. When Installing Nagios there is an option to run ...
5
votes
1answer
2k views

Is there a way to see current environment variables for a process with WMI?

I have a weird problem where something is changing my path in my login session. The permanent path in the registry is not changing. I wanted to monitor changes to the explorer.exe process's ...
4
votes
1answer
3k views

How to set printer permissions using PowerShell / some other script?

I need to update printer's permissions in a script, i.e. do the same as I would manually do this way: Open Devices and Printers applet Double-click the default printer (open its queue) Go to Printer ...
1
vote
1answer
305 views

What is the most robust way to parse domain and username from a user string in vbscript

The user can input a string, so basically 4 options: username .\username localcomputername\username remotedomain.com\username What is the most robust way to return the domain and username given ...
6
votes
2answers
1k views

Monitor hardware change events

I have a laptop that periodically notifies me that some piece of hardware was installed/removed by playing the little ba-dum sound. I have no idea what hardware is changing - I am not adding or ...