Tagged Questions

Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can write WMI scripts or applications to automate administrative tasks on remote computers but WMI also supplies management data to other parts of the operating ...

learn more… | top users | synonyms

0
votes
0answers
10 views

Group policy results failing with “Invalid class” error

When trying to run the Group Policy Results Wizard against a specific workstation, I'm getting the following error: The wizard was unable to generate the computer or user's data due to insufficient ...
3
votes
1answer
49 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 ...
0
votes
1answer
49 views

WMI script to list of memberships of current computer?

I have a AD hosted on 2003R2 and 2008R2, I would like to check the membership for the domain computer (e.g. compA) when an user logs on using that computer (e.g. compA) and perform certain operations ...
0
votes
2answers
63 views

WMI query to check setting “Reversible Encryption” in Windows XP

In Windows XP, there are two settings in Group Policy I'm looking at: Password must meet complexity requirements Store password using reversible encryption Both of these settings are under Local ...
0
votes
1answer
49 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:\\" ...
2
votes
1answer
79 views

Have issue with monitor 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 ...
0
votes
1answer
30 views

Monitor if Perfmon counter sets are running

We have an issue where occasionally over time, a Perfmon counter set will stop. We are looking for a way to monitor if a particular counter set is running, does anyone know of a way to do this? We ...
1
vote
0answers
17 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 ...
0
votes
1answer
68 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 ...
1
vote
1answer
136 views

Using Win32_FileSpecification WMI instances

I am trying to get a checksum of a remote file using Win32_FileSpecification class via WMI, but am running into a few problems. It uses CheckID as the key, which looks to be similar to the path with ...
2
votes
2answers
128 views

WMI is showing wrong version of Microsoft Access

We use Microsoft Access for certain database functions and as most of you already know an Access database can be very grumpy when accessed by an outdated version of Access. In order to control this I ...
0
votes
0answers
67 views

WMI / Security - Admin

I have several vbs scripts using WMI working. They are accessing \root\DCIM\SYSMAN and checking various things (These are provided by Dell OMCI). I am trying to get temperature from my Dell ...
0
votes
4answers
161 views

Complete server snapshot for troubleshooting performance?

From time to time, something happens to our website that makes it slow and unresponsive. Inevitably, this happens at like 3 AM, on a day when all the devs have gone to bed early. Are there any good ...
0
votes
0answers
58 views

Configuring security for WMI locally Windows 7

I have a dell percision m6600 running windows 7. I have installed OMCI 8.X. This exposes additional information via WMI. I am trying to access \root\DCIM\SYSMAN as a user. I have configured ...
0
votes
2answers
108 views

PC inventory system that does not rely on WMI [closed]

I'm looking for a software that can make an inventory of the PCs on your network for an SMB environment. I know ther are plenty (Spiceworks, LanSweeper, etc). But they all rely on WMI to function. The ...
0
votes
1answer
158 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 ...
4
votes
1answer
76 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 ...
1
vote
2answers
224 views

How to assign two IP addresses (one DHCP, one static) to a NIC using WMI?

Found question and great answer: WMI and adding Multiple IP Addresses? However this only explains how to add multiple static IP addresses. I am looking how to configure a dynamic (DHCP) and at least ...
2
votes
1answer
168 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
296 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 ...
0
votes
0answers
31 views

How do I get AvgDiskSecPerWrite to return the same value as the object in perfmon instead of 0?

I am trying to query WMI to get the value for AvgDiskSecPerWrite from Win32_PerfFormattedData_PerfDisk_PhysicalDisk using WQL with the following query SELECT AvgDiskSecPerWrite FROM ...
1
vote
1answer
177 views

Using WMI and/or remote registry to find available memory slots

Certain monitoring programs such as Spiceworks list not only the memory sticks in use in a machine, but also somehow show which specific slots on the board are in use and which is using them. With WMI ...
0
votes
1answer
106 views

How to put laptop to sleep with powershell/vbs/wmi/…?

I'd like to be able to put my laptop to sleep from the command line. According to Microsoft, the Win32_Battery WMI class has a SetPowerState method that looks like it should be able to do this, ...
1
vote
2answers
264 views

WMI through 2 firewalls to Windows 2008

I have a custom WMI application. It works wonderfully on a number of servers (windows 2003, 2008). However, some of our servers are behind another firewall. I have followed ...
3
votes
2answers
318 views

How to check if WMI is broken or not?

I'm looking for a way to check whether WMI is running properly on a Windows Server 2008 machine. I'd prefer to do this by running a command. Is there any?
0
votes
1answer
268 views

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

I'm trying to issue the following command remotely: netstat -ano > C:\output.txt but cannot figure out how to do that with WMIC! Any idea? I've got: process call create netstat.exe working but ...
0
votes
1answer
150 views

Has anyone used WMI_OfflineFilesCache::RenameItem to rename offline files?

