Questions tagged [wmi]

Windows Management Instrumentation

Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can write WMI scripts or applications to automate administrative tasks on remote computers but WMI also supplies management data to other parts of the operating system and products, for example System Center Operations Manager, formerly Microsoft Operations Manager (MOM), or Windows Remote Management (WinRM).

396 questions
0
votes
4 answers

How to shutdown remote Win2k8 machine using WMIC?

What is the exact syntax to shutdown remote Win2k8 server using WMIC? (The reason WMIC must be used is because the remote machine in a different NT Domain and the local machine does not have access to that domain. WMIC takes /user: and /password:…
Andriy Volkov
  • 231
  • 2
  • 3
  • 9
0
votes
1 answer

"wmi driver extensions" "windows server 2008" how to install

I'm trying to setup a Services on a Win2008 64 bit server. This services depends on the WMI Driver Extensions, but I can't find where to install it from or download it to install. Does anyone have any ideas where I could find the resources to do…
Bigtoe
  • 115
  • 1
  • 4
0
votes
2 answers

Remotly get a list of running programs on xp?

I have a bunch of pc's the I need to remotly restart, however I don't want to restart them if they are running certian applications (such as word, excell etc). Is it possible to get a list of running applications or programs using WMI or some other…
glisignoli
  • 123
  • 1
  • 2
  • 14
0
votes
1 answer

Setting WMI permissions remotely on windows server 2003

I am a programmer , I don know the server well. I made a simple program checking the service on the remote server is started or not. by using this(http://msdn.microsoft.com/en-us/library/dwd0y33x(v=VS.90).aspx) but the permission should be set. and…
Sungguk Lim
  • 101
  • 2
0
votes
2 answers

Can you have a WMI query for GPO Filter based on user's OU?

I'm wondering if there is a way to have a WMI query check the OU of the user logging on. I'd like a GPO (linked to Citrix servers OU) to apply only to users if the user is in a certain OU - this is for Citrix so the overly obvious answer of - well…
Jordan W.
  • 1,403
  • 1
  • 13
  • 19
0
votes
1 answer

How to enable WMI Provider MSCluster on MS Server 2008 R2

I have successfully set up a failover cluster on Microsoft Server 2008 R2 Enterprise Edition. Now I want to talk to the MSCluster WMI Provider on said server. WMI Queries to e.g. CIMV2 successed. But queries like select * from…
Tobias Hertkorn
  • 359
  • 5
  • 12
0
votes
0 answers

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 However, as the…
nmariot
  • 51
  • 3
0
votes
2 answers

Is it possible to check a client Windows PC's registry to see if it 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. It seems that if it's Azure anything [joined], those classes return nothing. Our software won't run unless it…
0
votes
1 answer

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 I'm doing wrong? Is there any other way to get…
0
votes
0 answers

Retrieve Win32_UserAccount object by its full (not "pre-Windows 2000") logon name

I'm attempting to look up the SID for a specific user account in a PowerShell script. Prior research suggests that this can be done using the Get-CimInstance command, like so: # This doesn't work for me Get-CimInstance -ClassName Win32_UserAccount…
Ajedi32
  • 167
  • 11
0
votes
0 answers

Is it possible to limit WMI privileges with certain class or property?

I'm interested in gathering Win32_Battery class data from User machines. It works well if I provide root/cimv2 rights to the account which is used to send a Get-WmiObject query. But I'd like to tighten it a bit, I don't want to be able to collect…
rGA145
  • 103
  • 1
  • 2
0
votes
1 answer

How to programmatically query the default user's proxy auto-config URL setting?

Greetings. I have a requirement to retrieve the default user's Internet Explore Proxy Auto Config URL setting from Windows Server 2008. For the current user, the key is found at "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet…
MHGL
  • 380
  • 1
  • 8
0
votes
1 answer

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 the disk partition access paths for all of the…
SQLing4ever
  • 171
  • 1
  • 1
0
votes
0 answers

access denied error when trying to connect to a remote machine via wbemtest tool

I am trying to connect to a local client system running on hyper v, the client is connected to a domain, which is also running as a virtual machine via hyper-v I tried to connect to the client machine via wbemtest but I keep getting "Access denied"…
0
votes
3 answers

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 issue. I was solving vulnerabilities on a Test PC…
1 2 3
26
27