View previous topic :: View next topic |
Author |
Message |
agressiv
Joined: 06 Oct 2002 Posts: 35
|
Posted: Fri Jul 11, 2003 6:59 pm Post subject: |
|
|
"Now all "run external program" actions/methods use an account that was specified for the service (if HostMonitor running as Win32 service)"
FYI, this still doesn't work when launching a vbscript to do WMI calls - you still have to launch the console. I'm betting HM 4.0 will take care of this, but I just wanted to let you know.
Greg |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Fri Jul 11, 2003 8:48 pm Post subject: |
|
|
>FYI, this still doesn't work when launching a vbscript to do WMI calls
Its because scripting host starts new thread. That thread does not inherit security context from HostMonitor's thread but uses security context of service/process (because ImpersonateLoggedOnUser affects current thread only).
So, to start script under specified user account HostMonitor's service must be started under that account. Of course script can be executed as external program: its Ok for actions but unuseful for tests.
Regards
Alex |
|
Back to top |
|
|
agressiv
Joined: 06 Oct 2002 Posts: 35
|
Posted: Fri Jul 11, 2003 10:01 pm Post subject: |
|
|
The tray icon doesn't appear if you run the service with an account other than LocalSystem - we wouldn't be able to make any changes, so the only other alternative would be to not run it as a service, which isn't an option.
Oh well -
Greg
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Sat Jul 12, 2003 11:47 am Post subject: |
|
|
>The tray icon doesn't appear if you run the service with an account other than LocalSystem - we wouldn't be able to make any changes
To make changes you may start HostMonitor as application. I think you do not make changes too often?
Anyway we cannot change Windows behavior. We will create separate application for remote management of HostMonitor, it will help in your case as well.
Regards
Alex |
|
Back to top |
|
|
|