Windows Service Tests

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Windows Service Tests

Post by Kermit67 »

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.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

#5 Access Refused? May be "Access denied"?
But on these servers of domain "B" i can successfully test "CPU Usage" or "UNC availability/free space".
Different test methods require different permissions.
- 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
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Post by Kermit67 »

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...
But on these servers of domain "B" i can successfully test "CPU Usage" or "UNC availability/free space".
Different test methods require different permissions.
- 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
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Until now, for the same tests I used Hostmonitor v8.xx on a Windows 2008R2 server and it worked without agents...
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.
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
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Post by Kermit67 »

Ok, I will try to update Hostmonitor on old server.

There is no relationship between the two domains.

I use an account member of Domain Administrators from domain "B" who as the specific righ "open session as a service" on each servers of domain "B".
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Post by Kermit67 »

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...
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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?
Do you use the same account to run HostMonitor on old and new system?

Regards
Alex
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Post by Kermit67 »

Strange...I added a "Service" test on a third Hostmonitor server (W2016 too) in v12.40 in domain "C" and test works to domain "B".

I will upgrade to v12.46 to see what's happen on this third server.
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Post by Kermit67 »

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
Kermit67
Posts: 9
Joined: Fri Nov 14, 2014 4:03 am

Post by Kermit67 »

i upgraded my third server to v° 10.46 and tests works fine...

So, something does not works correctly on the new server 2016.

Thanks
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply