Windows Management Instrumentation

learn more… | top users | synonyms

2
votes
0answers
13 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. ...
0
votes
0answers
11 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 ...
3
votes
1answer
1k 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 ...
5
votes
0answers
28 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 ...
9
votes
2answers
2k 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
3answers
3k 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 ...
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 ...
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 ...
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.
2
votes
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 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
883 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. ...
1
vote
1answer
31 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
895 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 ...
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 ...
5
votes
1answer
4k 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
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 ...
5
votes
3answers
239 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 ...
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 ...
1
vote
1answer
40 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
2k 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
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 ...
1
vote
2answers
404 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
489 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
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, ...
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
1answer
32 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
209 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
36 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
52 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 ...
14
votes
4answers
15k views

Which permissions/rights does a user need to have WMI access on remote machines?

I'm writing a monitoring service that uses WMI to get information from remote machines. Having local admin rights on all these machines is not possible for political reasons. Is this possible? What ...
1
vote
1answer
559 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 ...
3
votes
1answer
362 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
779 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 ...
0
votes
1answer
152 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
347 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
2answers
511 views

How to put laptop to sleep with powershell/vbs/wmi/…?

I'd like to be able to put my laptop to sleep from the command line. According to Microsoft, the Win32_Battery WMI class has a SetPowerState method that looks like it should be able to do this, ...
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 ...
0
votes
1answer
9k 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
0answers
108 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 ...
0
votes
0answers
25 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
41 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 ...
2
votes
1answer
173 views

Windows server 2012, missing WMI ASPNET counters

I've been using the following WMI query to check how many IIS sites are currently running on my Windows 2008 webservers: SELECT ApplicationsRunning FROM Win32_PerfRawData_ASPNET4030319_ASPNETv4030319 ...
1
vote
0answers
64 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
92 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 ...
7
votes
4answers
6k views

Network Logon Issues with Group Policy and Network

I am gravely in need of your help and assistance. We have a problem with our logon and startup to our Windows 7 Enterprise system. We have more than 3000 Windows Desktops situated in roughly 20+ ...