WMI Test problem
WMI Test problem
Hi there,
We have the following problem with WMI Tests:
When i try to build a WMI query from within a WMI Test to check a W2K3 machine, i get an "Access Denied" error.
Somewhere in this forum stands a solution for this problem, but that does not work for us.
Strange thing is when we start WMI Exlorer by itself (on the machine where Hostmonitor runs) and connect to a W2K3 machine (same as above), it works. I can make a query, and i get a result. When i copy the query to the test, refresh it, and yes we've got again an "Access Denied" error.
Maybe there is a simple solution, but we can not find it on this moment.
We are working with HostMonitor V 5.88 Enterprise on a W2k3 server.
O yeah, when we use WMI Test to check a W2K machine, there is no problem at all.
Hopefully you can help us with this problem.
Greetings,
Rob
We have the following problem with WMI Tests:
When i try to build a WMI query from within a WMI Test to check a W2K3 machine, i get an "Access Denied" error.
Somewhere in this forum stands a solution for this problem, but that does not work for us.
Strange thing is when we start WMI Exlorer by itself (on the machine where Hostmonitor runs) and connect to a W2K3 machine (same as above), it works. I can make a query, and i get a result. When i copy the query to the test, refresh it, and yes we've got again an "Access Denied" error.
Maybe there is a simple solution, but we can not find it on this moment.
We are working with HostMonitor V 5.88 Enterprise on a W2k3 server.
O yeah, when we use WMI Test to check a W2K machine, there is no problem at all.
Hopefully you can help us with this problem.
Greetings,
Rob
I think you should use Connection Manager dialog to setup account for WMI test.
The following article describes how to troubleshoot "Access is denied" error: http://www.microforge.net/kb/62
Regards,
Yoorix
The following article describes how to troubleshoot "Access is denied" error: http://www.microforge.net/kb/62
Regards,
Yoorix
HostMonitor is started in service mode? What account do you use to run HostMonitor?Strange thing is when we start WMI Exlorer by itself (on the machine where Hostmonitor runs) and connect to a W2K3 machine (same as above), it works. I can make a query, and i get a result. When i copy the query to the test, refresh it, and yes we've got again an "Access Denied" error.
Regards
Alex
Alex,
Hostmonitor is indeed started as service. User is "Local System".
In the options:
Startup --> Service --> Logon As
we use as useraccount a Domain user which has Local Admin rights on every server.
Al other tests work perfectly (about 630 tests), only with the WMI test to a W2K3 machine we have problems.
Greetings,
Rob
Hostmonitor is indeed started as service. User is "Local System".
In the options:
Startup --> Service --> Logon As
we use as useraccount a Domain user which has Local Admin rights on every server.
Al other tests work perfectly (about 630 tests), only with the WMI test to a W2K3 machine we have problems.
Greetings,
Rob
Hello Alex,
Sorry for my late reaction, but we still have the same problem. We discovered yet someting strange.
When we fill in a domain user who has local admin rights at options\startup\service, it wil work for al tests, except WMI. When we use the same user in the Connection Manager the WMI test works.
The only problem that we have with the last method is that we have to put 400 servers in Connection Manager.
Is there a difference between the 'Logon' by the connection Manager and the way impersonation works?
Greetings,
Rob
Sorry for my late reaction, but we still have the same problem. We discovered yet someting strange.
When we fill in a domain user who has local admin rights at options\startup\service, it wil work for al tests, except WMI. When we use the same user in the Connection Manager the WMI test works.
The only problem that we have with the last method is that we have to put 400 servers in Connection Manager.
Is there a difference between the 'Logon' by the connection Manager and the way impersonation works?
Greetings,
Rob
So, you did not specify user account for WMI test in Connection Manager? And that's why test did not work...
While "Connection Manager" allows you to specify accounts that will be used for specific test methods and specific servers. Different test methods may require different authentication methods. E.g. HostMonitor uses different Windows API to connect to the server for WMI and for UNC test methods.
Regards
Alex
Sure. Service page in the Options dialog allows you to specify account under which HostMonitor will be running on the system. This option almost equivalent to "Logon" option provided by standard Windows "Services" applet but allows you to work with HostMonitor's GUI.Is there a difference between the 'Logon' by the connection Manager and the way impersonation works?
While "Connection Manager" allows you to specify accounts that will be used for specific test methods and specific servers. Different test methods may require different authentication methods. E.g. HostMonitor uses different Windows API to connect to the server for WMI and for UNC test methods.
Regards
Alex
I just tried my first WMI test (using 6.04) and I am getting the same issue described here. HMA is running as a service with an account with domain admin access. All other tests are working but WMI fails with 'Access is Denied'. I had to create an entry in the Connection Manager for the server I am testing. Will I have to create an entry for every server in the company to test with WMI or can I use some sort of a wildcard or better yet can I tell it to just use the account HMA is running under.