Windows Management Instrumentation

learn more… | top users | synonyms

4
votes
1answer
533 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 ...
3
votes
1answer
874 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 ...
3
votes
1answer
555 views

Is there a way to set access to WMI using GroupPolicy?

From various documentation it appears that to change WMI access you need to use WMI to access the running service and modify specific parts of the tree. Its kind of annoying changing 150,000 hosts ...
2
votes
1answer
35 views

WMI query of DNS shows a root hint that's not present in the DNS plugin.

I was writing a Powershell script for my network when I came across some alarming information in our DNS. Bear in mind we still use Powershell v2, not v3. So I have to query DNS via the Get-WMI ...
2
votes
1answer
1k views

WMI filter for Internet Explorer 10+

I need to apply a GPO on all machines with IE 10+ but the setting does not need to be and shouldn't be applied to ie 9. All the machines are Windows Vista, 7, and 8 (some 32 bit and others 64). I ...
2
votes
1answer
192 views

Is there a way to collect WMI or WBEM/CIM data with Collectd?

I've got an Ubuntu server running statsd, collectd and Graphite. I'm looking to collect data from Windows servers via WMI. I don't see an official plugin for WMI or WBEM/CIM on Collectd's web site. Is ...
1
vote
1answer
93 views

How can I retrieve the data types of properties when querying WMI via Winrm

Winrm allows me to query WMI via the WS-MAN protocol as opposed to DCOM. However, in the DCOM implementation I can retrieve the data types of the various properties of the various classes I query. ...
1
vote
1answer
386 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 ...
1
vote
1answer
475 views

No PerfMon data through WMI

I'm trying to get \DBServer\SQLServer:Buffer Manager\Page life expectancy data through WMI. When I do this through perfmon, I get actual data. However when I try and pull this from either of these ...
0
votes
1answer
26 views

What rights should non-admin user have to run Get-WmiObject?

I am trying to monitor windows machine with the help of wmi and powershell remoting. I managed to successfully start remote session with that machine throught non-admin user account, but now I have a ...
0
votes
1answer
86 views

Get OS information with WMI from Small Business Server 2011 for Windows 2008 virtual machine

In my organization, the main server is Windows Small Business 2011. It uses a WMI service (I think) to get the Security and Update status of computers on the network. I have a Server 2008 virtual ...
0
votes
1answer
338 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. ...
0
votes
1answer
129 views

How to find a user in a specific group using wmi

I have added a "SearchingUser" user to administrators group of a remote server "RemoteServer". I am trying to verify the user is added to the server using WMIC and this is the command: wmic ...
0
votes
1answer
79 views

Pinging the hostname of the server I'm on does not reach out to DNS, responds with 'lowest' numerical IP

For example: Server: server1.contoso.com IPs present on server: Initially configured statically with 10.10.20.100, it had two additional IPs added to the same NIC, 10.10.20.20 and 10.10.20.102. A ...
0
votes
1answer
132 views

ASP.NET Applications WMI class not found

I'm trying to instrument ASP.NET cache behavior on a web cluster by accessing the counters in the WMI class, Win32_PerfFormattedData_ASPNET_ASPNETApplications. 2 of my servers have this class, but 1 ...
0
votes
1answer
204 views

GPO WMI username filter not working over RDP

I'm trying to write a WMI filter to prevent a GPO from applying to certain users SELECT * from Win32_ComputerSystem WHERE NOT UserName LIKE 'domain\\user1_%' AND NOT UserName LIKE 'domain\\user2_%' ...
0
votes
1answer
404 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 ...
0
votes
1answer
174 views

Cannot lookup domain objects using WMI when connected to remote server

