Questions tagged [wmi-service]

62 questions
0
votes
0 answers

Rename-Computer : Cannot establish the WMI connection to the computer

I'm trying to rename around 100 computer remotely. I have a csv file that is being importer and using rename-computer command to change the computer name but i'm facing the following error. Rename-Computer : Cannot establish the WMI connection to…
0
votes
0 answers

How to Enable Remote WMI Access for a Domain User Account via GPO

I am trying to add a user in the WMIMGMT security group and provide it with remote enable and enable account permissions. I am following this link. I want to do the same via GPO. IS there any way to implement this via GPO? I have tried searching…
jay
  • 1
  • 1
0
votes
0 answers

WMI Query not work with dates in removable devices

I am trying to create a WMI Event query that notify me when a new file is created on the device whit this query "SELECT * From __InstanceCreationEvent WITHIN 5 Where TargetInstance ISA \"CIM_DATAFile\" And TargetInstance.Drive=\"" +…
0
votes
2 answers

vbscript check if multiple processes exist and kill them

I am trying to create a VBScript that kills 3 processes if they exist. cscript.exe wscript.exe and cmd.exe It needs to run a kill command and then check if the process still exists to verify that the previous command worked before continuing. I…
slyfox1186
  • 301
  • 1
  • 13
0
votes
1 answer

Performance Counter on how much Physical Memory % Used in Power shell

I am trying to monitor % of physical memory usage of local machine with performance counter in power shell. In resource monitor, under memory tab, we can get to know how much % of physical memory used.Also in Task manager, under Performance tab-->…
0
votes
1 answer

Prometheus listening different ports at same time

I am trying to listen 2 ports at same time ports are: http://localhost:9182/metrics http://localhost:8080/prometheus Can anyone suggest a good way?
Mali
  • 49
  • 1
  • 1
  • 11
0
votes
2 answers

How to configure multiple queries in wmi_exporter?

I downloaded the "wmi_exporter-0.7.0-386.exe" from the link wmi exporter and ran the '.exe' file using command prompt. Also i have followed the guidance link prometheus wmi guidance to run the command in the command prompt ,it executed as expected…
sivanesan1
  • 779
  • 4
  • 20
  • 44
0
votes
1 answer

WMI is very slow

We have installed VisualSVN server 3.5 on windows server 2012 r2. When we browsing the repository in the VisualSVN Server Manager, WMI provide host process has started and it uses the very very less cpu usage(4%) even overall CPU usage is less(20%).…
0
votes
1 answer

Using WMI to search in MicrosoftDNS_AType records cause generic failure

All day long trying to fix 0x80041001 error, but it's still shows that error. Turning firewall off, UAC off, didn't work. reseting WMI service, trying this, Running as administrator, still nothing changed! It's my code: ManagementScope mgmtScope =…
0
votes
1 answer

Windows service. Edit the StartName

I need to check and edit the windows service's StartName. I have founded this solution throught the WMI API: using (var service = new ManagementObject($"Win32_Service.Name = '{my_name}'")) { using (var inParams =…
Kamerton
  • 315
  • 3
  • 9
0
votes
1 answer

My code is causing high CPU usage in WMI Provider host (WmiPrvSE.exe)

I've build a project in C# which at some point has to listen to a other file opening and closing. The code i use actually works but somehow every time i run my project "WMI Provider Host" will go crazy with CPU usage. First run it will hit 50% usage…
user3299251
  • 98
  • 2
  • 12
0
votes
2 answers

Where is wmi hpqBIntM provider dll located?

I have an HP PC with windows 10 x64 where is installed WMI provider hpqBIntM in root\\wmi. In C:\Windows\system32 there is no such .mof file with hpqBIntM class description. Question: where can I find files (.dll and .mof) associated with this WMI…
user3360601
  • 327
  • 3
  • 17
0
votes
2 answers

How to call WMI function correctly

The following code fails when ExecMethod is called. Can anyone pinpoint what I am doing wrong? #define _WIN32_DCOM #include using namespace std; #include #include # pragma comment(lib, "wbemuuid.lib") int…
aCuria
  • 6,935
  • 14
  • 53
  • 89
0
votes
1 answer

WMI Event Watcher Performance Problems

I've written some WMI code that works really well on most machines. However on some machines (nearly all SSD based macs) this code causes a HUGE performance problem. It causes the WMIPrvSe process to keep hitting I/O Other. If you run another app…
Goz
  • 61,365
  • 24
  • 124
  • 204
0
votes
1 answer

net start winmgmt

when i try to start the service and type net start winmgmt in the command promt, i get a response saying the service name is invalid. Is there anyway i can start this? Thanks
kambamsu
  • 561
  • 2
  • 9
  • 21