The reason I ask is that I have been researching how to rename items once an offline files target has been changed. It seems that so far there are two options: CSCCMD.exe - Which appears to be a ...
0
votes
1answer
124 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 ...
2
votes
3answers
156 views

Rename file in folder whenever it's created?

I need to find a way to automatically rename all files that are created within a specific directory on a Windows 2008r2 file server. This needs to be done more or less instantanously, so I can't have ...
3
votes
1answer
239 views

Accessing Acer SNID via Windows WMI?

Dell have been really helpful in making their desktop and laptop serial numbers available via WMI. Has anyone had any success in finding similar information about Acer computers, especially the SNID, ...
0
votes
1answer
211 views

How to list the top level folders of a drive using VBScript?

I'm looking for VBScript code that will list the top level folders of the D: drive and not the subfolders. I use the following WMI query so far but it gives me all folders and goes down to many ...
5
votes
3answers
251 views

How to retrieve Serial Number from Windows on new U/EFI box?

I need to retrieve the hardware serial numbers from a set of new HP mini desktops that need provisioning. This worked in the past using a WSH script to query it via WMI. Unfortunately, the newer ...
7
votes
0answers
200 views

Is anyone using an SNMP and/or WMI poller to push custom metrics to Amazon CloudWatch, and if so how?

So Amazon CloudWatch has a decent console, and an alarm system which uses Amazon SNS for notifications. Originally it only gave you AWS metrics, e.g. EC2 instance CPU utilization. Recently they ...
0
votes
1answer
63 views

How can i programmatically find out how many resources a IIS server has and the traffic on each resource .. etc

I want to write a program to find out what resources an IIS server has and how many hits are there on each resource. The resource can be anything from a html page to files like sound clips, pictures , ...
0
votes
1answer
133 views

WMI error on FDCC/USGCB domain

Our lab recent moved to a domain with FDCC/USGCB policies and we ran into a number of problems with our client / server configuration. Rather than outline everything, I point you to a link and simply ...
0
votes
1answer
742 views

Remote WMI Connection Issue on Windows Server 2008 R2

I just did a clean install of Windows Server 2008 R2 (x64). I have an application that talks to the server using Remote DCOM communication and queries some WMI objects. All is good while I use the ...
3
votes
1answer
189 views

Where can I find a guide to remotely enable WMI access to a Windows client machine

I need to enable the WMI remote access in a lot of client machines in order to connect to these machines and get some information. These machines have installed different versions of windows (Windows ...
0
votes
1answer
328 views

How to change Hyper-V VM network settings via WMI?

I am not sure where to post this question whether at programmers.stackoverflow.com or here. So please forgive this if i am at the wrong place. My question is: How to set Subnet Mask , DNS address ...
0
votes
0answers
98 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
132 views

WMI client with packet privacy support?

I know that we can execute queries from Linux to Windows WMI using event old wmi-client code. My main issue is that all packets with that query and its response are in clear text. Windows allows to ...
3
votes
1answer
67 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
80 views

Get Total Active ASP.NET Session Count via WMI

How can I get a count of the total number of active ASP.NET sessions via WMI? I'm using ASP.NET 4.0 on Windows Server 2008 R2.
0
votes
0answers
144 views

Grant DCOM remote launch and activation permissions for entire domain

I would like to give a particular user privileges to run WMI queries on any computer in the domain (Server 2008 functional level) without making that user an administrator. There are nice guides for ...
0
votes
1answer
137 views

Enabling WMI and corresponding firewall exception via a Group Policy Object

Hey guys, I have tried enabling WMI on my local domain using a group policy object which sets the service as on at startup. In addition i added an exception for it via the windows firewall policy ...
2
votes
1answer
247 views

Converting WMI from vbscript to powershell

I'm trying to follow the guides for accessing IIS 6 using WMI but I'm having trouble working out how to translate the Get method of SWbemServices as Get-WmiObject doesn't seem to use the same path ...
0
votes
0answers
1k 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 ...
2
votes
1answer
336 views

DCOM Access Issues through Windows Server 2008 Firewall

I am trying to connect remotely to a Windows Server 2008 Machine through WMI Protocol using J-Interop Library. Although I have not been able to configure the firewall properly even after following ...
0
votes
1answer
177 views

WMI missing MSMQ queue name

Running the following query in WMI fails to return 2 queues that are active on the computer. SELECT Name,messagesinqueue FROM Win32_PerfRawdata_MSMQ_MSMQQueue Anyone know what could be causing this ...
2
votes
1answer
169 views

How do I uninstall an ActiveX control via Powershell

I have to constantly switch back and forth between two installations of a web app with two different versions of an ActiveX control. Therefore I'd like to script the ability to uninstall this control. ...
0
votes
2answers
402 views

How can I update HTTP custom headers in IIS6 using Powershell?

I have the following Powershell script which uses WMI to update the HTTP custom headers on a website in IIS 6. The script seems to work fine, no errors generated, and the resultant $website object ...

1 2 3