Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
0answers
8 views

What are the benefits of WS-Management over CIM-XML?

WS-Management and CIM-XML ultimately both seem to deliver the same functionality (i.e. the capability to work with CIM instances via CIM server), and the only difference - superficially - appears to ...
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 ...
0
votes
2answers
1k views

Get User Rights Assignment values in Local Computer Setting using VBScript and WMI

I'd like to get all the values of User Rights Assignment in Local Computer Setting using VBScript and WMI. Is there a way I can do this with VBScript and WMI? Thanks.
4
votes
1answer
858 views

What are the minimum permissions to read the WMI class 'MSSerial_PortName'?

I am configuring a local application user (part of BUILTIN\Users) on a Windows 7 kiosk. The kiosk has a special USB device running on a virtual COM port. The user needs permission to read the WMI ...
1
vote
0answers
27 views

Why is WMI not actually using the fixed port?

When I asked this question (both here on SF and IRL) about how to remotely access WMI, the answer I got from multiple sources was "use a fixed port." I've tried doing this, but it doesn't seem to be ...
9
votes
3answers
3k views

SCCM Global Condition WQL Query Type Mismatch (wbemErrTypeMismatch - 0x80041005)

We have been handling all of our targeting logic for Packages (and now Applications) with Collections. Now that we have moved from SCCM 2007 to SCCM 2012 SP1 it was recommended that we move that logic ...
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. ...
1
vote
0answers
99 views

How do I open the firewall for my monitoring software to access WMI?

