2
votes
1answer
68 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 ...
0
votes
1answer
70 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
86 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
30 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 ...
0
votes
1answer
97 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
172 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
3answers
783 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 ...
4
votes
1answer
81 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
105 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 ...
3
votes
2answers
273 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 = ...
0
votes
0answers
53 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 = ...
4
votes
2answers
272 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 ...
2
votes
1answer
237 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
306 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 ...
0
votes
1answer
47 views

How can I monitor and graph this WMI/WQL data?

How can I graph this data? Looking for a non-cumbersome way to put this data into a graph/webpage. select writeiops from Win32_PerfFormattedData_ISEVirtualDisks_ISEVirtualDisks WHERE NAME = "trax2" ...
0
votes
0answers
82 views

GPO applied though WMI filter says false

I have a GPO which configures the folder redirection to a network share. This works fine on all workstations with this WMI filter: SELECT * FROM Win32_OperatingSystem WHERE ProductType = "1" But an ...
2
votes
0answers
93 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: ...
3
votes
1answer
168 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$" ...
0
votes
1answer
131 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?
2
votes
0answers
90 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
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
226 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 ...
3
votes
1answer
308 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
2answers
988 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
832 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 ...
1
vote
1answer
489 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 ...
4
votes
1answer
4k views

How to apply an Group Policy only to Clients in a specific IP range? (using WMI Filter)

I need to apply a GPO only to some computers in a specific network range. I'm aware that there many other solutions for this issue. I could group them into an OU or use Sites. But the current ...
4
votes
1answer
2k views

How to get physical partition name from iSCSI details on Windows?

I've got a piece of software that needs the name of a partition in \Device\Harddisk2\Partition1 style, as shown e.g. in WinObj. I want to get this partition name from details of the iSCSI connection ...
2
votes
0answers
262 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 ...
4
votes
1answer
609 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 ...
1
vote
1answer
600 views

Group policy results failing with “Invalid class” error

When trying to run the Group Policy Results Wizard against a specific workstation, I'm getting the following error: The wizard was unable to generate the computer or user's data due to insufficient ...
0
votes
1answer
262 views

Monitor if Perfmon counter sets are running

We have an issue where occasionally over time, a Perfmon counter set will stop. We are looking for a way to monitor if a particular counter set is running, does anyone know of a way to do this? We ...
1
vote
1answer
546 views

Using Win32_FileSpecification WMI instances

I am trying to get a checksum of a remote file using Win32_FileSpecification class via WMI, but am running into a few problems. It uses CheckID as the key, which looks to be similar to the path with ...
0
votes
2answers
297 views

PC inventory system that does not rely on WMI [closed]

I'm looking for a software that can make an inventory of the PCs on your network for an SMB environment. I know ther are plenty (Spiceworks, LanSweeper, etc). But they all rely on WMI to function. The ...
5
votes
1answer
247 views

identify / fingerprint a Windows Server core installation versus full

Seems like this should be easy, but I am not finding any information on how to remotely identify a Windows Server "core" installation as such, via WMI, Powershell or other method that can query lots ...
1
vote
2answers
1k views

How to assign two IP addresses (one DHCP, one static) to a NIC using WMI?

Found question and great answer: WMI and adding Multiple IP Addresses? However this only explains how to add multiple static IP addresses. I am looking how to configure a dynamic (DHCP) and at least ...
5
votes
3answers
3k views

What is the closest equivalent of “load average” in Windows available via WMI?

Linux has a notion of Load Average which is defined as: System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable ...
5
votes
3answers
1k views

How to retrieve Serial Number from Windows on new U/EFI box?

I need to retrieve the hardware serial numbers from a set of new HP mini desktops that need provisioning. This worked in the past using a WSH script to query it via WMI. Unfortunately, the newer ...
3
votes
1answer
1k views

Where can I find a guide to remotely enable WMI access to a Windows client machine

I need to enable the WMI remote access in a lot of client machines in order to connect to these machines and get some information. These machines have installed different versions of windows (Windows ...
4
votes
1answer
121 views

Prevalence of WMI enabled in real Windows Server networks

Hi I would like to get opinions from systems administrators, on how common it is that WMI functionality is actually enabled in corporate networks. I am writing an enterprise network application that ...
0
votes
1answer
342 views

Enabling WMI and corresponding firewall exception via a Group Policy Object

Hey guys, I have tried enabling WMI on my local domain using a group policy object which sets the service as on at startup. In addition i added an exception for it via the windows firewall policy ...
1
vote
2answers
62 views

Possible to enumerate what has been web-deployed to an IIS server?

Is there some way, e.g. through WMI, that I can query a box running IIS what web applications has been deployed to it using web-deploy? Thanks in advance.
3
votes
1answer
1k 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 ...
1
vote
2answers
261 views

Listing services on remote machine locks me out of the machine

I run a powershell command to list all of the services on a remote matchine: $b = 0; get-wmiobject win32_service -computer $computerName -credential $cred | select-object Name, ...
0
votes
1answer
1k views

Windows script to change from DHCP to Static IP addressing

I need a (WSH) script that clients can execute on their machines themselves and with a minimum of hassle and without me requiring any special privileges. The script should take the existing IP ...
10
votes
2answers
16k views

What is stored in %Windir%\System32\LogFiles\WMI\RtBackup?

I occasionally notice in Resource Monitor hard disk activity related to ETL files in the folder C:\Windows\System32\LogFiles\WMI\RtBackup. Which process/service creates these ETL files and what is ...
0
votes
1answer
455 views

How to script GPO in Windows computers without Active Directory?

Does anyone know how to script GPO for users in a Windows computer that is not on any Active Directory network? I can't use GPMC because it doesn't work without a domain. I have been searching the ...
1
vote
1answer
5k views

Which ports does WMI Service in Active Directory use exactly?

I read in the technet, that the WMI Services uses random ports over 1024 because of RPC.. Now is the question does it use 1025-5000 because of the microsoft port reservation or could it use more than ...
1
vote
2answers
250 views

Best way to get thousands of IPs bound to a NIC in Windows 2008 and 2003?

I had setup a small application that uses WMI to setup a nic with multiple IPs. Does someone know of a better way of doing this once we start unsing thousands of IPs on a single nic? I amnot much of a ...