Windows Management Instrumentation

learn more… | top users | synonyms

1
vote
1answer
22 views

Powershell find orphaned processes

I am looking for a way to find processes that do not have a parent process running (orphaned processes). Im attempting to do this using win32_process. I have the query that returns the attributes ...
6
votes
1answer
42 views

WMI permissions for changing local IP without elevated privileges

I have implemented a tiny tool that allows one to change the IP settings of a selected Network Interface (NIC) by overwriting the values via the WMI. I've noticed that the tool can change the settings ...
0
votes
0answers
16 views

WMI query returns “Generic Failure” exception for certain classes

I am trying to query Win32_USBHub or Win32_DiskDrive on a remote server using PowerShell, but I am receiving the following error: [PS]> Get-WmiObject -Class "Win32_USBHub" -ComputerName MyServer -...
0
votes
1answer
92 views

negative WMI-Filter for security filtering in GPO

I need to create a group policy object (GPO) that will disable printer redirection for all computers except certain servers. I considered making a security group and adding all the computers except ...
0
votes
1answer
31 views

How to use WMIC to connect to remote machine and output OS information to a file?

I want to know how to use WMIC to connect to remote host and output their PC's OS information(Installed programs list) to a file. I tried wmic /node: <IP address> OS get vendor, name > c:\...
1
vote
1answer
105 views

WMI “Access Denied” to Read Only Domain Controller

From a management machine using wbemtest, we are able to successfully connect to a remote Read-Only Domain Controller that is running Windows Server 2012 R2 Datacenter with a user who is a member of ...
0
votes
0answers
20 views

WMI permission issues with specific users (processes)

I am using a VB script to determine whether or not a specific process is running on a remote server. This allows me to inform the user to close this application before backup is running. (Old system, ...
0
votes
2answers
38 views

Targeted GPO deployments from Samba (4) DC

I've seem to be stuck. I come from a mostly POSIX background, & thrown into the deep-end on this one, so learning as I go along - so not sure if there's no solution, or if it's my own Dunning-...
1
vote
1answer
39 views

WMI query ran in a Powershell console yields less results in 32 bits mode than 64 bits mode

This query gwmi -Class Win32_PerfFormattedData_NETFramework_NETCLRMemory gives fewer results if I run it in a 32 bits PowerShell console than in a 64 bits one. It looks like background processes, ...
0
votes
0answers
61 views

WMI fails with to query with linux wmic, but works from a windows machine

I have 2 Servers, one at 192.168.1.10 and one at 192.168.1.20, one work, the other gives me this output and I cannot figure out why, they are both running Windows 12R2. I am able to query the machine ...
0
votes
1answer
30 views

WMI query to find lack of drive letter for Group Policy

I'm building a group policy to apply to a subset of users within my organization. This subset of users have no Home Directory set on their Active Directory object, whereas other users have an I:\ ...
0
votes
1answer
46 views

Using SCCM WMI Global Condition to detect exsistence of hardware

I am attempting to use Global Conditions to allow SCCM 2012 Application objects to trigger the installation of a video driver package. I'm running into issues when I have both an onboard (CPU or ...
2
votes
0answers
142 views

Why can't I remote manage a domain-joined Windows 10 computer?

I have a Active Directory domain of old Windows 7 computers and introduced a new Windows 10 computer. However, when I right-click the Win10 computer in AD Users & Computers, and select Manage, I ...
1
vote
0answers
39 views

wmic query fails with “NTSTATUS: NT_STATUS_BUFFER_TOO_SMALL - Buffer too small” error

I have a class that creates an object in WMI and I'd like to query it from a linux machine running cacti using wmic. If i run the query I get an error, see below: /bin/wmic --namespace='ROOT\CIMV2\...
0
votes
1answer
21 views

List a server's available WMI Performance data classes

How can I get a list of all WMI performance counters classes on a given server, to use in scripts for monitoring purposes. I know one can use the performance monitor, but the classes displayed don't ...
1
vote
0answers
34 views

Get-WmiCounter Win32_PerfFormattedData_NETFramework_NETCLRMemory Incomplete in non admin context

So I have created a script to gather counters using Get-CimInstance (which supercedes Get-WMIObject) and run it as a services via srvany.exe. I get an issue where for the .Net CLR classes, some ...
1
vote
2answers
140 views

WMI Remote “Access Denied”

I can no longer remote access WMI on anything in my environment (10/8.1/XP/7 workstations). Here some specifics: 1) I am a Domain Admin and "MRT" is my user and password "mmmmn". 2) Since this ...
1
vote
2answers
56 views

