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
1answer
18 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
14 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
47 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
43 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
33 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
97 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
141 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 ...
0
votes
1answer
63 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
133 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
56 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
287 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
16 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
59 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
403 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
173 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
95 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
1k 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
423 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
257 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
55 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
822 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
403 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
930 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
253 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
602 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
348 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
14k 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
190 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
240 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
210 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
1k 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
189 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
161 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
401 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
7k 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
1k 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
2k 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
265 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 ...
0
votes
1answer
1k views

Trying to allow Remote Desktop connections via wmic command line but everytime Windows return me an error

I'm working on a project that I need to allow Windows Remote Desktop connections with the wmic interface using the following command: wmic RDToggle where servername=”ServerName" call ...
2
votes
2answers
384 views

How to associate a SATA HBA to a Physical Disk

I am, admittedly, very new to the whole WMI "thing". This "thing" is quite overwhelming and I'm not finding an answer to the question that I have at this point. I've found the best information for ...
1
vote
2answers
353 views

How to start/stop service on a remote computer with an out of sync clock

I'm working in a MS Windows Domain. I'm trying to centrally (remotely) start and stop the W32Time service for a certain amount of time (to disable Time Server update e.g for two hours) then remotely ...
0
votes
0answers
1k views

How to retrieve the serial number of my NAS?

I need to retrieve the serial number of a NAS. From another PC, I wrote: wmic /node:x.y.z.k bios get serialnumber but I get this message: ERROR: Code = 0x800706ba Description = The RPC server is ...
0
votes
1answer
5k views

WMIC Path <what>? WMIC Class <what>?

There are all sorts of commands that WMIC accepts, such as WMIC Path Win32_Battery WMIC Path Win32_Processor WMIC Class Win32_Battery WMIC Class ComputerSystem et cetera. Is there any way to list ...
0
votes
0answers
651 views

Is it normal for WmiPrvSE.exe to consume 10% CPU non-stop?

Resource Monitor shows Average CPU for WmiPrvSE.exe is 10%. Is that normal? This is just a 64-bit Vista laptop with an Intel P7550 (Core 2 Duo @ 2.26GHz) and 4G RAM. It's not running anything special ...
4
votes
1answer
1k views

How to export WMI values to a file?

There is a way to export all the content off WMI from cmd interface to a txt file?
3
votes
1answer
640 views

wmiprvse.exe does a lot of disk seeking activity once every day

wmiprvse.exe process does a lot of disk activity, working with all files in system32 directory (according to filemon). Any other process which wants to do smth with disk is very slow while ...
4
votes
2answers
3k views

WIN32_NetworkAdapterConfiguration does not report IP from PPP adapter

On a Windows 7 device, the following WMI query does not report back an enabled PPP adapter: Select Index,MACAddress,IPAddress,IPSubnet,DefaultIPGateway,DNSServerSearchOrder from ...