Windows Management Instrumentation

learn more… | top users | synonyms

3
votes
1answer
586 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, ...
3
votes
3answers
2k views

Detect corrupted WMI

When WMI is corrupted it will fail in the strangest ways, certain queries (most of them) will work, some will throw exceptions, others will time out and a few will simply return no (or ...
3
votes
2answers
1k views

Run command remotely on Windows computer

I have a Windows Server 2008 instance on Amazon EC2 (Amazon's cloud compute platform, which provides VMs in the cloud). It has an external IP, and I have an admin account on the box. I would like to ...
3
votes
1answer
170 views

What is causing the Collateral damage when deleting old profiles?

#Get user names that have logged onto workstation $Users = gwmi win32_networkloginprofile | where {$_.name -match "EXP\\"} | where {$_.name -notmatch "srvtasksched"} $Users | foreach{ $Name = ...
3
votes
1answer
974 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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
1k 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
1k 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
5answers
1k views

Powershell recursive WMI query

I'd like to start at the top of a WMI namespace, recurse through all the objects, then recurse through each object's property list, filtering out and returning to console only those properties that ...
2
votes
2answers
1k views

How Can I Monitor an IIS 7.5 Application Pool with WMI?

I currently have an application in a load balanced IIS cluster (NLB) on Server 2008 R2. This application leverages some legacy database access code which occasionally fails enough to disable the app ...
2
votes
3answers
682 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 ...
2
votes
2answers
159 views

BGInfo and WMI Filter

I have applied a Logon script via GPO to run BGInfo. As I understand it, as I am setting a User Configuration the GPO must be applied to a User OU. We have an OU called SERVERS which is the only OU we ...
2
votes
1answer
278 views

Windows ADSI , WMI and Registry. How Do They All Relate With Each Other?

I have a work task which involves setting up Windows XP machines. I'm not a Windows user normally which is why I ask this question. The tasks involved in setting up one of these machines involve ...
2
votes
1answer
548 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 ...
2
votes
1answer
1k views

WMI query of Win32_Product creates events in the W2K8+ Application Event Log

On Windows Server 2008 and Windows Server 2008 R2 querying installed software with WMI and the Win32_Product class events are written to the Application event log. The events are purely informational ...
2
votes
3answers
5k views

Change Windows Service Priority

I have a windows service that needs to run with High Priority. At the end of the day I want to use this script to modify the priority after service startup: Const HIGH = 256 strComputer = "." ...
2
votes
1answer
595 views

Setting WMI permissions remotely

I've developed a tool that does a simple retrieval of registered services and installed applications from remote Windows Server 2003 servers via WMI. My problem is, the tool needs to be run on an ad ...
2
votes
1answer
2k views

Determine Users Accessing a Shared Folder Using PowerShell

I need to determine the users/sessions accessing a shared folder on a Windows XP (SP2) machine using a PowerShell script (v 1.0). This is the information displayed using Computer Management | System ...
2
votes
1answer
7k views

Scripting inventory of machine name, current username, Operating System using WMIC or powershell

I have a text file of every machine in our Windows Active Directory domain, and I would like to determine the currently logged in user (if any) and operating system of each machine using WMIC: WMIC ...
2
votes
1answer
176 views

What wmi counters can indicate port exhaustion

I'm currently investigating an issue in which we suspect port exhaustion from too many outgoing connections is a factor. I'd like be able to identify when the server is at or near to port exhaustion, ...
2
votes
1answer
213 views

Use WMI to remove a page file

I can modify page file settings via WMI like this PS D:\> gwmi win32_pagefilesetting MaximumSize Name Caption ...
2
votes
3answers
273 views

Notify when a message did not occur

In Nagios it is easy to check that a log message happened in the last 48 hours and sound alarm. But how can I configure Nagios that it should sound alarm when a message did not occur in the last 48 ...
2
votes
1answer
139 views

Remote disk monitoring with WMI without admin rights

I am setting up a restricted WMI group that should be able to read WMI information from my remote hosts. I have the group set up as member of the remote DCOM and performance monitor groups. I also ...
2
votes
1answer
506 views

The RPC server is unavailable from .NET over AWS

I am trying to access EC2 machines remotely to get some info using C#. I wrote code as below:- ConnectionOptions options = new ConnectionOptions { Username = serverspace.ServerIP + @"\xxxxxx", ...
2
votes
1answer
792 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 ...
2
votes
1answer
535 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. ...
2
votes
2answers
1k views

Timestamp of Last Definition Update for Microsoft Security Essentials via Script

Is there any way to check this via VBScript or Powershell? I have briefly looked at the SecurityCenter and SecurityCenter2 WMI classes, but neither of them look especially useful. It appears the ...
2
votes
1answer
3k views

Remote installing an msi on citrix servers using WMI

OK, I'm a C# programmer that is trying to streamline the deployment of a custom windows form app I inherited and built an installer for with WiX (this app will need to be reinstalled regularly as I'm ...
2
votes
2answers
818 views

How to work out the WMI Class name from its perfmon counter name

So I have been provided with a bunch of performance counters that are housed within a particular performance object (i.e. these are not one of the default perf counters that come with Windows) and ...
2
votes
1answer
38 views

WMI: Win32_PerfRawData_Counters_ProcessorInformation versus Win32_PerfRawData_PerfOS_Processor

Folks, I am looking to monitor stuff like "PercentProcessorTime", "Timestamp_Sys100NS" (Total Processor Time) using WMI. The problem I am facing is, I find that Windows Server 2008 R2 have following ...
2
votes
2answers
2k views

Powershell or WMI to pull Printer Properties and Additional Drivers?

What I am trying to accomplish: Use a powershell script (WMI or cmdlets directly, or a combination) to query a 2003 or 2008 server with the PrintServer role, enumerate the printers shared, then list ...
2
votes
2answers
4k views

WMI Filter in GPO by UserName/UseGroup

We have a need to lock certain users down to a very restrictive desktop on our terminal servers as well as only serve them a single application which will auto launch. I have a GPO setup for each need ...
2
votes
4answers
7k views

Which windows rights for powershell's Get-WmiObject on remote PC?

When I run a simple powershell command on a remote PC such as Get-WmiObject Win32_Process -computer Pc1 Some Pcs reply "Access denied", while other reply fine, but I can't get the difference. Which ...
2
votes
5answers
1k views

Server & Workstation Power Consumption - obtaining programmatically/via script

I'm looking for a generic way to query a network of Windows PCs (XP/Vista/7/Server 2k3) for their current power consumption - ideally in Watts! I'm sure this kind of thing is built into WMI, but it ...
2
votes
2answers
733 views

Managing multiple systems using JMX and WMI

Our project needs to manage multiple systems across multiple operating systems and languages (Windows, Linux, Java, C++, C#, etc). We're looking at WMI for parts of the system, but for some of the ...
2
votes
0answers
25 views

Executing WMI methods by proxy - how can I keep credentials out of the hands of users?

Management wants me to create a script/application/ancient magical artifact that allows field technicians to perform a task on our Configuration Manager server (updating collection memberships - very ...
2
votes
1answer
26 views

Get the IPv6 routing table from a windows pc with WS-Management

I have to get the IPv6 routing table from a windows pc with WS-Management. I'm using wsman for the client on linux. I found the Win32_IP4RouteTable WMI class fot IPv4, but it looks like WMI doesn't ...
2
votes
1answer
81 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
0answers
134 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
83 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
224 views

RPC Server unavailable. 0x800706BA [closed]

I've alsready seen some similar threads on the RPC server unavailable messages; HRESULT: 0x800706BA. I've read some and looked at the recommendations on this thread; WMI query between two different ...
2
votes
0answers
304 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
246 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
2answers
446 views

PowerShell to reset local Administrator account password. 5% failures

I have the responsibility for changing the local administrator account password on my environment of 16,000 servers; I wrote a PowerShell script, but it took too long, so I added multi-threading using ...
2
votes
0answers
84 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
1answer
218 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 ...
2
votes
0answers
252 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 ...
2
votes
2answers
376 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 ...
2
votes
1answer
775 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 ...
2
votes
1answer
1k views

Monitoring IIS with SNMP

I'm trying to monitor IIS using the Windows integrated SNMP service (for versions 2000, 2003 ans 2008 of Windows Server, but i'm doing my experiments on a 2008 R2 box). So far I was able to install ...