Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
1answer
261 views

How do I install the IIS 6 WMI on Windows XP?

I want to use WMI on Windows XP to manage an IIS 6.0 server. I have installed the IIS 6.0 Manager but the WMI components still aren't available. I'm using the following line of PowerShell to test ...
0
votes
1answer
2k views

I get Get-WmiObject : Generic Failure error on an XP Machine. What needs to be done to get rid of this?

I am trying make an uninstall app which removes an application X on a regular basis. The starting point to access applications installed in a Windows machine is through retrieving them from a WMI ...
0
votes
1answer
2k views

Windows script to change from DHCP to Static IP addressing

I need a (WSH) script that clients can execute on their machines themselves and with a minimum of hassle and without me requiring any special privileges. The script should take the existing IP ...
13
votes
2answers
23k views

What is stored in %Windir%\System32\LogFiles\WMI\RtBackup?

I occasionally notice in Resource Monitor hard disk activity related to ETL files in the folder C:\Windows\System32\LogFiles\WMI\RtBackup. Which process/service creates these ETL files and what is ...
0
votes
3answers
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 ...
2
votes
2answers
2k 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 ...
1
vote
1answer
98 views

Windows Server 2003 + WMI = Regular Bluescreens

I have serious problems with machines running Windows Server 2003 x64 Edition. I've written an application which queries periodically the system status using the WMI database. The database is ...
1
vote
2answers
864 views

Getting Win32_Service security descriptor using VBScript

I am using VbScript for retrieving the securitydescriptor of a Win32_Service. I am using the following code: SE_DACL_PRESENT = &h4 ACCESS_ALLOWED_ACE_TYPE = &h0 ACCESS_DENIED_ACE_TYPE = ...
0
votes
1answer
363 views

How to list the Exchange 2003 accounts with any delivery option

I'm looking for a way to list the accounts that have any delivery option set in Exchange 2003. I have used WMI to query the Exchange classes described at ...
0
votes
1answer
491 views

How to script GPO in Windows computers without Active Directory?

Does anyone know how to script GPO for users in a Windows computer that is not on any Active Directory network? I can't use GPMC because it doesn't work without a domain. I have been searching the ...
0
votes
1answer
1k views

WinMgmts error on Windows 2008 R2 Server

I have a VBS file that is failing on this line: Set objWMIService = GetObject("WinMgmts:{authenticationLevel=pktPrivacy} \\myserver\root\MicrosoftIISv2") with this error: Microsoft VBScript ...
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 ...
3
votes
3answers
3k 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 ...
0
votes
1answer
340 views

wmic change default output format(get only process executable path)

Using wmic to get information about process. wmic process where processid="<PID>" gives many details (Caption, creationtime, arguments, ExecutablePath etc) . Right now I am processing the ...
3
votes
4answers
2k 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 ...
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
1k 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
7k 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
274 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
5k 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
668 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
266 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
7k 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
311 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
385 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
1k 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
757 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
6k 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
5k 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
529 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
3k 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
571 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
170 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
4k 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
226 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
915 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
921 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
2k 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
812 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
153 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 ...