Windows Management Instrumentation

learn more… | top users | synonyms

4
votes
1answer
188 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
103 views

Why can't I remote manage a domain-joined Windows 10 computer?

I have a Active Directory domain of old Windows 7 computers and introduced a new Windows 10 computer. However, when I right-click the Win10 computer in AD Users & Computers, and select Manage, I ...
2
votes
1answer
365 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') ...
2
votes
1answer
384 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 ...
2
votes
1answer
496 views

Is there a way to collect WMI or WBEM/CIM data with Collectd?

I've got an Ubuntu server running statsd, collectd and Graphite. I'm looking to collect data from Windows servers via WMI. I don't see an official plugin for WMI or WBEM/CIM on Collectd's web site. Is ...
1
vote
1answer
882 views

WMI Issue - The paging file is too small for this operation to complete

I have an issue with a Windows Server 2008 Standard SP1 whereby I have lost the ability to monitor it remotely. After investigation, it appears to be because there is an issue with WMI. In the WMI ...
1
vote
1answer
410 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 ...
4
votes
0answers
297 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 ...
3
votes
0answers
12k views

List ALL Printers using Powershell

I'm having issues listing all the printers on a computer using Powershell. We have a batch script that will add/remove/list "per computer" printers using PrintUI. I can use PrintUI to list the ...
2
votes
0answers
107 views

Get-WmiObject Win32_PerfFormattedData_Tcpip_NetworkInterface results in 'Invalid Class' error

On of my Nagios plugins to monitor the network load gives me problems on one Windows 2008 R2 server (out of 600). You can download the plugin here: https://github.com/willemdh/...
2
votes
0answers
27 views

WMI Query - First and Fourth IP octet

Is anyone aware of any WMI queries that could be used within group policy which only lists all IP address, which end in .200 and I have multiple sites, multiple networks, I only need to list the ...
2
votes
0answers
406 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 ...
2
votes
0answers
142 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 ...
2
votes
0answers
523 views

Can I create a WMI filter that will evaluate to True for both Client computers and Terminal Servers?

I have a GPO that is currently being run only on client computers (XP, Vista, 7, etc.), by using a WMI filter with the following query: select * from Win32_OperatingSystem where ProductType='1' I ...
2
votes
0answers
160 views

Listing all WMI classes with winrm/wsman

Is there a way to pull all WMI information from a system with a single winrm command? I can run commands such as winrm enum wmicimv2/win32_computersystem, which will give me information like: ...
2
votes
0answers
728 views

SCCM 2007: Create new Advertisement using WMI

I'm trying to create a new advertisement using Powershell. I've looked around and found a bunch of scripts that use WMI. Using Set-WMIInstance upon the SMS_Advertisement class. I can accomplish ...
2
votes
0answers
740 views

What constitutes a large WMI repository and what can cause it to grow?

Our organization is experiencing lengthy startup times after improper shutdowns that seem to be tied to the size of the WMI repository. For example, a repository folder size of 50 megs might result ...
2
votes
0answers
196 views

Windows WMI get a snapshot EnabledState

I am trying to get the EnabledState of a virtual machine snapshot using WMI. That is I try to get the EnabledState that was current for the virtual machine when the snapshot was taken. So far I know ...
2
votes
0answers
1k views

How to Make a WMI call fail?

I'm a developer but I have a question that seems belongs more in the ServerFault category than StackOverflow. We have a production service that every so often tends to throw: System.Runtime....
2
votes
0answers
424 views

Processing of group policy failed - Only on 32bit machines

When forcing a group policy update I get the following messgae, but only on 32bit windows machines. 64bit works fine. Running windows 7. The processing of Group Policy failed. Windows could not ...
1
vote
0answers
23 views

wmic query fails with “NTSTATUS: NT_STATUS_BUFFER_TOO_SMALL - Buffer too small” error

I have a class that creates an object in WMI and I'd like to query it from a linux machine running cacti using wmic. If i run the query I get an error, see below: /bin/wmic --namespace='ROOT\CIMV2\...
1
vote
0answers
31 views

Get-WmiCounter Win32_PerfFormattedData_NETFramework_NETCLRMemory Incomplete in non admin context

So I have created a script to gather counters using Get-CimInstance (which supercedes Get-WMIObject) and run it as a services via srvany.exe. I get an issue where for the .Net CLR classes, some ...
1
vote
0answers
169 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
0answers
72 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 I'...
1
vote
0answers
123 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 ...
1
vote
0answers
365 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
0answers
248 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 ...
1
vote
0answers
2k views