I have a SQL Server machine and a monitoring machine, and I need the monitoring software on the monitor host to be able to read the WMI data on the SQL Server host. (The monitoring software is ...
1
vote
1answer
1k views

Exception Enumerating SQL Server Instances with SMO WMI ManagedComputer

I'm trying to use the SMO WMI API/objects in PowerShell 2.0 on Windows 7 with SQL Server 2008 R2 installed to get a list of SQL Server instances on the local computer using the Managed Comuter object. ...
0
votes
2answers
2k views

WMI script to list of memberships of current computer?

I have a AD hosted on 2003R2 and 2008R2, I would like to check the membership for the domain computer (e.g. compA) when an user logs on using that computer (e.g. compA) and perform certain operations ...
0
votes
1answer
1k views

How to enable connection security for WMI firewall rules when using VAMT 2.0?

I want to use VAMT 2.0 to install product keys and active software in remote machines. Everything works fine as long as the ASync-In, DCOM-In, and WMI-In Windows Firewall rules are enabled and the ...
0
votes
0answers
12 views

Invalid method Parameter when calling DfsrConnectionInfo->ForceReplication() with WMIC

In our AD infrastructure the SYSVOL is replicated by DFSR. I want to force replication using WMI (ForceReplication method) via WMIC: wmic /namespace:\\root\microsoftdfs path DfsrConnectionInfo call ...
0
votes
2answers
2k views

Update content on an application with Powershell or WMI in Microsoft SCMM 2012 SP1

While right-clicking an applications deployment type(s), we can select Update Content. Is there a way of doing this action using Powershell or a WMI-method?
1
vote
1answer
909 views

WMI: wmic linux agent query error: NTSTATUS: NT_STATUS_ACCESS_DENIED

Myself new to wmic and keep trying for a long time with default agent query approach. wmic is linux based WMI tool to talk to windows WMI agent. While trying to fetch data with wmic from nt(win7 with ...
4
votes
1answer
2k 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 ...
1
vote
2answers
12k views

How to use WMIC to connect to remote machine and output netstat to a file?

I'm trying to issue the following command remotely: netstat -ano > C:\output.txt but cannot figure out how to do that with WMIC! Any idea? I've got: process call create netstat.exe working but ...
1
vote
3answers
4k views

WMI: How can I fix the port?

I need to use WMI for getting some information from my servers. But I have a server in DMZ, so I need to open a port in my firewall. I've searching and I found that WMI uses random port. How can this ...
4
votes
2answers
76 views

Using SCCM and WMI to retrieve Font information

I need to be able to inventory the information about the fonts currently installed in our machines (around 200,000). It seems some users installed fonts they were not supposed to (due to licensing ...
2
votes
0answers
43 views

WMI computersystem get username returns null

I'm having an issue with the below WMI query running under a non-admin service account against windows 7 PCs: wmic /node:x.x.x.x computersystem get username where x.x.x.x is the IP address of the ...
4
votes
1answer
79 views

Win32_OperatingSystem.FreePhysicalMemory and $_.TotalVisibleMemory giving output in wrong units

I've been putting together a pretty simple script to monitor some aspects of our Terminal Server farm usage and am implementing a section where I check the memory usage on the servers at a given point ...
5
votes
1answer
62 views

Correlating volumes and physical disks through WMI

I'm trying to correlate volumes (as enumerated from win32_volume for those where DriveType = 3) back to win32_physicaldisk instances. Everything that I've seen in my research points to the answer ...
1
vote
1answer
47 views

unable to set service user account via command line

I am writing a puppet script to automate creation of TeamCity agents on Windows 2008 R2 SP2.For this, I need to set a custom TeamCity service user account via command-line. So far, I have tried this ...
0
votes
0answers
345 views

Executing a batch file containing an exe path remotely via wmic

I have a batch file on Computer-A that contains several commands and a path to an exe file. When I execute the batch file on Computer-B via wmic, I can see all the commands being executed in the ...
1
vote
1answer
150 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 ...
30
votes
6answers
2k views

Should I install Windows Management Framework 3.0?

I'm posting this as a BIG CAVEAT to everyone. I know it's not a standard Q&A, but I think this is something every Windows admin should know. There is a very real risk of falling into Big ...
0
votes
2answers
715 views

How to retrieve names of all private MSMQ queues - efficiently?

How can I retrieve the names of all of the private MSMQ queues on the local machine, without using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(".")? I'm using PowerShell so any solution ...
2
votes
1answer
462 views

Remote Computer Management from Active Directory Snap-In fails with DCOM error 10006

So here's a little background. Our system originally started with Windows Server 2003 machines and eventually over time expanded and grew. We still have a few Server 2003's but they're being removed. ...
1
vote
2answers
887 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
376 views

Monitor if Perfmon counter sets are running

We have an issue where occasionally over time, a Perfmon counter set will stop. We are looking for a way to monitor if a particular counter set is running, does anyone know of a way to do this? We ...
0
votes
0answers
71 views

WMI Win32_UserAccount class missing on WIndows POSReady 7?

I'm working on a script that must enumerate users and their SIDs on both Windows 8.1 and Windows Embedded POSReady 7. The WMI Win32_UserAccount class works great for this on 8.1, but the class seems ...
1
vote
0answers
28 views

Same WMI request is much slower on other machine

I posted this question some time ago on stackoverflow, but unfortunately I didn't get any answer yet. It's actually not very urgent, as this problem seems only to exist on my machine - for now. But ...
6
votes
4answers
3k views

How to find the creation date of a local user account?

I would like to get the creation date of a local user account (Win 7 if it matters). I've looked at the following WMI objects (and google of course): Win32_UserAccount Win32_NetworkLoginProfile The ...
1
vote
1answer
140 views

Group Policy WMI Filter to Check if Windows Feature is Installed

The following returns true for servers without the Server GUI installed: WMIC PATH Win32_OptionalFeature WHERE "Caption = 'Microsoft-Windows-Server-Gui-Shell-Package-DisplayName' AND InstallState = ...
12
votes
5answers
1k views

Identify Windows 2012 Server core

I want to detect if a 2012 server is has been setup as a Core install using WMI. An earlier question, would seem to indicate that I can get the OperatingSystemSKU from Win32_OperatingSystem. My ...
5
votes
1answer
5k 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 ...
0
votes
4answers
963 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. ...
0
votes
0answers
68 views

What permissions needed to get Service Name and Start/Stop service on a remote PC?

I am using C# to access services and shut down/start them remotely. The full code works for 5 out of the 6 remote machines that I've tried it on, and I believe it is a permissions issue on the 1 ...
2
votes
0answers
79 views

Software deployed using WMIC requires restart before launching

I have an MSI I'm attempting to deploy via WMIC. The MSI install completes without error but I cannot launch the installed application until I reboot the PC. If I try it pops up momentarily then ...
5
votes
3answers
284 views

checking for missing values in WQL or (WQL/WMI filter to return `true` for desktops/servers, but `false` on laptops)

I have a challenge where I want to use a GPO to set a Power Plan. Working on constructing a WMI Filter (using WQL), I ran into a problem of determining a set of WQL statements that would always ...
3
votes
2answers
77 views

Group policy WMI Logon Server

I'm trying to setup a GP to do tasks if in a certain location, I believe the best way in doing this is a WMI filter. Could someone help me out? I've never used this part of GP before. Was looking ...
1
vote
1answer
98 views

Group Policy WMI Filter query

I'm putting in place a policy to install AV software but only want it to apply when the computer has no AV software installed, I know WMI can be used for this but don't have a clue how it can be done. ...
3
votes
1answer
4k 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 ...
3
votes
0answers
84 views

Server 2008 R2 WMI problems

I get error "1065" from Group Policy when trying to run GPUpdate, and Group Policy is specifying that it cannot process the WMI query. I can successfully run some queries manually, but WMIDiag ...
1
vote
2answers
644 views

What are the minimal permissions for WMI access to processes CommandLine?

I have been trying to get a remote listing of running windows processes including their CommandLine/ExecutablePath attribute through WMI as a non-administrator domain user for a monitoring tool. I ...
3
votes
2answers
698 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
2answers
111 views

Find last run defrag WMI or Reg key

I am trying to discover if there has been a defrag run on our servers. To save myself going to each one and loading the defrag program and checking the "Last Run" column I thought WMI might have this ...
0
votes
0answers
6 views

WMI Method Returns 0 before completion

Have an odd issue show up on my Windows 2003 Servers. I run a modified version of this powershell script: http://technet.microsoft.com/en-us/magazine/2009.07.heyscriptingguy.aspx A few weeks ago, ...
2
votes
1answer
57 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 ...
0
votes
1answer
61 views

SCCM Adhoc Advertisement

Is there a way to create a local advertisement on a machine to run a package/program? Purpose being for testing, or even adhoc deployment. Instead of creating a test advertisement and collection, ...
3
votes
1answer
366 views

How is the computer chassis type assigned

So you can use Get-WmiObject win32_systemenclosure | select chassistypes To get the Windows chassis type for a machine as defined in this list: ...