Questions tagged [wmi]
Windows Management Instrumentation
401
questions
1
vote
0
answers
267
views
WMI-filter on GPO evaluates contradictory
Background information
I have got several, very basic, WMI filters that I use for my GPOs. All they do is check for the running operating system version and the value of an environment variable.
...
1
vote
0
answers
147
views
PHP7 how to get (near) real-time data from a variety of datasources?
I am making a (PHP7 on Win2012r2 with Apache 2.4/JS) website for assisting a helpdesk. Info being searched is mostly information about computers, users and Active Directory. Some other resources as ...
1
vote
0
answers
181
views
BitsTransfer (BITS) service and events / WMI
Older versions of MS Windows had BITS Service exposed on WMI in "root\Microsoft\BITS" namespace. However since MS Windows Server 2012 this namespace is gone.
Is there any "new" way to control BITS ...
1
vote
1
answer
4k
views
WMI "Access Denied" to Read Only Domain Controller
From a management machine using wbemtest, we are able to successfully connect to a remote Read-Only Domain Controller that is running Windows Server 2012 R2 Datacenter with a user who is a member of ...
1
vote
0
answers
559
views
wmic query fails with "NTSTATUS: NT_STATUS_BUFFER_TOO_SMALL - Buffer too small" error
I have a class that creates an object in WMI and I'd like to query it from a linux machine running cacti using wmic.
If i run the query I get an error, see below:
/bin/wmic --namespace='ROOT\CIMV2\...
1
vote
0
answers
216
views
Get-WmiCounter Win32_PerfFormattedData_NETFramework_NETCLRMemory Incomplete in non admin context
So I have created a script to gather counters using Get-CimInstance (which supercedes Get-WMIObject) and run it as a services via srvany.exe.
I get an issue where for the .Net CLR classes, some ...
1
vote
2
answers
402
views
monitor windows server - running behind firewall using WMI
I'm havingg 100 windows machines which is running behind the firewall. But my monitoring server is running outside the network [ public].
For SNMP , I can put one proxy server inside the internal ...
1
vote
2
answers
6k
views
Create SCCM device collection based on last logged on users who are members of an AD security group
I'm trying to create a device collection in SCCM 2012 which contains only the devices who are used by the users who are members of a certain User AD Security Group. I tried to accomplish this by first ...
1
vote
1
answer
3k
views
Access to “Windows Security” logs for “eventlog” group
Security logs are not available for users in eventlog group. I've checked this down to security event log file. eventlog group has all permissions.
Unfortunately I cannot add my user to ...
1
vote
1
answer
484
views
How do I open the firewall for my monitoring software to access WMI?
I have a SQL Server machine and a monitoring machine, and I need the monitoring software on the monitor host to be able to read the WMI data on the SQL Server host. (The monitoring software is ...
1
vote
0
answers
356
views
Same WMI request is much slower on other machine
I posted this question some time ago on stackoverflow, but unfortunately I didn't get any answer yet. It's actually not very urgent, as this problem seems only to exist on my machine - for now. But I'...
1
vote
0
answers
327
views
WMI request (Wbemtest), access is denied to domain computer
let me explain our setup first!
We have 2 site location with Cyberoam CR50ING Firewall, IPSec between the 2 Subnet. Cyberoam firewall has an AD authentication with their software linked to the ...
1
vote
0
answers
2k
views
Side effects or performance issues for keeping WMI Performance Adapter running always?
This is related to a similar question: Why is my System event log full of WMI Performance Adapter messages?
I've found various blog posts that suggest you can modify the service so that it starts ...
1
vote
0
answers
3k
views
WMIC with XCopy: Copy file from Remote System to Shared Location
Today I found one issue where, I would like your help...
Situation: I want to copy my remote file (which is not shared directly) to other system (which is shared)
so, basically it's like Remote ...
1
vote
1
answer
992
views
How can I retrieve the data types of properties when querying WMI via Winrm
Winrm allows me to query WMI via the WS-MAN protocol as opposed to DCOM. However, in the DCOM implementation I can retrieve the data types of the various properties of the various classes I query. ...
1
vote
1
answer
6k
views
Exception Enumerating SQL Server Instances with SMO WMI ManagedComputer
I'm trying to use the SMO WMI API/objects in PowerShell 2.0 on Windows 7 with SQL Server 2008 R2 installed to get a list of SQL Server instances on the local computer using the Managed Comuter object. ...
1
vote
1
answer
196
views
Undocumented value in DfsrIdRecordInfo class
According to MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/bb540013(v=vs.85).aspx) these are the only possible values of the "flags" attribute of the DfsrIdRecordInfo wmi class:
...
1
vote
1
answer
905
views
WMI Access Denied using Windows 2008 connecting to Windows 2003
I'm trying to connect from a Windows 2008 server to Windows 2003 using WMI, however, each time I get access denied. There is no firewall between the servers, no hardware or software. The account is a ...
1
vote
1
answer
1k
views
How can I manually remove a dead OCS 2007 R2 Monitoring server?
At the moment, I'm trying to get what is effectively a cut down version of our production OCS 2007 R2 environment working in a segregated lab. For a variety of different reasons, this initially ...
1
vote
0
answers
3k
views
wmic shows network drives as used that have been unmapped
I have a script running on Windows 7 Professional SP1 x64 that maps the first available network drive to a network resource, uses it, and then deletes the mapping.
Unfortunately, after deleting the ...
1
vote
1
answer
1k
views
Using WMI and/or remote registry to find available memory slots
Certain monitoring programs such as Spiceworks list not only the memory sticks in use in a machine, but also somehow show which specific slots on the board are in use and which is using them. With WMI ...
1
vote
3
answers
52k
views
How to use WMIC to connect to remote machine and output netstat to a file?
I'm trying to issue the following command remotely:
netstat -ano > C:\output.txt
but cannot figure out how to do that with WMIC! Any idea?
I've got:
process call create netstat.exe
working but I ...
1
vote
1
answer
1k
views
Has anyone used WMI_OfflineFilesCache::RenameItem to rename offline files?
The reason I ask is that I have been researching how to rename items once an offline files target has been changed. It seems that so far there are two options:
CSCCMD.exe - Which appears to be a ...
1
vote
2
answers
470
views
Listing services on remote machine locks me out of the machine
I run a powershell command to list all of the services on a remote matchine:
$b = 0;
get-wmiobject win32_service -computer $computerName -credential $cred | select-object Name, @{n='Counter';e={$...
1
vote
3
answers
3k
views
WMI and adding Multiple IP Addresses?
Is it possible, with WMI, to bind IP addresses to a NIC? I have been able to enable a static IP, but I can't seem to find any information on adding additional IPs.
this code helped and after I ...
1
vote
0
answers
420
views
Safe to use WMI to remotely recycle IIS app pools on production servers?
What are the downsides to enabling & using WMI to remotely manage IIS?
I plan to have a specific user account (non-admin) with only Execute Methods, Enable Account, and Remote Enable WMI ...
1
vote
1
answer
694
views
No PerfMon data through WMI
I'm trying to get \DBServer\SQLServer:Buffer Manager\Page life expectancy data through WMI. When I do this through perfmon, I get actual data. However when I try and pull this from either of these ...
1
vote
2
answers
1k
views
ASPNET WMI class not available
I need to extract the ASPNET\Requests Queued performance counter from some IIS servers via WMI.
The WMI class for this sort of thing appears to be contained in Win32_PerfFormattedData_ASPNET_ASPNET. ...
0
votes
2
answers
528
views
PC inventory system that does not rely on WMI [closed]
I'm looking for a software that can make an inventory of the PCs on your network for an SMB environment. I know ther are plenty (Spiceworks, LanSweeper, etc). But they all rely on WMI to function. The ...
0
votes
4
answers
13k
views
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 ...
0
votes
3
answers
4k
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 ...
0
votes
1
answer
16k
views
WMIC - "os - Alias not found"
I have a product which uses WMI to get status of the server it's running on. The application is set to use the following to get the amount of free memory available.
wmic os get freePhysicalMemory
On ...
0
votes
1
answer
4k
views
How can I get Control Panel's Add/Remove programs list?
Ho can I obtain/export the Windows Control Panel Add/Remove programs list using WMI or VB script?
0
votes
3
answers
10k
views
Update content on an application with Powershell or WMI in Microsoft SCMM 2012 SP1
While right-clicking an applications deployment type(s), we can select Update Content. Is there a way of doing this action using Powershell or a WMI-method?
0
votes
1
answer
3k
views
Remote Administer Local Groups with PowerShell and WMI
How do I administer local groups on a remote server with PowerShell and WMI? For example, I would like to add and remove domain AD groups from the "Remote Desktop Users" group.
This article provides ...
0
votes
3
answers
10k
views
Server 2008 R2, Exchange 2010, WMI error event 10
The system is windows 2008 R2, with Exchange 2010 SP1 installed.
I am receiving the following event log application error:
event 10, WMI
Event filter with query "SELECT * FROM ...
0
votes
1
answer
873
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
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
4k
views
Install SCCM application to client via powershell, comand line or WMI
I am trying to create a script in powershell that request and install an available application for a user or computer in the sccm application catalog.
I know that there is a way to force sccm client ...
0
votes
1
answer
17k
views
GPO WMI filter not excluding computers
I have a GPO modifying user and computer configuration. On this GPO a WMI filter based on the hostname exclude some of the computers.
select Name from Win32_ComputerSystem where (Name <> "comp1-...
0
votes
1
answer
800
views
Is there a perfmon replacement? [closed]
I need faster stats polling and more granular display than once a second... Is there a way to configure perfmon to poll/display on faster intervals? Or is there an alternative that can query the same ...
0
votes
1
answer
2k
views
Configuring ZenOSS to monitor CPU load
I'm trying test out monitoring tools for a network at work with a coworker but neither of us have ever used an sort of monitoring tools before. Currently we are experimenting with ZenOSS and having ...
0
votes
2
answers
2k
views
WMI query to check setting "Reversible Encryption" in Windows XP
In Windows XP, there are two settings in Group Policy I'm looking at:
Password must meet complexity requirements
Store password using reversible encryption
Both of these settings are under Local ...
0
votes
1
answer
314
views
VBScript Array Help for Select Statement
I'm using a select statement to show all services on a system currently set to Auto (automatic). The trouble is the list of service I do not want to see is growing. While still not larger than the ...
0
votes
1
answer
1k
views
How does one create a website application in IIS6 from a script?
I'm sorry about how simple the question is but I've searched all over the Internet and I found MSDN articles about making application pools (http://msdn.microsoft.com/en-us/library/ms525309.aspx) and ...
0
votes
1
answer
5k
views
Query "SELECT * from Win32_Process" hangs indefinitely
As a part of a larger C# code base, I've been running the following query regularly on the same machine (Windows XP SP2):
"SELECT * from Win32_Process"
It's been working as expected until today. ...
0
votes
2
answers
7k
views
Reporting Services WMI Provider error 8000000A
I recently installed SQL Server Express 2005 with all available options. When I run Start->Programs->SQL Server 2005->Reporting Services Configuration I get an error immediatley:
"An unknown error ...
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
...
0
votes
2
answers
5k
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
576
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 ...