Skip to main content

Questions tagged [wmi]

Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows operating systems. It is based on Web-Based Enterprise Management (WBEM) and Common Information Model (CIM).

0 votes
1 answer
77 views

Can we get text scaling and monitor properties with WMI?

It is possible to use WMI to detect things like: Text scaling Screen resolutions Multiple Monitor configuration/layout ? I see Win32_DesktopMonitor but it doesn't seem to give me any of this info.
Andrew Truckle's user avatar
1 vote
0 answers
245 views

Win32_EncryptableVolume and Bitlocker

I am playing around trying to learn the Win32_EncryptableVolume class functionality (https://learn.microsoft.com/en-us/windows/win32/secprov/win32-encryptablevolume). I have created a VM for the ...
user2334659's user avatar
0 votes
0 answers
945 views

NVIDIA Drivers cause WMI corruption

Several versions of recent NVIDIA drivers are corrupting WMI. We discovered this when our systems stopped being able to update group policy, run resultant set of policy, and other items were broken. ...
Appleoddity's user avatar
  • 11.8k
0 votes
0 answers
71 views

Check if Logitech K400+ is turned on or off / Logitech K400+ Power Change Event

I'd like to run a script when I turn my Logitech K400+ on or off. I tried to detect the status of the device using Get-WmiObject win32_keyboard and Get-WmiObject win32_PointingDevice, however, the ...
FatalBulletHit's user avatar
0 votes
1 answer
1k views

Cleaning up Windows store app install state

I'm trying to remove all traces of an old version of Microsoft 3D Viewer. These PowerShell commands say it's installed Get-AppXPackage -All Microsoft.Microsoft3DViewer Get-WmiObject -Query "...
Rup's user avatar
  • 1,012
1 vote
1 answer
180 views

How do I get a WMI subscriber to run from a script?

I am trying to register a WMI event handler from inside a Powershell script file. Here is the complete script I'm testing with. $RegPath = 'HKCU:\Test\' $Query = "SELECT * FROM ...
UpTide's user avatar
  • 145
7 votes
3 answers
8k views

Motherboard missing serial number and UUID?

I have several machines I have networked together and I use information about the motherboard to uniquely identify them. This is the Windows PowerShell code I use to get it: >> $Manufacturer = ...
EllipticalInitial's user avatar
1 vote
1 answer
343 views

Windows how to emulate an internal display in a virtual machine

I'm trying to run a program in a virtual machine, this program try to fetch my display information trought Windows WMI with a query: var success = true; List<Display> displays = new List<...
leo________'s user avatar
0 votes
0 answers
77 views

Remote Procedure Call slow returning error

I have a server process that sends a WMI query to multiple PCs at frequent intervals. Normally it works fine and takes about 1 second to get a result from each PC. When there is a problem reaching a ...
WMIneedHelp's user avatar
0 votes
1 answer
458 views

Get a list of supported GPU engine types

I am trying to pull GPU metrics off WMI/ Powershell From my research I gathered that the GPU usage is segregated into different "Engine Types" (https://devblogs.microsoft.com/directx/gpus-in-...
user-x's user avatar
  • 3
2 votes
0 answers
446 views

Attempting to register WMI task results in Event ID 10 with Error 0x80041010

I am currently trying to register a task in the WMI to run a script whenever a USB stick is inserted. For testing purposes I have written the following .mof-file (mostly taken from here): #PRAGMA ...
Jan Mackenstein's user avatar
0 votes
0 answers
674 views

Sensible debugging of WMI Provider/Service?

So I'm trying to make sense of the issue with WMI I have. Every time a new object change is made via Group Policy Client (be it new firewall rule or any other property state change) I see about 50 WMI ...
Digika's user avatar
  • 21
1 vote
1 answer
198 views

Renaming Computer by executing Bat Files

I am trying to create a FAST API to change the name of the system by executing the bat files. The name gets changed but its not accepting special characters like -, , and '. I have searched a lot but ...
Xandra's user avatar
  • 11
0 votes
1 answer
819 views

Odd entries for Win32_LogonSession and respective StartTime

I'm sorry if this isn't the best place to ask this, but if not here, I'm not sure where else. I've recently been debugging my computer and trying to see if there is any hidden malware. I've mostly ...
John Hunt's user avatar
-1 votes
1 answer
54 views

Is there any benefit of keeping the default boot drive of Windows 10 as C:?

I am using below query to find that the default drive in Windows 10 is C:, is there any benefit of keeping it as it is. Also how to change the default boot drive so that it is reflected in the result ...
Divik Shrivastava's user avatar

15 30 50 per page
1
2 3 4 5
12