Windows Management Instrumentation

learn more… | top users | synonyms

1
vote
2answers
2k views

active directory users have auto-created private user share

Currently using server 2008 and a logon vbscript to auto mount 3 drives. I'd like to have a mapped network drive that goes to a user-private share automatically. Is this possible to rig up in a login ...
1
vote
1answer
934 views

How can I best learn “wmic” the Windows WMI command line tool?

I'm interested in learning how to use WMIC, but I'm confused on where to begin. How does this tool compare to PowerShell? Can Powershell do everything WMIC can... and more?
1
vote
1answer
6k views

Which ports does WMI Service in Active Directory use exactly?

I read in the technet, that the WMI Services uses random ports over 1024 because of RPC.. Now is the question does it use 1025-5000 because of the microsoft port reservation or could it use more than ...
1
vote
2answers
263 views

Best way to get thousands of IPs bound to a NIC in Windows 2008 and 2003?

I had setup a small application that uses WMI to setup a nic with multiple IPs. Does someone know of a better way of doing this once we start unsing thousands of IPs on a single nic? I amnot much of a ...
4
votes
4answers
4k views

How can I get WMI to return info on physical disks in Dell Poweredge server with RAID enabled?

I'm using WMI to gather stats on some of our servers, and I'm trying to get details of the physical disks that are installed in each server. The servers are various Dell PowerEdge models. Windows' ...
0
votes
1answer
623 views

Zenoss need to get freespace threshold and alerts on windows “mount points”

I have a WMI query that will give me all the data I need to do this but I can't figure out how to get this working in Zenoss. I know I need to set data points and a threshold, and optionaly a graph. ...
0
votes
1answer
261 views

VBScript Array Help for Select Statement

I'm using a select statement to show all services on a system currently set to Auto (automatic). The trouble is the list of service I do not want to see is growing. While still not larger than the ...
1
vote
2answers
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 ...
2
votes
3answers
6k 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 = "." ...
1
vote
0answers
303 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
1answer
354 views

Limit on WMIC requests from a Windows Service

Does anyone know if there is limit on how many wmic requests Windows can handle simultaneously if they are originating from a Windows service? The reason I'm asking is because my application fails ...
0
votes
4answers
927 views

wmic hangs in Cygwin

If I open Cygwin in rxvt, running wmic does not show the expected wmic:root\cli> prompt. If I execute C:\cygwin\bin\bash.exe from cmd.exe, running wmic inside bash.exe returns the expected prompt. ...
1
vote
1answer
747 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
3answers
4k views

Getting Windows EventViewer CSV file from Command-line

EventViewer in Windows has the ability to export a log to a CSV file. I would like to automatically make a backup of that log in that format (as has been done manually in the past few years). It's a ...
1
vote
1answer
514 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
3answers
2k views

How to shutdown remote Win2k8 machine using WMIC?

What is the exact syntax to shutdown remote Win2k8 server using WMIC? (The reason WMIC must be used is because the remote machine in a different NT Domain and the local machine does not have access ...
0
votes
1answer
530 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
169 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
223 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
850 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
869 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
746 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
146 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
4k 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 ...
0
votes
2answers
4k views

How do I copy a network file using wmic on a remote computer?

I'm an admin of a domain and im trying to run a wmic script to copy a file on a remote pc from another remote pc. My command: WMIC /NODE:@"C:\compList.txt" PROCESS CALL Create "xcopy ...
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
934 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
753 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
13k 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
16k 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
769 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
983 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
713 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. ...