Hallo,
We are using Hostmon on a Windows Server 2012 (x64), installed Version ist 9.90 - the newest can download at Website.
After upgrading, all of our tests who use cmd oder powershell gets the Message "Error: Script returns no results" when it run from Windows Service. When we test the Script bei Hostmon RCC in Testmode everything is fine and the result is ok, but when we do "Refresh selected test" in RCC the same error becomes as it run as Windows Service.
The Tests are all functional before Upgrading to Windows Server 2012 an Hostmon 9.90.
Also in case of 64Bit, we have a seperate Directory with the Copy of the right powershell. (look at e.g. this topic: http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=7398)
After Upgrade - Error: Script returns no results
Officially, we do not support Windows 2012 - there some bugs.
http://ks-soft.net/hostmon.eng/index-sysreq.htm
However Shell Script test and powershell should work.
As I understand test does not work when HostMonitor started as Win32 service? but works fine when HostMonitor started as application?
UAC enabled?
What accound have you specified for HostMonitor service?
If UAC is enabled, you should use BUILT-IN administrator account.
Regards
Alex
http://ks-soft.net/hostmon.eng/index-sysreq.htm
However Shell Script test and powershell should work.
As I understand test does not work when HostMonitor started as Win32 service? but works fine when HostMonitor started as application?
UAC enabled?
What accound have you specified for HostMonitor service?
If UAC is enabled, you should use BUILT-IN administrator account.
Regards
Alex
Local system account does not allow to check remote systems (using tests like NT Event Log, Service, Process, CPU Usage)UAC is not enabled. We use SYSTEM account.
As I understand test does not work when HostMonitor started as Win32 service? but works fine when HostMonitor started as application?Now I change it to an Build In Account with Administrator privileges. At this time I get an other error when I run the Tests: "Error: Cannot create temp file. Access Denied."
HostMonitor tries to create temp files using TEMP and TMP environ variables. Normally these variables point to C:\Users\<username>\AppData\Local\Temp folder. For system or built-in account it may poing to C:\Windows\Temp
Do you have such folders? Permissions?
Regards
Alex
Problem solved doing the following:
1. Grand Access for Authentificated User with write previliges to TEMP Folder (C:\Windows\Temp)
2. Configure Local Security Policy ("Local Security Policy" applet (Start -> Programs -> "Administrative Tools" -> "Local Security Policy" applet -> "Local Policies" -> "User Rights Assignment")) with for UAC: [...] integrated Administrator as "Disabled"
3. Set the Account in with the Service run to "Interact with Desktop"
Restart the System and everything works fine with Windows Server 2012 R2
Here are some related Post to solve the Problem:
http://www.ks-soft.net/phpBB/viewtopic. ... 6a6474dd39
1. Grand Access for Authentificated User with write previliges to TEMP Folder (C:\Windows\Temp)
2. Configure Local Security Policy ("Local Security Policy" applet (Start -> Programs -> "Administrative Tools" -> "Local Security Policy" applet -> "Local Policies" -> "User Rights Assignment")) with for UAC: [...] integrated Administrator as "Disabled"
3. Set the Account in with the Service run to "Interact with Desktop"
Restart the System and everything works fine with Windows Server 2012 R2
Here are some related Post to solve the Problem:
http://www.ks-soft.net/phpBB/viewtopic. ... 6a6474dd39