Windows Management Instrumentation

learn more… | top users | synonyms

3
votes
3answers
5k 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 ...
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 ...
4
votes
0answers
221 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 ...
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 ...
1
vote
1answer
1k 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
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 ...
0
votes
0answers
5 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
70 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
0answers
9 views

is there any equivalent api for os x like windows wmi?

For C# it's easy to collect some data from computers, e.g. installed application list, but I haven't found anything similar for os x. Is there anything to get data from MacBook?
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 ...
2
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
2answers
3k 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
1k 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
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. ...
9
votes
1answer
1k 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
2answers
33 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 ...
5
votes
2answers
26k 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
20 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 ...
2
votes
1answer
1k 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): ...
3
votes
1answer
1k 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 ...
1
vote
3answers
140 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: ...
5
votes
1answer
50 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 | ?{ ...
0
votes
0answers
9 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
29 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 ...
0
votes
1answer
44 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 ...
3
votes
3answers
141 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 ...
5
votes
6answers
5k views

Useful WMI admin scripts

In a comment to my response to this question , cop1152 said he loved WMI scripts. Well, so do I! What are your favourite, best, most useful scripts you'd like to share with the community? thanks.
4
votes
1answer
146 views

Prevalence of WMI enabled in real Windows Server networks

Hi I would like to get opinions from systems administrators, on how common it is that WMI functionality is actually enabled in corporate networks. I am writing an enterprise network application that ...
0
votes
0answers
14 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
22 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
38 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. ...
0
votes
4answers
4k views

Export a list of installed features on a Windows 2008 server

I have been asked to specify the features which are installed on a production web server so a replica test environment can be created. I could point and click my way to the solution but I am curious ...
1
vote
1answer
94 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
1answer
50 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
2answers
98 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 ...
14
votes
6answers
2k 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 ...
1
vote
1answer
44 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
18 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 ...
3
votes
2answers
19k views

How to uninstall software using batch file

I want to uninstall a software by calling a bat file. It must be automatically, without entering any parameters during the uninstallation. How to make the bat file which would be able to uninstall ...
6
votes
2answers
357 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
2answers
272 views

Correlating volumes and physical disks through WMI

I'm trying to correlate volumes (as enumerated from win32_volume for those where DriveType = 3) back to win32_physicaldisk instances. Everything that I've seen in my research points to the answer ...
4
votes
6answers
23k views

How to get the IP Address for your Local Area Connection on Windows Server?

I want to create a batch or vbs file that will put together a url and executed. Part of that url needs to be the actual ip address of the machine. How I am able to get that IP address in a variable ...
1
vote
2answers
356 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
139 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
3answers
1k 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 ...
7
votes
2answers
2k views

powershell: How to check if S.M.A.R.T is enabled on remote machines

I was attempting to get disk info of remote machines, including whether or not SMART is enabled on the drive by using the win32_diskdrive class. This is trickier than I thought. While it's easy ...
0
votes
1answer
57 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 ...
0
votes
0answers
41 views

WMI query of ARR Server Farm returns duplicate entries on some machines

I am working on integrating Application Request Routing's health checks (in Monitoring and Management) with Icinga, and to do so I've written a small C# web app that executes a WMI query and deployed ...
2
votes
3answers
262 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 ...
1
vote
1answer
771 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 ...