monitor windows server - running behind firewall using WMI

I'm havingg 100 windows machines which is running behind the firewall. But my monitoring server is running outside the network [ public]. For SNMP , I can put one proxy server inside the internal ...
2
votes
0answers
116 views

Get-WmiObject Win32_PerfFormattedData_Tcpip_NetworkInterface results in 'Invalid Class' error

On of my Nagios plugins to monitor the network load gives me problems on one Windows 2008 R2 server (out of 600). You can download the plugin here: https://github.com/willemdh/...
0
votes
0answers
22 views

WMI failure causing SBS Console crash?

Dell PowerEdge T410 Windows Small Business Server 2008 SP2, all updates applied Some months ago, this server was restored from a bare metal Windows Server Backup image. Since then, the SBS Console ...
-1
votes
2answers
173 views

root\MsCluster - The WMI provider returned an 'access denied' error

I have prepared the non-administrator user for collecting data using WMI. I can query any namespace using this user except root/MSCluster. For root/MSCluster it returns 'access denied'. At the ...
2
votes
0answers
29 views

WMI Query - First and Fourth IP octet

Is anyone aware of any WMI queries that could be used within group policy which only lists all IP address, which end in .200 and I have multiple sites, multiple networks, I only need to list the ...
1
vote
3answers
665 views

Get installed programs via cmd or powershell [duplicate]

I am trying to get all installed apps in the computers of my domain but i haven't found a way to get the information in an accurate way first i was trying to achieve this through the registry key: ...
0
votes
0answers
17 views

Browse through wmi classes GUI

I am trying to explore, or browse through wmi classes in a graphical interface. I have been searching about the options available but there are many. Microsoft offers wmi object explorer but it ...
0
votes
0answers
82 views

WMI service not working properly

