Windows Management Instrumentation

learn more… | top users | synonyms

2
votes
1answer
550 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
2k 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
805 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
716 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
538 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. ...
1
vote
2answers
1k 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
vote
2answers
61 views

Possible to enumerate what has been web-deployed to an IIS server?

Is there some way, e.g. through WMI, that I can query a box running IIS what web applications has been deployed to it using web-deploy? Thanks in advance.
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 ...
0
votes
1answer
2k views

Netsh, how to open ports in windows firewall for WMI?

How can you open ports in windows firewall for WMI using netsh command ? On windows vista and newer MS OS-es you run this command netsh advfirewall firewall set rule group="windows management ...
1
vote
2answers
259 views

Listing services on remote machine locks me out of the machine

I run a powershell command to list all of the services on a remote matchine: $b = 0; get-wmiobject win32_service -computer $computerName -credential $cred | select-object Name, ...
0
votes
3answers
3k views

Server 2008 R2, Exchange 2010, WMI error event 10

The system is windows 2008 R2, with Exchange 2010 SP1 installed. I am receiving the following event log application error: event 10, WMI Event filter with query "SELECT * FROM ...
1
vote
0answers
577 views

TFS Reporting Services Configuration Error - The RPC Server is Unavailable

I'm trying to configure Team Foundation Reporting but without any success. The App Tier and the Data Tier are in separate servers. I guess it's not a port/firewall problem, because I opened port ...
0
votes
1answer
231 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
1k 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
1k 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 ...
10
votes
2answers
15k 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
3k 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 ...
0
votes
0answers
349 views

Dell OMCI: Wacky values for Temperature and etc? (Win7x64)

Hey All. I am running a Dell Precision R5400 Workstation with dell OMCI installed. I am using it to test polling various data over WMI for our monitoring across the enterprise. I'm getting some weird ...
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 ...
1
vote
1answer
88 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 ...
0
votes
0answers
397 views

WMI network programming in C#

I am working on network project in C# and I can use only WMI and Win32_* classes. I'm using Win32_NetworkAdapter for connection to remote computers but I've got an RPC error which I can't figure out ...
1
vote
2answers
665 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
306 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
451 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
858 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
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 ...
1
vote
3answers
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
1k 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
5k 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
248 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
557 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
253 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
883 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
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 = "." ...
1
vote
0answers
292 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
310 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 ...
1
vote
1answer
710 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
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 ...
1
vote
1answer
489 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
494 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
164 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
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 ...
0
votes
1answer
122 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
752 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
766 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).