Questions tagged [wmi]

Windows Management Instrumentation

Filter by
Sorted by
Tagged with
-1
votes
0answers
41 views

Monitoring multiple nodes with Prometheus, Grafana & WMI_Exporter

I have setup Prometheus on a windows VM to monitor some HOST Nodes & Virtual Machine's on an internal production network. I've installed WMI_Exporter (Windows Exporter) through PowerShell and ...
-1
votes
0answers
42 views

DPM 2019 error: DPM could not execute a WMI query. The query either returned an error or an empty result. (ID: 33507)

Problem The synchronization job for one protection group on my DPM 2019 (with MBS) fails and I get the following two warnings: The used disk space on the computer running DPM for the replica of ...
1
vote
2answers
29 views

Push out Commands to all Domain PCs

I'm looking for a way to push out commands to all workstations. The scenario is as follows: I often go to environments that I am not familiar with to audit the network. Part of that is a network scan, ...
0
votes
0answers
86 views

Reporting Nvidia GPU usage on Windows Server 2019

We have a few servers with a Nvidia Tesla GPU for machine learning. I want to measure GPU usage on these machines. I already measure CPU and process related details using Powershell. I can also report ...
1
vote
1answer
29 views

WMI access denied from one day to the other [closed]

I had a working WMI connection for months. From a W10 Server I check a dozen XP clients. From one day to the other on, one particular machine denies access. All the others that should be identical do ...
0
votes
0answers
28 views

how do ActiveDirectory, WMI, SMB, et al all fit together?

I am studying for the OSCP exam and am getting lost in the rabbit hole that is Windows network technologies. I understand that ActiveDirectory is a Directory Service that implements LDAP expose ...
-1
votes
1answer
283 views

WMI Remote Monitoring getting The RPC Server is unavailable. Windows Server 2019

I'm having trouble connecting to a remote machine via WMI. Getting the error message The RPC Server is unavailable I've ensured that the Remote Procedure Call service is turned on. I've opened all ...
0
votes
0answers
210 views

SCCM Software Center WMI query missing applications

I am using the below query to check the Software center available and installed applications. But some of the apps are missing in the query but available in Software Center. Is there any other query ...
0
votes
0answers
70 views

remote commands unexplained behavior (remote command execution)

Quick explanation of environment: We are running a large amount of Windows machines in a cloud environment for a client who needs them for training purposes. The students should be able to execute a ...
0
votes
0answers
67 views

How to make WMI Win32_OperatingSystem stop changing Name value?

I am currently using the OS Windows Server 2019 Standard. For some reason, the WMI property "\ROOT\CIMV2\Win32_OperatingSystem\Name" is randomly changing its language during the day. ...
2
votes
0answers
33 views

Error exporting VM configuration

I'm attempting a config-only VM export using this script, which was originally posted nearly ten years ago. Hyper-V internals have clearly changed since then, as I'm getting an error message: Failed ...
0
votes
1answer
35 views

WMI Filter in Group Policy evaluating incorrectly