I'm Having an issue with WMI, which seems to also affect DFS. I've tried rebuilding the repository, but it's still giving me the same error. Here's what DFS health report showing: SRV-FS02 (2 ...
3
votes
3answers
321 views

WMI instead of WMIC command to find application version?

I'm using wmic to find the current version of an in-house application. My command looks like this: wmic product where "name='Application Name'" get version I've never used wmi, but I've read about ...
0
votes
1answer
122 views

SCCM Server 2012 WMI Query For Missing Microsoft Patches On Specific Host

What is the appropriate WMI query to ask a 2012 SCCM server for a list of missing Microsoft patches on a specific host that the SCCM server manages. For example, say I want to check which patches are ...
0
votes
0answers
18 views

Querying supported 802.11 protocols through WMI?

Is it possible to query a network adapters supported 802.11 protocols through WMI? The computers I'm trying to do this on are all running windows 7 professional. I know it's possible to look up the ...
0
votes
1answer
28 views

Windows Server - WMI Permission?

This question is related to this one. I am trying to get some disk sensor data via WMI (W2012R2). Therefore I added a user wmiagent and granted some rights. I did it exactly like in this guide. Some ...
0
votes
0answers
88 views

Firewall Blocking PSWindowsUpdate

Problem I am trying to use the script from this link below to retrieve windows updates from a remote computer (Server 2012 R2) using the command Get-WUList. https://gallery.technet.microsoft.com/...
1
vote
2answers
366 views

Which permissions/rights does a user need to run “Get-WmiObject win32_service” on a remote machine?

I am in almost the same situation as the person who asked this question (link). The only difference is that I'm not writing a monitoring service but trying to get a WMI-based monitoring service to ...
1
vote
1answer
1k views

WMI Issue - The paging file is too small for this operation to complete

I have an issue with a Windows Server 2008 Standard SP1 whereby I have lost the ability to monitor it remotely. After investigation, it appears to be because there is an issue with WMI. In the WMI ...
3
votes
2answers
178 views

Configuration of RelayIPList using CimObject breaks Windows SMTP server

I am trying to configure Windows Server 2012 SMTP server using PowerShell. I plumbed for using the IISSmtpServerSettings CimObject. I get the object, apply my change (allow localhost to relay sender ...
1
vote
1answer
121 views

Is there a supported Windows CIM/WMI provider for Dell PERC Generation 11 or later?

I have Dell OpenManage Server Administrator (version 7.4) for Windows installed on a 12th generation server with a PERC H710P. That machine has a root\cimv2\dell namespace which does not seem to ...
0
votes
0answers
58 views

How to create a new user and add it to a group in VisualSVN with the command line?

I have a VisualSVN Server running on a Windows Server machine. I want to create new users and add them to certain groups in batch. How can I do it by using only the command line? If I understood ...
5
votes
1answer
57 views

Bug in WMI namespace for MicrosoftDNS Statistics class?

I'm trying to query DNS statistics from Windows Server 2012 via WMI. If I run the following command in Powershell: Get-WmiObject -Namespace root\MicrosoftDNS -Class MicrosoftDNS_Statistic | ?{ $_....
1
vote
1answer
78 views

WMI filter is ignored by certain clients in group policies

The applied WMI filter to a group policy is ignored by certain clients. It works fine on other clients, returns the correct value, but on some clients it is just not applied and does not appear in ...
1
vote
3answers
427 views

Win32_LogicalDisk doesn't retrieve network drives from remote machines

I'd like to use WMI to retrieve all logical disks from a remote host. For some unknown reason, running get-wmiobject Win32_LogicalDisk -computername remoteHost fails to include network drives located ...
1
vote
2answers
898 views

WMI query to check for IP default gateway for OSD

I'm trying to add a condition for a command line, which should only be run if the condition is met. I'm doing this by using a WMI Query; Select * From Win32_NetworkAdapterConfiguration Where ...
0
votes
1answer
85 views

How to show powershell input as part of output

I'm trying to get the OS version of a selection of the computers on my domain. I created a powershell command that does this but it is missing the computer name on the output. This is the command Get-...
10
votes
3answers
3k 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 ...
2
votes
3answers
589 views

How do I get the free space of a remote disk without admin privileges? (Windows)

I'm an admin on two servers (Win 2008 R2). I have a scheduled task that copies large files from a share on one server to another. Before I do the copy, I check that the destination disk on the other ...
0
votes
1answer
787 views

Which registry key corresponds to “Log on as a service”?

I want to be able to set this value programmatically (preferably via WMI). It must live in the registry or some other location. Yes, I know how to do it via MMC using secpol.msc, but I need to ...
0
votes
2answers
93 views

Poll domain members for their screen resolutions

Is there a way via WMI or Powershell to ask each domain member what the resolution is on their desktop? I need to know but can't go and visit each one. For bonus points, how to summarize the results ...
1
vote
2answers
1k views

Create SCCM device collection based on last logged on users who are members of an AD security group

I'm trying to create a device collection in SCCM 2012 which contains only the devices who are used by the users who are members of a certain User AD Security Group. I tried to accomplish this by first ...
1
vote
0answers
89 views

Monitoring Exchange 2013 Databases with Intermapper [closed]

I'm currently setting up a Intermapper map, which is a monitoring system, to monitor a Exchange 2013 server and I couldn't find yet a way to monitor the databases health. For now, just the mount ...
2
votes
1answer
397 views

Using WMI to query Windows Event Collector logs

Using WMI to query the eventlog is quite simple, using Win32_NTLogEvent, for example: Get-WmiObject -query "SELECT *FROM Win32_NTLogEvent WHERE (logfile='Application' and SourceName='Something') ...
4
votes
0answers
305 views

Get-Process not working against remote Windows 7 clients

I have been trying to run Microsoft's GetNetworkStatistics script against remote computers to enable us to track what processes are using bandwidth along with other tools. I am unable to run the ...
8
votes
1answer
1k views

DFSR-related WMI info is missing

OS: Server 2012 Core and Server 2012 R2 Core. DFS-Replication is installed and appears healthy. I am using WMI to collect information from DFSR replication members. The queries work on many of the ...
1
vote
1answer
455 views

Access to “Windows Security” logs for “eventlog” group

Security logs are not available for users in eventlog group. I've checked this down to security event log file. eventlog group has all permissions. Unfortunately I cannot add my user to ...