WMIC with XCopy: Copy file from Remote System to Shared Location

Today I found one issue where, I would like your help... Situation: I want to copy my remote file (which is not shared directly) to other system (which is shared) so, basically it's like Remote ...
1
vote
0answers
1k views

wmic shows network drives as used that have been unmapped

I have a script running on Windows 7 Professional SP1 x64 that maps the first available network drive to a network resource, uses it, and then deletes the mapping. Unfortunately, after deleting the ...
1
vote
0answers
842 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 ...
1
vote
0answers
330 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
0answers
17 views

WMI permission issues with specific users (processes)

I am using a VB script to determine whether or not a specific process is running on a remote server. This allows me to inform the user to close this application before backup is running. (Old system, ...
0
votes
0answers
33 views

WMI fails with to query with linux wmic, but works from a windows machine

I have 2 Servers, one at 192.168.1.10 and one at 192.168.1.20, one work, the other gives me this output and I cannot figure out why, they are both running Windows 12R2. I am able to query the machine ...
0
votes
0answers
24 views

WMI query to find lack of drive letter for Group Policy

I'm building a group policy to apply to a subset of users within my organization. This subset of users have no Home Directory set on their Active Directory object, whereas other users have an I:\ ...
0
votes
0answers
24 views

Using SCCM WMI Global Condition to detect exsistence of hardware

I am attempting to use Global Conditions to allow SCCM 2012 Application objects to trigger the installation of a video driver package. I'm running into issues when I have both an onboard (CPU or ...
0
votes
0answers
17 views

WMI failure causing SBS Console crash?

Dell PowerEdge T410 Windows Small Business Server 2008 SP2, all updates applied Some months ago, this server was restored from a bare metal Windows Server Backup image. Since then, the SBS Console ...
0
votes
0answers
16 views

Browse through wmi classes GUI

I am trying to explore, or browse through wmi classes in a graphical interface. I have been searching about the options available but there are many. Microsoft offers wmi object explorer but it ...
0
votes
0answers
70 views

WMI service not working properly

I'm Having an issue with WMI, which seems to also affect DFS. I've tried rebuilding the repository, but it's still giving me the same error. Here's what DFS health report showing: SRV-FS02 (2 ...
0
votes
0answers
18 views

Querying supported 802.11 protocols through WMI?

Is it possible to query a network adapters supported 802.11 protocols through WMI? The computers I'm trying to do this on are all running windows 7 professional. I know it's possible to look up the ...
0
votes
0answers
78 views

Firewall Blocking PSWindowsUpdate

Problem I am trying to use the script from this link below to retrieve windows updates from a remote computer (Server 2012 R2) using the command Get-WUList. https://gallery.technet.microsoft.com/...
0
votes
0answers
46 views

How to create a new user and add it to a group in VisualSVN with the command line?

I have a VisualSVN Server running on a Windows Server machine. I want to create new users and add them to certain groups in batch. How can I do it by using only the command line? If I understood ...
0
votes
0answers
56 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 ...
0
votes
0answers
2k 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 ...
0
votes
0answers
197 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 ...
0
votes
0answers
262 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 = GetObject("winmgmts:{impersonationLevel=...
0
votes
0answers
145 views

Powershell script to retrieve the same kind of info reported by DMDIAG for dynamic disks

This article about windows partition alignment explains that checking the alignment offset of dynamic disks can be done with the DMDIAG tool to get the "relative sectors" property. With dynamic ...
0
votes
0answers
487 views

Unable to launch SQL Server Configuration Manager - WMI provider issue

Hoping you can help. I am having issues opening SQL Server Configuration Manager on Server 2k3 with the following error: Cannot connect to WMI provider. You do not have permission or the server is ...
0
votes
0answers
518 views

Why Wmi info for disk size is wrong?

i am expecting a very curious problem. In a script collecting disk infos on a list of W2008 servers, i realize that, for some servers, the Wmi info for the disk size is wrong. My Powershell command: ...
0
votes
0answers
165 views

Adding properties to the Win32_UserAccount Class

How to add new properties to *Win32_UserAccount* class and add values to it? I have used wbemtest command and Have created a new property to the class Win32_UserAccount. How to make it fetch the ...