I have three machines: ASAAD-0 MSN-LEED01 MSN-LEED02 In group policy I have a WMI filter called LEED which is the following: SELECT * FROM Win32_ComputerSystem WHERE (Name != "MSN-LEED01" OR Name ...
1
vote
1answer
416 views

Can't query certain namespaces/classes in WMI (Get-WmiObject: Not supported)

I'm trying to query classes in the root\microsoft\windows\managementtools namespace, but am getting an odd error. I have confirmed this namespace exists on my machine, because I can query it using ...
0
votes
0answers
44 views

Get-WmiObject -Namespace “root\Microsoft\Windows\DHCP” -Class DhcpServerv4ScopeStatistics returns empty output

All my DHCP servers(~15) are windows servers (2012R2, 2016) and I need to get the DHCP pool statistics using the following WMI class(s). Running following commands on any of the servers return empty ...
0
votes
0answers
203 views

CPU load percentage for individual processors

I am using following WMI query to get the CPU load percent data. Select * from win32_processor and below instance results are captured. Win32_processor WMI query results By above data it’s ...
0
votes
1answer
153 views

WMI filter for NOT server core for all current Windows editions

I want a WMI filter for all computers except server core for a GPO deploying some GUI tools. The top result for "wmi query server core" has many issues: The answers are specific for Server 2012. The ...
4
votes
0answers
463 views

Powershell Remoting not working

I have PSRemoting working on 90% of my servers. But there are a handful that I'm not sure what's going on with them. Server 2016. Most of them are Hyper-V hosts, but not all. Enable-PSRemoting -...
0
votes
1answer
192 views

Is it possible to restrict WMI logins to specific hosts/IP addresses?

Context: Enterprise IT environment 3000+ Virtual Machines running various editions of Windows Server (the client) Vendor specific application which uses WMI to query the Windows Servers for ...
1
vote
2answers
231 views

Creating a WMI filter covering two classes

I'm trying to create a WMI filter to select all workstations and RDS servers I currently am using SELECT * FROM Win32_OperatingSystem WHERE (ProductType = "1") OR (CSName = "288-RDS01") OR (CSName = ...
1
vote
2answers
199 views

no permission to connect to the WMI provider - after sql server installation

I am the administrator of a windows server 2016. After installing sql server, I want to use the sql server configuration manager to have a look at what ports and accounts are there, check if all is ok....
1
vote
1answer
2k views

PowerShell - Invoke-WmiMethod : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I have 2 workgroup computers. I want to setup powershell-remoting between these two computers. The OS on both the computer is windows 1809. Powershell remoting is enabled in one of the computer. ...
0
votes
0answers
122 views

SCCM - Collecting Local Admins Inventory

I am unable to collect data on the LocalAdmins group on computers. When I check the log files, I get the error below. I am not sure what I need to do in order to get this data? Is it an issue with the ...
0
votes
0answers
29 views

Contrilling WMI Permissions Remotely and removing Administrators group

So, I know the question seems a little weird, but let me explain. We are in higher education, and we have public computers. So on these computers, we enable all users within our department to be ...
0
votes
0answers
209 views

permissions for MSFT classes

Im trying to query MSFT classes under non-admin user Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\Users\john.doe> Get-WmiObject -Query "SELECT * FROM ...
0
votes
0answers
95 views

Win32_NTLogEvent query rendering data with 1 hour latency with event viewer

Trying to collect the event log data with WMI query using class Win32_NTLogEvent.But this is not sync with event viewer data.The WMI query rendering data with 1 hour latency with event viewer.Hence ...
0
votes
1answer
508 views

WMIC on multiple remote PC's failing with: Failed to open Node-list file

wmic /node:@PC-list.txt os get csname,installdate Command above yields this error: Failed to open Node-list file (Please check the filename).
3
votes
1answer
378 views

Windows SMTP: Script Outbound Security

Building a config script in PowerShell to configure web servers' SMTP service to use the AWS SES (simple email service) for outbound mail delivery. Easy to do manually, but as we enter a load-balanced ...
0
votes
1answer
425 views

Define static DCOM port

We have a monitoring server that needs to monitor a Windows Server 2016 in a different VLAN. These VLANS are separated by a hardware firewall. Instead of opening a range of ports for the DCOM ...
3
votes
2answers
315 views

Is Microsoft moving away from WMI?

I've using Linux for years and recently I've joined new organisation who's entire infrastructure is based on Windows Server 2012R2. Ever since then, I've been learning PowerShell and I find it is very ...
1
vote
1answer
119 views

How to change network adapter DNS servers on Windows without using netsh or WIM

I would like to modify network adapter DNS servers on Windows programmatically. I don't want to use WMI, because it fails for instance when no network cable is connected to the ethernet adapter being ...
2
votes
0answers
22 views

How to prevent the installation of third-party AVs for a domain using GPOs?

Our organization uses a particular AV that we manage, but we currently have no way to enforce users not to install any other AVs, which has started to become an issue. I know windows can typically ...
0
votes
1answer
369 views

Trigger task after DataCollection with perfmon

In performance Monitor, I'm looking for a way to compress my data collection (*.blg file) when the collection has reached the stop condition. Looking at the "Data Collector Sets" properties there ...
0
votes
0answers
144 views

Change WMI Security Descriptor programatically not working

I'm trying to change the Wmi Security Descriptor of a about 100 hundred Computers with Windows 10 Pro/DC 2012 R2. I found that the following approach can be used in my case : msdn Executing the steps ...
0
votes
1answer
2k views

WMI E_ACCESSDENIED errors when attempting to remotely rename computer via PowerShell

I am trying to run a script to rename remote computers via PowerShell. The problem I'm running into is that I'm getting the following error: Rename-Computer : Cannot establish the WMI connection to ...
0
votes
1answer
967 views

In Powershell, how to check drive space on remote server with non-admin account?

I work in an active directory environment with many servers. I have a user account that I would like to use to check the status of other servers, without giving this account full administrative access ...
1
vote
1answer
1k views

What permissions are needed to query Win32_PerfRawData_Counters_ProcessorInformation and similar objects remotely?

The Windows Machine I'm using: I ran this on Windows Server 2012 R2 no service pack. the ip is 10.10.123.123 (changed for my privacy!) winrm listener is setup on HTTPS 5986 The user I'm using: is a ...
1
vote
1answer
2k views

Importing GPO WMI filter .mof file

I've got a couple of exported GPO WMI filters off an AD domain as .MOF files. I see that I can import them using the Group Policy Management console but would rather like to re-import them via a ...
1
vote
2answers
9k views

WMI Query for certain computer names but not others

I'm trying to write a GPO WMI query that will include computers with certain names and yet exclude some machines that fall within those parameters. This is what I have (and doesn't work): SELECT * ...
0
votes
0answers
3k views