I have a VBscript on server10 that takes a parameter of a server name, connects to the server name and queries WMI for information about members of groups. Set objWMIService = GetObject("winmgmts:\\" ...
0
votes
1answer
305 views

WMI Security issue

When I am trying to access WMI from a remote domain controller using WMIMGMT.MSC, I keep getting "Failed to connect to \(remote server) because 'Win32: Access is denied.'. Does anyone have any ideas ...
3
votes
0answers
55 views

How to accept EULAs for Software updates deployed through SCCM using Powershell

I'm trying to use the Start-CMSoftwareUpdateDeployment cmdlet to deploy a software update group to an existing collection. PS WHO:\> Start-CMSoftwareUpdateDeployment -SoftwareUpdateGroupName ...
2
votes
0answers
81 views

Can I create a WMI filter that will evaluate to True for both Client computers and Terminal Servers?

I have a GPO that is currently being run only on client computers (XP, Vista, 7, etc.), by using a WMI filter with the following query: select * from Win32_OperatingSystem where ProductType='1' I ...
2
votes
0answers
60 views

Listing all WMI classes with winrm/wsman

Is there a way to pull all WMI information from a system with a single winrm command? I can run commands such as winrm enum wmicimv2/win32_computersystem, which will give me information like: ...
2
votes
0answers
228 views

SCCM 2007: Create new Advertisement using WMI

I'm trying to create a new advertisement using Powershell. I've looked around and found a bunch of scripts that use WMI. Using Set-WMIInstance upon the SMS_Advertisement class. I can accomplish ...
2
votes
0answers
202 views

What constitutes a large WMI repository and what can cause it to grow?

Our organization is experiencing lengthy startup times after improper shutdowns that seem to be tied to the size of the WMI repository. For example, a repository folder size of 50 megs might result ...
2
votes
0answers
71 views

Windows WMI get a snapshot EnabledState

I am trying to get the EnabledState of a virtual machine snapshot using WMI. That is I try to get the EnabledState that was current for the virtual machine when the snapshot was taken. So far I know ...
2
votes
0answers
233 views

Processing of group policy failed - Only on 32bit machines

When forcing a group policy update I get the following messgae, but only on 32bit windows machines. 64bit works fine. Running windows 7. The processing of Group Policy failed. Windows could not ...
1
vote
0answers
57 views

Powershell script to retrieve the same kind of info reported by DMDIAG for dynamic disks

This article about windows partition alignment explains that checking the alignment offset of dynamic disks can be done with the DMDIAG tool to get the "relative sectors" property. With dynamic ...
1
vote
0answers
459 views

How to Make a WMI call fail?

I'm a developer but I have a question that seems belongs more in the ServerFault category than StackOverflow. We have a production service that every so often tends to throw: ...
1
vote
0answers
562 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 ...
1
vote
0answers
89 views

Obtain event servity from Win32_ReliabilityRecords

Microsoft introduced the "Reliability Monitor" in Windows Vista. I use WMI to access this information, and more precisely I query the Win32_ReliabilityRecords class. This yields the list of events ...
1
vote
0answers
540 views

TFS Reporting Services Configuration Error - The RPC Server is Unavailable

I'm trying to configure Team Foundation Reporting but without any success. The App Tier and the Data Tier are in separate servers. I guess it's not a port/firewall problem, because I opened port ...
1
vote
0answers
283 views

Safe to use WMI to remotely recycle IIS app pools on production servers?

What are the downsides to enabling & using WMI to remotely manage IIS? I plan to have a specific user account (non-admin) with only Execute Methods, Enable Account, and Remote Enable WMI ...
0
votes
0answers
9 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
0answers
32 views

Access to RSOP via WMI

I need to retrieve data from RSOP using the following script written in VBS: Const FL_FORCE_CREATE_NAMESPACE = 5 strComputer = "." Set objWMIService = ...
0
votes
0answers
42 views

What permissions/drive mapping are needed to launch a process on a remote server with WMI?

I have a user that would like to distribute their independent jobs across multiple machines in our server farm. One possibility is to use WMI with the Win32_Process class, and wait for termination ...
0
votes
0answers
46 views

GPO applied though WMI filter says false

I have a GPO which configures the folder redirection to a network share. This works fine on all workstations with this WMI filter: SELECT * FROM Win32_OperatingSystem WHERE ProductType = "1" But an ...
0
votes
0answers
71 views

Identify Hyper-V VM GUID from Performance Counters

I am gathering CPU performance data for Hyper-V Virtual machines using perfmon or through WMI using the "Hyper-V Hypervisor Virtual Processor" counter. The output data contains My issue is that when ...
0
votes
0answers
40 views

Determining a laptop fleet's battery health

I'm trying to determine the battery status of my school's laptop fleet. I should be able to extract this using WMI (as per http://msdn.microsoft.com/en-us/library/aa394074(v=vs.85).aspx ) but the ...
0
votes
0answers
44 views

Unable to launch SQL Server Configuration Manager - WMI provider issue

Hoping you can help. I am having issues opening SQL Server Configuration Manager on Server 2k3 with the following error: Cannot connect to WMI provider. You do not have permission or the server is ...
0
votes
0answers
88 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: ...
0
votes
0answers
58 views

Windows server 2012, missing WMI ASPNET counters

I've been using the following WMI query to check how many IIS sites are currently running on my Windows 2008 webservers: SELECT ApplicationsRunning FROM Win32_PerfRawData_ASPNET4030319_ASPNETv4030319 ...
0
votes
0answers
80 views

Adding properties to the Win32_UserAccount Class

How to add new properties to *Win32_UserAccount* class and add values to it? I have used wbemtest command and Have created a new property to the class Win32_UserAccount. How to make it fetch the ...
0
votes
0answers
28 views

Migrate Get-MailboxDatabaseCopyStatus to WMI

Currently we are using a lot of Powershell scripts for Exchange monitoring (executed via nrpe). I would like to change this to query WMI remotely for more convenience. I was wondering if there's an ...
0
votes
0answers
37 views

Remotely search across all user mailboxes as an Exchange administrator

Using WMI (Exchange 2003) or PowerShell (Exchange 2007+) is it possible to search across all user mailboxes in an Exchange environment?
0
votes
0answers
180 views

is it possible to set DCOM static TCP endpoint from Server - FIx WMI Port SERVER SIDE

I need to establish remote WMI Connections from a Windows Server 2008 with static port. I know that WMI calls use port 135 and then chooses a random port, what I would like to know is if WMI can be ...
0
votes
0answers
3k 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 ...
0
votes
0answers
286 views

Win32_Process Create returns error 3 - Insufficient Privileges. Options

I've been trying to remotely create a process using WMI (through PowerShell) and i'm experiencing some trouble : The details : Remote Server : Windows 2003 R2 (Domain controller). Local ...
0
votes
0answers
2k views

WMI permissions on Win2008 R2

Attempting to use a SQL monitoring package (Red-Gate) that queries OS metrics via WMI. Running on a Windows 2003 server, I can monitor one server running Windows 2008 R2 but not another. Using ...
0
votes
0answers
338 views

Dell OMCI: Wacky values for Temperature and etc? (Win7x64)

Hey All. I am running a Dell Precision R5400 Workstation with dell OMCI installed. I am using it to test polling various data over WMI for our monitoring across the enterprise. I'm getting some weird ...
0
votes
0answers
382 views

WMI network programming in C#

I am working on network project in C# and I can use only WMI and Win32_* classes. I'm using Win32_NetworkAdapter for connection to remote computers but I've got an RPC error which I can't figure out ...