Windows Management Instrumentation

learn more… | top users | synonyms

1
vote
1answer
741 views

WMI error in unlicensed Windows Server 2008 R2

I'm installing a TFS2010 server and I'm getting a WMI error in the analysis services check (ACCESS_DENIED), since the analysis services is in a different server I ask the sysadmin guy (I'm a ...
2
votes
2answers
5k 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 ...
1
vote
1answer
505 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
523 views

“wmi driver extensions” “windows server 2008” how to install

I'm trying to setup a Services on a Win2008 64 bit server. This services depends on the WMI Driver Extensions, but I can't find where to install it from or download it to install. Does anyone have ...
0
votes
2answers
168 views

Remotly get a list of running programs on xp?

I have a bunch of pc's the I need to remotly restart, however I don't want to restart them if they are running certian applications (such as word, excell etc). Is it possible to get a list of running ...
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
1answer
2k 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 ...
0
votes
1answer
220 views

Setting WMI permissions remotely on windows server 2003

I am a programmer , I don know the server well. I made a simple program checking the service on the remote server is started or not. by using ...
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 ...
0
votes
2answers
1k views

Can you have a WMI query for GPO Filter based on user's OU?

I'm wondering if there is a way to have a WMI query check the OU of the user logging on. I'd like a GPO (linked to Citrix servers OU) to apply only to users if the user is in a certain OU - this is ...
1
vote
2answers
817 views

ASPNET WMI class not available

I need to extract the ASPNET\Requests Queued performance counter from some IIS servers via WMI. The WMI class for this sort of thing appears to be contained in Win32_PerfFormattedData_ASPNET_ASPNET. ...
1
vote
2answers
848 views

domain users logon info

i want to know how to find list of domain users whcih entered at my PC (some local groups included domain groups and domain users can enter at my PC).
0
votes
1answer
3k views

How to enable WMI Provider MSCluster on MS Server 2008 R2

I have successfully set up a failover cluster on Microsoft Server 2008 R2 Enterprise Edition. Now I want to talk to the MSCluster WMI Provider on said server. WMI Queries to e.g. CIMV2 successed. But ...
1
vote
1answer
2k views

How to troubleshoot a remote wmi query/access failure?

I'm using Powershell to query a remote computer in a domain for a wmi object, eg: "gwmi -computer test -class win32_bios". I get this error message: Value does not fall within the expected range ...
3
votes
1answer
1k views

Difference between CurrentClockSpeed and MaxClockSpeed

Rationale this belongs on ServerFault rather than StackOverflow - I already have my program which gets the value, I am querying the value returned and what it means. I have an in-house program which ...
2
votes
1answer
723 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 ...
1
vote
1answer
143 views

XP machines on Domain not reporting WMI Data in a 2003 Server Environment

I am running into a very quirky issue and I hope someone out there can help. We use a monitoring program for several networks we oversee that is WMI data dependent for a great deal of it's ...
1
vote
4answers
2k views

What actual or de-facto alternatives to WMI exist for Linux and Unix?

I've recently been introduced to WMI, and find it really cool. Maybe my brain's just not in gear, but what similar tools exist for *nix like WMI?
1
vote
2answers
3k views

WMIC returns error when querying product

I'm trying to automate the installation of an MSI on my server, however before the installation can go ahead I need to uninstall the previous version from the server. Searching on the internet I've ...
4
votes
1answer
1k views

Use WMI to detect a USB drive was connected, regardless of whether it was mounted?

I am writing a script that uses MS KB 823732 to temporarily prevent users from plugging in new USB storage devices. This works fine, and the HKLM\...\Services\UsbStor registry key successfully blocks ...
1
vote
1answer
5k views

SQL Server 2005 Reporting Services - Configuration Manager & Management Studio Problems

When I open Reporting Services Configuration Manager on my server, an error message appears that says: Reporting Services Configuration Manager An unknown error has occurred in the WMI Provider. ...
0
votes
1answer
909 views

How to programmatically query the default user's proxy auto-config URL setting?

Greetings. I have a requirement to retrieve the default user's Internet Explore Proxy Auto Config URL setting from Windows Server 2008. For the current user, the key is found at ...
4
votes
2answers
725 views

What is the WMI class to manage BitLockerToGo

I am working on a script that will be used to audit some machines. I can check whether or not volumes are encrypted using the Win32_EncryptableVolume class in root\cimv2\Security\EncryptableVolume. ...
3
votes
2answers
12k 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 ...
4
votes
2answers
15k 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 ...
1
vote
2answers
761 views

Dell SAS 6/iR WMI classes

FIrst off Im not very familiar with WMI at all, but what Im trying to accomplish is pulling the raid status out off some wmi class for a SAS 6/iR. I figured as much as installing the Megaraid Storage ...
0
votes
1answer
972 views

How does one create a website application in IIS6 from a script?

I'm sorry about how simple the question is but I've searched all over the Internet and I found MSDN articles about making application pools (http://msdn.microsoft.com/en-us/library/ms525309.aspx) and ...
1
vote
1answer
2k views

Renaming a computer via WMI in Windows 7

I'm having trouble renaming a local computer via WMI. I'm following the MSDN documentation (and not following it -- in an attempt to get SOME sort of result), but I can't seem to get the ...
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
8k 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 ...
0
votes
1answer
2k views

Using WMI to query entire network for LoginDateTime, UserName, MachineName, IP Address, MAC Address, Operating System?

This is somewhat related to this question: http://serverfault.com/questions/85372/batch-file-to-mass-ping-group-of-computers-on-network-by-name-check-reply-and-r Long story short...I am working on a ...
10
votes
2answers
5k views

WmiPrvSE memory leak on Windows 2008 *R2*

I've seen references on Windows 2008 to WmiPrvSE leaks, but nothing about Windows 2008 R2. We're running R2 on top of Hyper-V (2008). We are also running NSClient++ for monitoring from opsview. Over ...
3
votes
4answers
3k views

Disable a specific ethernet card via batch commands on Windows

What I would like to do is disable a NIC based on the connection name (aka: what you see in the "network connections" window, or what you would use with netsh commands). I know enabling/disabling can ...
1
vote
1answer
688 views

How is Win32_DefragAnalysis FilePercentFragmentation Calculated

SCOM 2007 R2 added a fragmentation analsysis health check that is producing warnings on many of my servers. To try to understand how SCOM is determines the fragmentation level, I created the following ...
0
votes
1answer
2k views

Query “SELECT * from Win32_Process” hangs indefinitely

As a part of a larger C# code base, I've been running the following query regularly on the same machine (Windows XP SP2): "SELECT * from Win32_Process" It's been working as expected until today. ...
4
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 ...
0
votes
2answers
5k views

Getting error “WMI: Not Found” on a Windows 2003 Server

I'm getting the following error whenever I try to view the dependencies for any service on our Windows 2003 Enterprise Server: WMI: Not Found So three questions pop into my head at this point: ...
8
votes
1answer
3k views

Common WQL Monitoring Queries

What WQL queries would you use for monitoring typical Windows bottlenecks? Which would you use to obtain data similar to 'top' or 'netstat'? What interval would you poll at? Here are a few that I ...
4
votes
4answers
2k views

Does WMI cause CPU Creep?

I have a few servers, running Server 2003 Std/Ent and SQL 2000/2005, that I've noticed will start showing higher CPU usages over time. Stopping the WMI service and restarting it will always bring it ...
4
votes
6answers
15k 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 ...
2
votes
2answers
850 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 ...
1
vote
3answers
2k views

WMI Remote connection objsWbemLocator.ConnectServer

I have an issue when connecting to remote machines using the following: Set objWMIService = objSWbemLocator.ConnectServer _ (sIP, "root\CIMV2", strUser, strPassword, "MS_409", "ntlmdomain:" + ...
3
votes
2answers
341 views

Can I still use WMI to manage SQL Server 2005 and 2008?

I've seen some articles on how to use WMI to manage SQL2000 servers (after installing SQLWMI80.msi manually) but I've not seen anything about this for SQL2005 and SQL2008. Has this been depreciated? ...
1
vote
3answers
4k views

Windows environment variables: “Default User” vs. “System”

I'm exploring environment variables via the WMI class Win32_Environment. According to the documentation, a variable that's not of a specific user can be either a "System" variable or a "Default User" ...
0
votes
2answers
4k views

Querying a Windows box to see if the currently logged on user is idle - ideally using WMI

I want to be able to query whether the currently logged in user is idle at their PC - i.e. their PC believes they are 'inactive'... The problem is there are so many ways this could be done. Is there a ...
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 ...
0
votes
3answers
3k views

How is average disk queue length retrieved via WMI computed

I'm using WMI to query the current and average disk queue length of remote machines to be able to monitor the load on the hard drive. The query is as follows: select CurrentDiskQueueLength, ...
2
votes
5answers
2k 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 ...
0
votes
2answers
6k views

Reporting Services WMI Provider error 8000000A

I recently installed SQL Server Express 2005 with all available options. When I run Start->Programs->SQL Server 2005->Reporting Services Configuration I get an error immediatley: "An unknown error ...
0
votes
3answers
4k views

How to use Powershell 2 Get-WmiObject to find an instance of SQL Server Reporting Services (SQL2008) on Windows Server 2008 R2

I'm trying to use the powershell 2 "Get-WmiObject" command to find the reporting service instance using this command get-wmiobject -class "MSReportServer_Instance" -namespace ...