Skip to main content

Questions tagged [wmi]

Windows Management Instrumentation

1 vote
0 answers
61 views

Why does the 'commandLine' property in WMI's 'win32_Process' return null for processes run by non-administrative users?

I have created a non-admin user, and trying to get details of Win32_Process but i'm either not getting any value or incorrect value for commandLine argument. I followed below steps to create the non-...
Saumya Chattopadhyay's user avatar
-2 votes
1 answer
178 views

Can't manage the workstations in my AD homelab (COM+, WMI)

I'm having troubles managing the workstations on my AD homelab (Windows Server 2019). It's not a network path issue because once the firewall on the remote host is disabled I can do Management. The ...
ObjectiveBox's user avatar
0 votes
1 answer
2k views

Access denied connecting to Windows Server through WMI

I want to connect to windows server 2019 through WMI. I test the connection by Paessler WMI tester and I get 80070005: Access is denied. I did the following but the problem is not resolved. give ...
mahmood mollaei's user avatar
0 votes
1 answer
287 views

WMI query or Powershell command that retrieves a sampling of historic CPU and memory usage for Hyper-V

I need to programmatically retrieve a sampling of recent CPU & memory usage on a Hyper-V system, as seen by the guest OS. By recent, I mean within the last few mins. I can't customize the target ...
Suzette S's user avatar
0 votes
0 answers
205 views

WMI Filter Does not Apply After Updates

I have a GPO with this WMI filter: SELECT Name From Win32_ServerFeature WHERE Name = 'Web Server (IIS)' The GPO has a startup script meant to modify a file to instruct the load balancer that the ...
Micah Hunsberger's user avatar
0 votes
1 answer
1k views

Could not establish WMI connection access is denied

I set up a lab to test domain joining multiple computers with a script from Microsoft. After I ran the script it came back with could not establish a WMI connection with the computer with the ...
Hagen_21's user avatar
0 votes
1 answer
2k views

WMI issue - Access Denied - tearing my hair out!

I'm getting a weird access denied error for WMI on one of our servers that I can't understand. It appears to fail from any PC/Server that's attached to our domain, yet if I try it from my laptop that ...
miroslav22's user avatar
0 votes
2 answers
1k views

Calling WMI on a remote machine with PacketIntegrity authentication level (with KB5004442 activated)

I'm trying to retrieve a WMI objects on a remote machine using the following powershell code : Get-WmiObject -ComputerName mymachine -class Win32_operatingSystem -Authentication PacketIntegrity ...
nmariot's user avatar
  • 61
0 votes
2 answers
6k views

Check Windows registry to see if host is joined to an Azure AD domain?

On a Windows PC joined to a 'traditional' Active Directory domain, querying Win32_ComputerSystem or Win32_NTDomain returns the domain name. On Azure anything [joined], those classes return nothing. ...
SKidd's user avatar
  • 61
0 votes
1 answer
2k views

Windows 10 Offline files synchronization monitoring

There is a class in WMI ROOT\CIMV2 named Win32_OfflineFilesHealth with property LastSuccessfulSyncTime. But the class is having no instances even if I have Offline files enabled and I'm using it. What ...
Jan Vojtěch Vaníček's user avatar
0 votes
1 answer
149 views

Find Windows VolumeId from FilePath

Problem I want to find the VolumeId that my file is on using the file path. The Best Solution That I Can Think Of The best way that I can think of accomplishing this is to query out via WMI/CIM all of ...
SQLing4ever's user avatar
1 vote
0 answers
540 views

New-CimSession from outside domain

How can I initiate a new CIM session to a Windows server in my domain, from a PC that is not in the domain? I know this works, because I did it recently from the same computer, but I always forget the ...
jdm's user avatar
  • 231
0 votes
3 answers
5k views

Uninstalled Program(s) still appear in WMI Object “WIN32_InstalledStoreProgram”?

Note: This is a repost from an original post on StackOverflow. I was directed here by a helpful user, and am simply reposting. I made a StackOverflow account for the first time due to this annoying ...
BurgundianM's user avatar
1 vote
0 answers
3k views

Powershell Script setting WMI CIMV2 Permissions

I am currently trying do change up a script so that I can put it into a GPO. The Script itself works but I want to do a "if else" around it. The Script is found here: https://gist.github.com/...
wondaah's user avatar
  • 36
1 vote
2 answers
1k 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, ...
Juan BrickTech's user avatar

15 30 50 per page
1
2 3 4 5
27