Windows Management Instrumentation

learn more… | top users | synonyms

5
votes
0answers
26 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
0answers
18 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 ...
1
vote
1answer
25 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 = ...
0
votes
0answers
20 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
27 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 ...
1
vote
1answer
38 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
0answers
49 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 ...
2
votes
2answers
47 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 ...
2
votes
2answers
63 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
4 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, ...
0
votes
1answer
31 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
207 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: ...
1
vote
0answers
41 views

WMI request (Wbemtest), access is denied to domain computer

let me explain our setup first! We have 2 site location with Cyberoam CR50ING Firewall, IPSec between the 2 Subnet. Cyberoam firewall has an AD authentication with their software linked to the ...
0
votes
0answers
35 views

WMI remote query where TimeGenerated > n seconds ago

I'm querying Windows security logs remotely using WMI for a monitoring application and would ideally like to perform the following query: Select * from Win32_NTLogEvent Where Logfile='Security' AND ...
0
votes
0answers
51 views

WMI filter working for some Windows 7 machines but not for others

I'm trying to use this WMI filter for our Windows 7 64bit machines: select * from Win32_OperatingSystem where (Caption like "Microsoft Windows 7%") or (Version like "6.1%" and ProductType = "1" and ...
3
votes
1answer
353 views

I am getting Invalid class errors for my PowerShell script

When I run this script, I get this error Get-WmiObject : Invalid class “Msvm_ImageManagementService” and Get-WmiObject : Invalid class "MSPower_DeviceEnable" and Get-WmiObject : Invalid class ...
0
votes
0answers
23 views

WMIPrvSe failing every morning

I am maintaining an environment with many Windows 2003 Server VMs. It has come to our attention that wmiprvse.exe keeps dying on majority of servers every morning (between 5-7 AM). As this is ...
0
votes
1answer
149 views

Error while querying various classes within root/webadministration namespace

I am using a WMI query(using wbemtest): select * from AuthenticationSection using namespace root/webadministration, and I am getting the follwing error on a few servers (Windows Server 2008): ...
2
votes
1answer
338 views

WMI command line event log acess

Can someone explain me how to get access to arbitrary system logs in eventlog service files? Now I'm poking around WMI(wmic.exe) and trying to execute following commands: For system services like ...
1
vote
0answers
106 views

How to resolve security warning concerning WebAdministrationProvider?

I have a new Windows Server 2012 install, and have just installed IIS. I see the following warning in the Application Log: A provider, WebAdministrationProvider, has been registered in the ...
1
vote
2answers
397 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 ...
0
votes
1answer
747 views

What is the workaround for WMI remote connection failure with Access Denied error when client runs with Local System account?

What is the workaround for WMI remote connection failure with Access Denied error when client runs with Local System account? I tried to run script under local system account on the client which ...
2
votes
1answer
49 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
0answers
24 views

Get the mirror status using WMI on Windows Server 2012

i try to get the mirror health of on an Windows Server 2012 using WMI. Does anyone know how to do this?
2
votes
1answer
39 views

Get the IPv6 routing table from a windows pc with WS-Management

I have to get the IPv6 routing table from a windows pc with WS-Management. I'm using wsman for the client on linux. I found the Win32_IP4RouteTable WMI class fot IPv4, but it looks like WMI doesn't ...
1
vote
0answers
62 views

Side effects or performance issues for keeping WMI Performance Adapter running always?

This is related to a similar question: Why is my System event log full of WMI Performance Adapter messages? I've found various blog posts that suggest you can modify the service so that it starts ...
2
votes
1answer
90 views

WMI: Win32_PerfRawData_Counters_ProcessorInformation versus Win32_PerfRawData_PerfOS_Processor

Folks, I am looking to monitor stuff like "PercentProcessorTime", "Timestamp_Sys100NS" (Total Processor Time) using WMI. The problem I am facing is, I find that Windows Server 2008 R2 have following ...
5
votes
3answers
237 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 ...
0
votes
1answer
146 views

What rights should non-admin user have to run Get-WmiObject?

I am trying to monitor windows machine with the help of wmi and powershell remoting. I managed to successfully start remote session with that machine throught non-admin user account, but now I have a ...
3
votes
1answer
194 views

What is causing the Collateral damage when deleting old profiles?

