Questions tagged [wmi]

Windows Management Instrumentation

Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can write WMI scripts or applications to automate administrative tasks on remote computers but WMI also supplies management data to other parts of the operating system and products, for example System Center Operations Manager, formerly Microsoft Operations Manager (MOM), or Windows Remote Management (WinRM).

396 questions
37
votes
9 answers

Which permissions/rights does a user need to have WMI access on remote machines?

I'm writing a monitoring service that uses WMI to get information from remote machines. Having local admin rights on all these machines is not possible for political reasons. Is this possible? What permissions/rights does my user require for this?
jpoh
  • 801
  • 1
  • 8
  • 13
32
votes
6 answers

Should I install Windows Management Framework 3.0?

I'm posting this as a BIG CAVEAT to everyone. I know it's not a standard Q&A, but I think this is something every Windows admin should know. There is a very real risk of falling into Big Troubles. Microsoft has recently released Windows Management…
Massimo
  • 68,714
  • 56
  • 196
  • 319
22
votes
2 answers

Why is my System event log full of WMI Performance Adapter messages?

The System event log continually shows these messages: The WMI Performance Adapter service entered the running state. and then The WMI Performance Adapter service entered the stopped state. Looks like it starts up every 2 minutes, then shuts…
Carlton Jenke
  • 323
  • 1
  • 2
  • 6
20
votes
8 answers

Identify Windows 2012 Server core

I want to detect if a 2012 server is has been setup as a Core install using WMI. An earlier question, would seem to indicate that I can get the OperatingSystemSKU from Win32_OperatingSystem. My Windows 2012 Core systems are reporting a…
Zoredache
  • 128,755
  • 40
  • 271
  • 413
18
votes
2 answers

What is stored in %Windir%\System32\LogFiles\WMI\RtBackup?

I occasionally notice in Resource Monitor hard disk activity related to ETL files in the folder C:\Windows\System32\LogFiles\WMI\RtBackup. Which process/service creates these ETL files and what is their purpose? Resource Monitor shows "System" as…
Helge Klein
  • 2,031
  • 1
  • 15
  • 22
15
votes
1 answer

SCCM 2012 SP1 - DownloadContentFiles() failed with hr=0x80041013

We noticed our Automatic Deployment Rules for Software Updates failed to automatically download and apply this month's patches from Microsoft although they are correctly listed in the Catalog. The Automatic Deployment Rules list their Last Error…
user62491
14
votes
8 answers

What is the best (free) tool to wrap an .exe into a MSI?

I'm looking at deploying some software via GPSI and the current version of the software is distributed as a .exe so I need to convert it to an MSI file. furthermore, why does MS still distribute some of its software (WMI Tools) as .exe
GNUix
  • 480
  • 1
  • 5
  • 13
13
votes
5 answers

What is the closest equivalent of "load average" in Windows available via WMI?

Linux has a notion of Load Average which is defined as: System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable state is either using the CPU or waiting to use the CPU.…
leonigmig
  • 317
  • 2
  • 4
  • 8
12
votes
1 answer

Common WQL Monitoring Queries

What WQL queries would you use for monitoring typical Windows bottlenecks? Which would you use to obtain data similar to 'top' or 'netstat'? What interval would you poll at? Here are a few that I find helpful. SELECT PercentDiskTime,…
Yancy
  • 89
  • 1
  • 6
12
votes
1 answer

Is anyone using an SNMP and/or WMI poller to push custom metrics to Amazon CloudWatch, and if so how?

Amazon CloudWatch has a decent console, and an alarm system which uses Amazon SNS for notifications. Originally it only gave you AWS metrics, e.g. EC2 instance CPU utilization. Recently they added custom metrics. You can use the CloudWatch REST API…
Greg Hendershott
  • 786
  • 1
  • 7
  • 12
11
votes
2 answers

WmiPrvSE memory leak on Windows 2008 *R2*

I've seen references on Windows 2008 to WmiPrvSE leaks, but nothing about Windows 2008 R2. We're running R2 on top of Hyper-V (2008). We are also running NSClient++ for monitoring from opsview. Over time, WmiPrvSE.exe starts to use a lot of memory,…
MichaelGG
  • 1,739
  • 8
  • 25
  • 30
11
votes
4 answers

Windows 10 WMI and Event Viewer access denied

We have a Windows domain where I used GPOs to enable remote management and monitoring of all of our workstations using WMI. I can also connect to all of our computers with Computer Management and start and stop services and look at event logs, etc.…
Todd Wilcox
  • 2,831
  • 2
  • 19
  • 31
11
votes
3 answers

Installing Windows Management Framework 3.0 basically destroyed WMI, how can I fix it without reinstalling the O.S.?

Related, of course, to this question. Before discovering it was somewhat... dangerous, I installed Windows Management Framework 3.0 on a number of Windows Server 2008 R2 SP1 servers, and WMI got completely trashed on all of them. This is what the…
Massimo
  • 68,714
  • 56
  • 196
  • 319
11
votes
4 answers

Network Logon Issues with Group Policy and Network

I am gravely in need of your help and assistance. We have a problem with our logon and startup to our Windows 7 Enterprise system. We have more than 3000 Windows Desktops situated in roughly 20+ buildings around campus. Almost every computer on…
bobloki
10
votes
2 answers

List ALL Printers using Powershell

I'm having issues listing all the printers on a computer using Powershell. We have a batch script that will add/remove/list "per computer" printers using PrintUI. I can use PrintUI to list the printers. rundll32 printui.dll,PrintUIEntry /ge…
Schlauge
  • 156
  • 1
  • 1
  • 6
1
2 3
26 27