powershell script to run bitlocker

I am trying to enable bitlocker in all domain joined user machines in my office. I have used a logon script to enable bitlocker in all machines. But this tool is enabling bitlocker in C drive alone. I ...
0
votes
0answers
705 views

WMI \root\microsoft\windows\dhcp not returning any data

I use WBEMTEST.exe to test WMI on Windows Server 2012 R2. DHCP feature on this windows is installed and DHCP Server have a scope. Step 1 : Open WBEMTEST.exe and connected to "root\microsoft\windows\...
0
votes
0answers
774 views

WMI Win32_PerfFormattedData_PerfOS_Memory class doesn't exist

The Win32_PerfFormattedData_PerfOS_Memory WMI class (and many others) don't seem to exist. From a scripting perspective I asked this question when I couldn't get ...
2
votes
1answer
775 views

Determining printers with state “Needs New Driver” via WMI/VBS

Everytime a change is made to our print server, some printers from what staff (without admin rights) have added to their printer list report "Needs new driver" in Devices & Printers (pre Win 10)/...
0
votes
1answer
80 views

Grant Remote Launch and Remote Activation privilege with powershell script

I'm trying to grant full WMI remote access to a domain user, just like this one It works but I need to automate this process with powershell scripts, any ideas? I can't find anything relevant on ...
0
votes
2answers
702 views

Powershell Script output blank on second function

Im writing a big script that scans WMI info from computers in AD. I have functions for diskinfo, raminfo and videocardinfo where disk and videocard have similar output styles. Problem is that ...
0
votes
1answer
537 views

Powershell Disk Info

Im writing a powershell script which prints disk information from computers from AD OU. My function looks like this: function Get-DiskInfo { $disk = Get-WMIObject Win32_Logicaldisk -ComputerName $...
0
votes
1answer
326 views

WMI win32_product installState property

Doing a wmi query on a few systems on my network returns installState=1 for a given software. However, it doesnt appear in add remove programs or HKLM\software\microsoft\Windows\CurrentVersion\...
1
vote
1answer
924 views

Calling wmic with local user from linux box to windows (NT_STATUS_ACCESS_DENIED)

This question has been asked in various forms but none of the solutions worked for me. I am trying to run icinga from a linux box and one the plugins uses WMI queries. It's failing, so I decided to ...
0
votes
1answer
613 views

Send WMI-Command to Hyper-V virtual Machine

i am looking for a method to send a wmi command (to be specific "wmic process") to a virtual machine (hosted with Hyper-V 2016) and get its output. I am watching the windows deployment installation ...
2
votes
1answer
3k views

WMI Filter to detect Windows 10 Creators Update or higher

I have a group policy that needs to apply to Windows 10 Creators / version 1703 / Build 15063 and higher, (Specifically Cross Domain Drive mappings) Until Fall Creators came out, detecting ...
0
votes
1answer
892 views

sql server 2012 service not running

When starting my VM with windows server 2012 R2 which is my SQL-server, I get the following error: My SQL-server service won't run if I start it or if it gets started automaticly. What I have done ...

1
2 3 4 5
8