#Get user names that have logged onto workstation $Users = gwmi win32_networkloginprofile | where {$_.name -match "EXP\\"} | where {$_.name -notmatch "srvtasksched"} $Users | foreach{ $Name = ...
6
votes
4answers
2k 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
548 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
109 views

Are there any known incompatibilities with WMF 4.0?

We don't typically run bleeding edge software in $environment, that being said since 4.0 has been out for a while; I haven't come across any conflicts posted on the web. Does anyone know of any? ...
3
votes
1answer
132 views

Windows 7 WMI ODBC driver installation?

I am interested leveraging the ease of report production provided by Microsoft SQL Report Builder, but I would like WMI as an available datasource. Since SQL Report Builder relies only on SQL, I ...
8
votes
1answer
369 views

How to accept EULAs for Software updates deployed through SCCM using Powershell

I'm trying to use the Start-CMSoftwareUpdateDeployment cmdlet to deploy a software update group to an existing collection. PS WHO:\> Start-CMSoftwareUpdateDeployment -SoftwareUpdateGroupName ...
3
votes
2answers
710 views

Can you use WMI to determine if a connection gets its DNS servers from DHCP?

The DNS server search order for a network interface can be read from Win32_NetworkAdapterConfiguration like this in Powershell, or programmatically using .Net ManagementObjects: > $NICs = ...
2
votes
1answer
164 views

WMI query of DNS shows a root hint that's not present in the DNS plugin.

I was writing a Powershell script for my network when I came across some alarming information in our DNS. Bear in mind we still use Powershell v2, not v3. So I have to query DNS via the Get-WMI ...
0
votes
2answers
1k views

“HP Insight Management WBEM Providers” download

I am trying to query a Proliant Server's health thru Powershell. But I can't find a place to download the HP Insight Management WBEM Providers from here. Is there any other Powershell equivalent of ...
0
votes
0answers
81 views

Access to RSOP via WMI

I need to retrieve data from RSOP using the following script written in VBS: Const FL_FORCE_CREATE_NAMESPACE = 5 strComputer = "." Set objWMIService = ...
3
votes
2answers
407 views

Stopping a scheduled task with WMIC

I need to find some method for disabling a scheduled task on a remote machine and waiting until that task has stopped executing if it happens to be running at the moment. I'd like to do this through ...
4
votes
2answers
655 views

How do I identify a volume in WMI from a volume name reported in the event log?

I have a Windows 2008R2 server that's reporting the following error: The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume ...
3
votes
1answer
419 views

What wmi counters can indicate port exhaustion

I'm currently investigating an issue in which we suspect port exhaustion from too many outgoing connections is a factor. I'd like be able to identify when the server is at or near to port exhaustion, ...
3
votes
1answer
126 views

Can I apply a Group Policy only to systems that have specific software installed?

If I wanted to setup a group policy that installed Java, this would be no problem. But is it possible for the group policy to only apply to systems that have Mozilla Firefox installed? I don't know ...
1
vote
1answer
74 views

retrieve software RAID information using WMI [duplicate]

I need to get software RAID configuration info from a remote windows server (2003, 2008, 2012) on a local linux system. I have searched and searched, but have been unsuccessful at finding a solution, ...
3
votes
1answer
664 views

SCCM WMI Get Patches that require reboot

How can i get all patches that require a reboot before running the install process using WMI and SCCM. So far i have this wmi query that lists all the available patches but none of the properties ...
2
votes
2answers
270 views

BGInfo and WMI Filter

I have applied a Logon script via GPO to run BGInfo. As I understand it, as I am setting a User Configuration the GPO must be applied to a User OU. We have an OU called SERVERS which is the only OU we ...
7
votes
1answer
148 views

GPO software deployment without WMI?

I put together a GPO to deploy a MSI file to a security group comprised of computer objects. After rebooting a test workstation so that it picks up its group membership and running gpupdate, I then ...
1
vote
1answer
806 views

WMIC mystery - why is this query invalid?

Why is this an invalid query? wmic service where 'caption like "%documentum%"' get name, caption Node - PE95AOECM ERROR: Description = Invalid query This is the expected output: ...
1
vote
1answer
277 views

How can I retrieve the data types of properties when querying WMI via Winrm

Winrm allows me to query WMI via the WS-MAN protocol as opposed to DCOM. However, in the DCOM implementation I can retrieve the data types of the various properties of the various classes I query. ...
3
votes
2answers
483 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 ...