Questions tagged [wmi]
Windows Management Instrumentation
24
questions
39
votes
9
answers
175k
views
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 ...
32
votes
6
answers
8k
views
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.
...
20
votes
8
answers
13k
views
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 ...
22
votes
2
answers
170k
views
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.
...
14
votes
5
answers
18k
views
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 ...
11
votes
4
answers
14k
views
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 ...
11
votes
3
answers
2k
views
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 ...
8
votes
3
answers
11k
views
SCCM Global Condition WQL Query Type Mismatch (wbemErrTypeMismatch - 0x80041005)
We have been handling all of our targeting logic for Packages (and now Applications) with Collections. Now that we have moved from SCCM 2007 to SCCM 2012 SP1 it was recommended that we move that logic ...
7
votes
2
answers
42k
views
How to monitor DFSR backlog more efficiently than dfsrdiag
Is there a way to monitor the DFSR backlog in a manner more efficient than using dfsrdiag.exe backlog?
I wrote a program that just slurps in the backlog count via dfsrdiag.exe backlog /smem:alpha /...
6
votes
2
answers
688
views
identify / fingerprint a Windows Server core installation versus full
Seems like this should be easy, but I am not finding any information on how to remotely identify a Windows Server "core" installation as such, via WMI, Powershell or other method that can query lots ...
5
votes
3
answers
18k
views
WMI: wmic linux agent query error: NTSTATUS: NT_STATUS_ACCESS_DENIED
Myself new to wmic and keep trying for a long time with default agent query approach.
wmic is linux based WMI tool to talk to windows WMI agent. While trying to fetch data with wmic from nt(win7 with ...
4
votes
2
answers
9k
views
Use WMI to remove a page file
I can modify page file settings via WMI like this
PS D:\> gwmi win32_pagefilesetting
MaximumSize Name Caption
...
3
votes
2
answers
8k
views
Delete Shadow Copies Remotely
I currently use DISKSHADOW to remove shadow copies from our Hyper-V servers. To do this I have to log onto the server but psexec doesn't work.
psexec \\hyper-v-server diskshadow
DISKSHADOW> Error ...
3
votes
1
answer
1k
views
WMI queries can't run with a FQDN?
On my new Azure 2012r2 boxes in a DMZ I can't get a WMI query to work with a FQDN reference. These queries run from the local machine, but need to reference it by FQDN to work with our monitoring ...
2
votes
2
answers
5k
views
Timestamp of Last Definition Update for Microsoft Security Essentials via Script
Is there any way to check this via VBScript or Powershell? I have briefly looked at the SecurityCenter and SecurityCenter2 WMI classes, but neither of them look especially useful. It appears the ...
1
vote
1
answer
482
views
How do I open the firewall for my monitoring software to access WMI?
I have a SQL Server machine and a monitoring machine, and I need the monitoring software on the monitor host to be able to read the WMI data on the SQL Server host. (The monitoring software is ...
1
vote
2
answers
3k
views
active directory users have auto-created private user share
Currently using server 2008 and a logon vbscript to auto mount 3 drives. I'd like to have a mapped network drive that goes to a user-private share automatically. Is this possible to rig up in a login ...
1
vote
1
answer
8k
views
WMI query between two different AD sites?
I'm having problem in querying WMI between two different AD sites that is not trusting each other
What I have tried:
Telnet between Windows Server 2008 using IP address and port 135 is all working ...
1
vote
3
answers
3k
views
WMI and adding Multiple IP Addresses?
Is it possible, with WMI, to bind IP addresses to a NIC? I have been able to enable a static IP, but I can't seem to find any information on adding additional IPs.
this code helped and after I ...
1
vote
2
answers
6k
views
What are the minimal permissions for WMI access to processes CommandLine?
I have been trying to get a remote listing of running windows processes including their CommandLine/ExecutablePath attribute through WMI as a non-administrator domain user for a monitoring tool. I ...
1
vote
8
answers
5k
views
Need a resource that lists WMI perfmon classes
Does anyone have links to resources that list perfmon classes that are called by the WMI Query Language? I have some monitoring software that can pull data via WMI but I have to enter a query in WMI ...
0
votes
1
answer
5k
views
Query "SELECT * from Win32_Process" hangs indefinitely
As a part of a larger C# code base, I've been running the following query regularly on the same machine (Windows XP SP2):
"SELECT * from Win32_Process"
It's been working as expected until today. ...
0
votes
0
answers
4k
views
powershell script to run bitlocker
I am trying to enable bitlocker in all domain joined user machines in my office. I have used a logon script to enable bitlocker in all machines. But this tool is enabling bitlocker in C drive alone. I ...
0
votes
0
answers
2k
views
Why Wmi info for disk size is wrong?
i am expecting a very curious problem. In a script collecting disk infos on a list of W2008 servers, i realize that, for some servers, the Wmi info for the disk size is wrong.
My Powershell command: ...