Questions tagged [wmi]
Windows Management Instrumentation
402 questions
0
votes
0
answers
123
views
How to find out the free space available in my mapped drive in Azure for my SQL Server backups?
I backup my SQL Server to an Azure location.
The way I do this is by mapping the Azure location as a drive in SQL Server and then direct my backups to that location.
When I run the following script I ...
2
votes
2
answers
573
views
What's a proper WMI Filter Query for Computers without a TPM?
I have two GPO's that affect Bitlocker. One GPO for computers with TPM and one for computers without TPM. Then we structure out our AD OU where the departments are under the TPM ou or the No TPM ou ...
1
vote
0
answers
276
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-...
-2
votes
1
answer
935
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 ...
0
votes
1
answer
7k
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 ...
0
votes
1
answer
460
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 ...
0
votes
0
answers
336
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 ...
0
votes
1
answer
2k
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 ...
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 ...
0
votes
2
answers
2k
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
...
1
vote
2
answers
12k
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.
...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
253
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 ...
1
vote
0
answers
714
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 ...
0
votes
3
answers
7k
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 ...