Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
1answer
15 views

psexec wmic command on Windows Server 2003 R2 machine

I'm trying to execute a simple command to a machine that is running Windows Server 2003 R2. The command is as follows: psexec \\SERVER\ WMIC PRINTER GET PORTNAME The connection seems to hang and ...
0
votes
0answers
11 views

WMI query of ARR Server Farm returns duplicate entries on some machines

I am working on integrating Application Request Routing's health checks (in Monitoring and Management) with Icinga, and to do so I've written a small C# web app that executes a WMI query and deployed ...
2
votes
3answers
66 views

How do I get the free space of a remote disk without admin privileges? (Windows)

I'm an admin on two servers (Win 2008 R2). I have a scheduled task that copies large files from a share on one server to another. Before I do the copy, I check that the destination disk on the other ...
0
votes
1answer
29 views

Which registry key corresponds to “Log on as a service”?

I want to be able to set this value programmatically (preferably via WMI). It must live in the registry or some other location. Yes, I know how to do it via MMC using secpol.msc, but I need to ...
0
votes
2answers
54 views

Poll domain members for their screen resolutions

Is there a way via WMI or Powershell to ask each domain member what the resolution is on their desktop? I need to know but can't go and visit each one. For bonus points, how to summarize the results ...
1
vote
1answer
87 views

Create SCCM device collection based on last logged on users who are members of an AD security group

I'm trying to create a device collection in SCCM 2012 which contains only the devices who are used by the users who are members of a certain User AD Security Group. I tried to accomplish this by first ...
1
vote
0answers
27 views

Monitoring Exchange 2013 Databases with Intermapper [closed]

I'm currently setting up a Intermapper map, which is a monitoring system, to monitor a Exchange 2013 server and I couldn't find yet a way to monitor the databases health. For now, just the mount ...
1
vote
0answers
45 views

Using WMI to query Windows Event Collector logs

Using WMI to query the eventlog is quite simple, using Win32_NTLogEvent, for example: Get-WmiObject -query "SELECT *FROM Win32_NTLogEvent WHERE (logfile='Application' and SourceName='Something') ...
4
votes
0answers
84 views

Get-Process not working against remote Windows 7 clients

I have been trying to run Microsoft's GetNetworkStatistics script against remote computers to enable us to track what processes are using bandwidth along with other tools. I am unable to run the ...
8
votes
1answer
210 views

DFSR-related WMI info is missing

OS: Server 2012 Core and Server 2012 R2 Core. DFS-Replication is installed and appears healthy. I am using WMI to collect information from DFSR replication members. The queries work on many of the ...
1
vote
1answer
57 views

Access to “Windows Security” logs for “eventlog” group

Security logs are not available for users in eventlog group. I've checked this down to security event log file. eventlog group has all permissions. Unfortunately I cannot add my user to ...
2
votes
2answers
97 views

Can I find the path to a DCOM application executable with WMI or Powershell?

I have installed (and registered) a DCOM application on a W2K8R2 machine, and its GUID can be found in the DCOM list shown by dcomcnfg. I can also use Powershell to find a Win32_DCOMApplication or ...
0
votes
0answers
26 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 ...
1
vote
0answers
76 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 ...
1
vote
1answer
150 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
2answers
92 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 ...
2
votes
0answers
111 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
195 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 ...
4
votes
2answers
132 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 ...
0
votes
0answers
934 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
79 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 ...
2
votes
1answer
1k 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
108 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 ...
5
votes
1answer
118 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
34 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
228 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
101 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
97 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
120 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. ...
4
votes
0answers
113 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 ...
3
votes
2answers
101 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
186 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
9 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
85 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
597 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
85 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
55 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
106 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
808 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
1answer
688 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): ...
3
votes
1answer
1k 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
1answer
279 views

wmic hanging on remote server?

Based on information from my previous question, I'm trying to learn wmic. I'm playing around with trying to look at which processes are using the most resources on a remote server. What I've managed ...
1
vote
0answers
237 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
886 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 ...
1
vote
2answers
3k 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
65 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 ...
4
votes
3answers
305 views

How do I launch a command on a remote computer with an invalid domain trust? (using local creds)

I intend to use WMIC to reset the trust of a machine that is remote, and off the network. All of the following variations result in an "access denied": The following works fine: net use ...
2
votes
1answer
83 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
119 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
161 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 ...