Windows Service Tests
Windows Service Tests
Hi,
I use Hostmonitor v° 12.46 on a Windows 2016 server member of Active Directory domain "A".
All tests works well except "Services" tests for servers members of an other domain Active Directory "B" with error : Win32 error #5 Access Refused.
For these servers i use the "Connection Manager" to specify an user account member of administrators of domain "B".
But on these servers of domain "B" i can successfully test "CPU Usage" or "UNC availability/free space".
Thanks for your help.
I use Hostmonitor v° 12.46 on a Windows 2016 server member of Active Directory domain "A".
All tests works well except "Services" tests for servers members of an other domain Active Directory "B" with error : Win32 error #5 Access Refused.
For these servers i use the "Connection Manager" to specify an user account member of administrators of domain "B".
But on these servers of domain "B" i can successfully test "CPU Usage" or "UNC availability/free space".
Thanks for your help.
#5 Access Refused? May be "Access denied"?
- CPU Usage test requires "Performance Monitor" user
- UNC test require user account that has access to specific disk share.
- Service test needs user account with "Log on as a Service" privilege
If you need to check several LAN's, domains, usually we recommend to install Remote Monitoring Agent (RMA) on some server in that LAN and use RMA agent to monitor entire LAN
https://www.ks-soft.net/hostmon.eng/rma-win/index.htm
Regards
Alex
Different test methods require different permissions.But on these servers of domain "B" i can successfully test "CPU Usage" or "UNC availability/free space".
- CPU Usage test requires "Performance Monitor" user
- UNC test require user account that has access to specific disk share.
- Service test needs user account with "Log on as a Service" privilege
If you need to check several LAN's, domains, usually we recommend to install Remote Monitoring Agent (RMA) on some server in that LAN and use RMA agent to monitor entire LAN
https://www.ks-soft.net/hostmon.eng/rma-win/index.htm
Regards
Alex
KS-Soft wrote:#5 Access Refused? May be "Access denied"?
Yes, "Access denied"
Until now, for the same tests I used Hostmonitor v8.xx on a Windows 2008R2 server and it worked without agents...
Different test methods require different permissions.But on these servers of domain "B" i can successfully test "CPU Usage" or "UNC availability/free space".
- CPU Usage test requires "Performance Monitor" user
- UNC test require user account that has access to specific disk share.
- Service test needs user account with "Log on as a Service" privilege
If you need to check several LAN's, domains, usually we recommend to install Remote Monitoring Agent (RMA) on some server in that LAN and use RMA agent to monitor entire LAN
https://www.ks-soft.net/hostmon.eng/rma-win/index.htm
Regards
Alex
I don't think this problem relates to HostMonitor update. HostMonitor just sends specified user account to Windows API, its up to the OS accept or deny access.Until now, for the same tests I used Hostmonitor v8.xx on a Windows 2008R2 server and it worked without agents...
You may try to start new HostMonitor on old system and check what happens.
If there is trust relationships between domains, you may try to use account from domain A..
Have you checked what exactly permissions this user account owns?
Regards
Alex
So, i upgraded the old Hosmonitor v8.86 server (W2003 R2 x64...) to Hostmonitor V12.46
All tests works ! "Services" tests for domain "B" servers works fine.
I used the Backup option from Hostmonitor v12.46 on old server and tried to restore it on the new server Windows 2016 (keeping the same IP adress for old and new Hostmonitor server).
Restore works but i always have the same error for "Services" test on domain "B" servers...
I tried to run on new server the compmgmt.msc console as my specific user for domain "B", then i choosed to connect to another computer from domain "B", the console opened but when i clicked on the Services pan i got this error : windows was unable to open service control manager database on...Erreur 5 : acces denied
The same test worked on old Hostmonitor server...
All tests works ! "Services" tests for domain "B" servers works fine.
I used the Backup option from Hostmonitor v12.46 on old server and tried to restore it on the new server Windows 2016 (keeping the same IP adress for old and new Hostmonitor server).
Restore works but i always have the same error for "Services" test on domain "B" servers...
I tried to run on new server the compmgmt.msc console as my specific user for domain "B", then i choosed to connect to another computer from domain "B", the console opened but when i clicked on the Services pan i got this error : windows was unable to open service control manager database on...Erreur 5 : acces denied
The same test worked on old Hostmonitor server...
KS-Soft wrote:Sometimes we cannot explain how exactly Windows works. Microsoft knows this for sure.
That's why we implemented RMA, it helps to avoid various Windows issues.
HostMonitor started as service? application?
Run as service.
Do you use the same account to run HostMonitor on old and new system?
Yes, same account.
Regards
Alex