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
10 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 ...
-2
votes
0answers
20 views

Detect touch hardware using VBScript [on hold]

I am looking for a way to detect installed touch hardware using VBScript. I have this script ready but waiting for a hardware to be made available for testing. This script looks for a pointing device ...
0
votes
0answers
24 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
87 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
12 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
0answers
127 views

How to login remote system connected in lan using C# code?

I can restart and shutdown and turn-on remote computers which are connected to my machine. In addition with those task I need a way to log-in remote system directly while I turn-on that machine. ...
0
votes
2answers
26 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
191 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
62 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
58 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
913 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. ...
1
vote
0answers
179 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
143 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
43 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 ...
0
votes
2answers
640 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
1answer
264 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
468 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
190 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
376 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
273 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 ...
4
votes
1answer
8k 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
154 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
166 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
163 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
136 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
139 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
308 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
6k 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
843 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
192 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
915 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
2k 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
331 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
327 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
4k 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
628 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
2k 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
558 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 ...
3
votes
1answer
919 views

How can I expose my fan speed, cpu temp, etc to WMI and/or SNMP? [duplicate]

Possible Duplicate: Collect temperature and fan speed with munin from Windows 7 PC? How can I expose my fan speed, cpu temp, etc to WMI and/or SNMP? Free solutions are preferred. On ...
59
votes
5answers
206k views

Why does WMI Provider Host (WmiPrvSE.exe) keep spiking my CPU?

I generally keep my laptop on 24x7, and at the end of the day it's really annoying to have my thighs burnt because over overheating. The overheating seems to be a result of WMI Provider Host ...
2
votes
2answers
2k views

How to extend a logical volume using Powershell

On Windows XP SP3, how can I extend a volume using Powershell on a remote computer? I prefer WMI over Powershell remoting.
1
vote
2answers
11k views

Repair WMI on Windows 7 [closed]

I had a problem with my Microsoft SQL Server 2008, importing data and generating scripts, so I decided to uninstall it. When I tried to remove it, I got an error from the check screen. The WMI ...
2
votes
1answer
4k views

How to display an array of bytes in PowerShell as a joined string of hex digits?

I am using WMI to find out what my WWN (World Wide Name) is for my port on an HBA card. I can get the WWN back but it is contained as an 8 byte array. I would like to convert this byte array into a ...
1
vote
1answer
235 views

Remotely access log files with WMI

What kind of logs can I access with WMI? Is it just event logs or can I for instance somehow fetch my FTP server logs, Exchange Logs, IIS logs etc.