Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
1answer
14 views

How to parse WMIC output in a batch file and compare to an array?

I’m writing a batch script to pull SCCM site codes from SCCM clients. I’d like to pull the clients site code and compare that to an array of site codes. If there is a match then I’ll uninstall the ...
1
vote
0answers
11 views

List 3rd party WMI providers before rebuilding repository

I'm looking for some Powershell cmdlet/script which list WMI 3rd party providers before I will rebuild whole repository. There is GWMI cmdlet which lists all WMI objects but I'm missing something ...
2
votes
2answers
4k 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 ...
0
votes
1answer
2k views

How to enable connection security for WMI firewall rules when using VAMT 2.0?

I want to use VAMT 2.0 to install product keys and active software in remote machines. Everything works fine as long as the ASync-In, DCOM-In, and WMI-In Windows Firewall rules are enabled and the ...
1
vote
1answer
26 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 ...
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 ...
1
vote
3answers
429 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 ...
3
votes
1answer
12k views

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 ...
11
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 ...
0
votes
1answer
52 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 ...
6
votes
1answer
43 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 ...
3
votes
4answers
3k views

WMI permissions: Select CommandLine, ProcessId FROM Win32_Process returns no data for CommandLine

I am gathering performance data via WMI and would like to avoid having to use an account in the Administrators group for this purpose. The target machine is running Windows Server 2003 with the latest ...
1
vote
1answer
1k views

Obtain device driver version and associated GUID using PowerShell?

Right now, I am getting two separate objects A Win32_NetworkAdapter WMI object A Win32_PnpSignedDriver WMI object In my previous scripts, I've made sure I was calling separate objects, and ...
4
votes
1answer
1k views

What are the minimum permissions to read the WMI class 'MSSerial_PortName'?

I am configuring a local application user (part of BUILTIN\Users) on a Windows 7 kiosk. The kiosk has a special USB device running on a virtual COM port. The user needs permission to read the WMI ...
0
votes
0answers
18 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 -...
1
vote
1answer
2k views

WMI Error in event log every boot: EventID 5605

I have a few servers that I keep getting the EventID error 5605 The root\cimv2\TerminalServices namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if ...
0
votes
1answer
31 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:\ ...
1
vote
1answer
2k views

Exception Enumerating SQL Server Instances with SMO WMI ManagedComputer

I'm trying to use the SMO WMI API/objects in PowerShell 2.0 on Windows 7 with SQL Server 2008 R2 installed to get a list of SQL Server instances on the local computer using the Managed Comuter object. ...
2
votes
1answer
399 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') ...
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
34 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
107 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, ...
16
votes
7answers
3k 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 ...
0
votes
2answers
39 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-...
0
votes
1answer
9k views

How to get cluster information remotely via Powershell?

I've been trying to find a good way to gather various pieces of a windows cluster setup remotely, preferably via WMI, as we are not yet at a point where Powershell remoting is implemented (and I know ...
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 ...
4
votes
1answer
193 views

Server 2008 R2 WMI problems

I get error "1065" from Group Policy when trying to run GPUpdate, and Group Policy is specifying that it cannot process the WMI query. I can successfully run some queries manually, but WMIDiag ...
3
votes
2answers
2k views

Get User Rights Assignment values in Local Computer Setting using VBScript and WMI

I'd like to get all the values of User Rights Assignment in Local Computer Setting using VBScript and WMI. Is there a way I can do this with VBScript and WMI? Thanks.
2
votes
0answers
147 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
23 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 ...
0
votes
3answers
1k views

How to retrieve names of all private MSMQ queues - efficiently?

How can I retrieve the names of all of the private MSMQ queues on the local machine, without using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(".")? I'm using PowerShell so any solution ...
1
vote
0answers
35 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
147 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
57 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 ...
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 ...
3
votes
1answer
2k views

monitoring disk i/o via wmi

I'm using WMI to monitor Windows Server 2003 and Windows Server 2008 hosts. I got all the info I wanted but the disk I/O performance. I've tried quering the "...
3
votes
3answers
6k views

WMI: How can I fix the port?

I need to use WMI for getting some information from my servers. But I have a server in DMZ, so I need to open a port in my firewall. I've searching and I found that WMI uses random port. How can this ...
6
votes
1answer
2k views

Have issue with monitoring 32bit app pools running on 64bit IIS

I am performing a monitoring task on my 64bit web server which has couple of applications pools running in 32bit mode. I am using .Net CLR Memory object in perfmon to monitor them. However, my ...
2
votes
0answers
120 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/...
4
votes
0answers
307 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 ...
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 ...
3
votes
2answers
179 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
votes
2answers
176 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 ...
6
votes
2answers
33k 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 ...
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 ...
3
votes
1answer
2k views

Error while querying various classes within root/webadministration namespace

I am using a WMI query(using wbemtest): select * from AuthenticationSection using namespace root/webadministration, and I am getting the follwing error on a few servers (Windows Server 2008): ...
1
vote
3answers
684 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: ...