Windows Management Instrumentation

learn more… | top users | synonyms

0
votes
0answers
107 views

Identify Hyper-V VM GUID from Performance Counters

I am gathering CPU performance data for Hyper-V Virtual machines using perfmon or through WMI using the "Hyper-V Hypervisor Virtual Processor" counter. The output data contains My issue is that when ...
6
votes
2answers
744 views

powershell: How to check if S.M.A.R.T is enabled on remote machines

I was attempting to get disk info of remote machines, including whether or not SMART is enabled on the drive by using the win32_diskdrive class. This is trickier than I thought. While it's easy ...
2
votes
0answers
98 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: ...
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 ...
0
votes
0answers
121 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 ...
1
vote
1answer
397 views

Windows Remote WMI

i want to manage my Windows Server 2012 remotly via Server Manager and the MySQL installation via MySQL Workbench 6. Now i got serval problems. The first one is that i cant get remote WMI access to ...
3
votes
1answer
206 views

Windows PowerShell Select removing columns

I am a linux guy so I'm used to "grep". With grep it keeps the columns, however in powershell it changes the output. For example: Get-WmiObject -List | Select-String -Pattern "Win32_LogicalDisk$" ...
2
votes
0answers
273 views

RPC Server unavailable. 0x800706BA [closed]

I've alsready seen some similar threads on the RPC server unavailable messages; HRESULT: 0x800706BA. I've read some and looked at the recommendations on this thread; WMI query between two different ...
0
votes
0answers
166 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: ...
2
votes
0answers
362 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 ...
11
votes
4answers
713 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 ...
1
vote
1answer
144 views

System health monitoring of unmanaged server using WMI / SNMP

I need to monitor the health of a couple unmanaged servers (specifically Dell SC1425), preferably using WMI or SNMP. They are running Windows Server 2003 SP1. Ideally I am looking for a single ...
3
votes
2answers
852 views

Delete Shadow Copies Remotely

I currently use DISKSHADOW to remove shadow copies from our Hyper-V servers. To do this I have to log onto the server but psexec doesn't work. psexec \\hyper-v-server diskshadow DISKSHADOW> Error ...
2
votes
1answer
133 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 ...
0
votes
0answers
115 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 ...
0
votes
1answer
114 views

Get OS information with WMI from Small Business Server 2011 for Windows 2008 virtual machine

In my organization, the main server is Windows Small Business 2011. It uses a WMI service (I think) to get the Security and Update status of computers on the network. I have a Server 2008 virtual ...
0
votes
1answer
144 views

How can I get Control Panel's Add/Remove programs list?

Ho can I obtain/export the Windows Control Panel Add/Remove programs list using WMI or VB script?
13
votes
1answer
3k views

SCCM 2012 SP1 - DownloadContentFiles() failed with hr=0x80041013

We noticed our Automatic Deployment Rules for Software Updates failed to automatically download and apply this month's patches from Microsoft although they are correctly listed in the Catalog. ...
0
votes
1answer
690 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. ...
2
votes
3answers
297 views

Notify when a message did not occur

In Nagios it is easy to check that a log message happened in the last 48 hours and sound alarm. But how can I configure Nagios that it should sound alarm when a message did not occur in the last 48 ...
0
votes
2answers
888 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?
0
votes
1answer
73 views

What are the ways/tools to compare 2 Windows installations and their KB updates?

I have a list of machines, some machines throw System.Runtime.InteropServices.Marshal.ThrowExceptionForHR upon doing Windows Management Object's query, select Name, State, Started, Status from ...
2
votes
0answers
285 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
1answer
173 views

Remote disk monitoring with WMI without admin rights

I am setting up a restricted WMI group that should be able to read WMI information from my remote hosts. I have the group set up as member of the remote DCOM and performance monitor groups. I also ...
2
votes
2answers
495 views

PowerShell to reset local Administrator account password. 5% failures

I have the responsibility for changing the local administrator account password on my environment of 16,000 servers; I wrote a PowerShell script, but it took too long, so I added multi-threading using ...
2
votes
1answer
596 views

The RPC server is unavailable from .NET over AWS

I am trying to access EC2 machines remotely to get some info using C#. I wrote code as below:- ConnectionOptions options = new ConnectionOptions { Username = serverspace.ServerIP + @"\xxxxxx", ...
0
votes
1answer
227 views

How to find a user in a specific group using wmi

I have added a "SearchingUser" user to administrators group of a remote server "RemoteServer". I am trying to verify the user is added to the server using WMIC and this is the command: wmic ...
2
votes
0answers
93 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 ...
1
vote
1answer
71 views

Undocumented value in DfsrIdRecordInfo class

According to MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/bb540013(v=vs.85).aspx) these are the only possible values of the "flags" attribute of the DfsrIdRecordInfo wmi class: ...
1
vote
3answers
2k views

WMI: How can I fixe 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 ...
2
votes
1answer
240 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 ...
4
votes
1answer
427 views

WMI Impersonation levels within vbscript / ASP code

I have an IIS 7.5 web site running "classic" ASP code (not ASP.NET) where the site is running under the normal service context, and only "Windows Authentication" is enabled. Users and navigate the ...
0
votes
1answer
83 views

TCL, WMI and twapi

I am sorry if this is a double post. I thought I posted this question yesterday, but cannot find it. We are going to start the process of changing our network numbering scheme from 192.168.88.0/24 ...
3
votes
1answer
352 views

When I query Win32_PnPEntity , my PS/2 devices always show up as [Not Present, Not Working, No Driver]… Why?

I am using a WMI query as part of a general diagnostic script, and I query the following: strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set ...
0
votes
1answer
85 views

Pinging the hostname of the server I'm on does not reach out to DNS, responds with 'lowest' numerical IP

For example: Server: server1.contoso.com IPs present on server: Initially configured statically with 10.10.20.100, it had two additional IPs added to the same NIC, 10.10.20.20 and 10.10.20.102. A ...
0
votes
1answer
516 views

Use SCOM 2012, WMI, or Powershell to identify all servers that have hyper threading turned off

We recently setup SCOM 2012 and deployed agents to all of our servers. We also have noticed that a number of these servers do not have hyper threading enabled, which they should. Is there any way we ...
0
votes
1answer
258 views

Show processes running on remote computer using WMI

I'm using WMI in order to run commands on a remote machine. For now, and I know it's as it should be, the process which is being run is not shown on the screen of the remote, I can only see it running ...
0
votes
2answers
2k views

Issue when connecting to Hyper-V Server 2012 throw Hyper-V manager(Windows7) and Powershell

I know there is many topic, but i cannot find solution that works. There is issue when connecting to hyper-v server throw hyper-v manager and also powershell. Can not connect to RPC service. ...
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.
11
votes
3answers
847 views

Installing Windows Management Framework 3.0 basically destroyed WMI, how can I fix it without reinstalling the O.S.?

Related, of course, to this question. Before discovering it was somewhat... dangerous, I installed Windows Management Framework 3.0 on a number of Windows Server 2008 R2 SP1 servers, and WMI got ...
28
votes
5answers
1k 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
0answers
240 views

is it possible to set DCOM static TCP endpoint from Server - FIx WMI Port SERVER SIDE

I need to establish remote WMI Connections from a Windows Server 2008 with static port. I know that WMI calls use port 135 and then chooses a random port, what I would like to know is if WMI can be ...
0
votes
1answer
135 views

Determine wifi capabilities of Windows box (with WSUS install rules)

I need to determine if a computer is in fact a laptop with wifi capabilities (with emphasis on wifi rather than laptop). More precisely, I want to distribute a piece of software I wrote via WSUS and ...
0
votes
1answer
163 views

ASP.NET Applications WMI class not found

I'm trying to instrument ASP.NET cache behavior on a web cluster by accessing the counters in the WMI class, Win32_PerfFormattedData_ASPNET_ASPNETApplications. 2 of my servers have this class, but 1 ...
4
votes
1answer
102 views

Is it easy or even possible yet to manage windows firewall with powershell?

I'm doing some POC testing on a server 2012 environment, and during initial firewall configuration I find myself going to the GUI repeatedly when I'd really much rather be able to write a script. I've ...
0
votes
1answer
290 views

GPO WMI username filter not working over RDP

I'm trying to write a WMI filter to prevent a GPO from applying to certain users SELECT * from Win32_ComputerSystem WHERE NOT UserName LIKE 'domain\\user1_%' AND NOT UserName LIKE 'domain\\user2_%' ...
0
votes
1answer
3k views

How to get cluster information remotely via Powershell?

I've been trying to find a good way to gather various pieces of a windows cluster setup remotely, preferably via WMI, as we are not yet at a point where Powershell remoting is implemented (and I know ...
0
votes
1answer
689 views

Remote Administer Local Groups with PowerShell and WMI

How do I administer local groups on a remote server with PowerShell and WMI? For example, I would like to add and remove domain AD groups from the "Remote Desktop Users" group. This article provides ...
1
vote
1answer
543 views

Obtain device driver version and associated GUID using PowerShell?

Right now, I am getting two separate objects A Win32_NetworkAdapter WMI object A Win32_PnpSignedDriver WMI object In my previous scripts, I've made sure I was calling separate objects, and ...
0
votes
1answer
3k views

'The RPC server is unavailable' when converting a physical ISA/Forefront TMG machine to virtual (P2V) in SCVMM

When I try to convert a physical ISA/TMG machine to virtual using SCVMM, i keep getting an error in the Collect machine configuration step ('Scan Now' button): VMM is unable to complete the ...