I'm trying to call a network resource within a vbscript. I am running hostmonitor as a service, which runs under the system context, but I have configured hostmonitor in Options->Startup->Service to use a domain admin account. Everything else works fine. (disk checks, UNC path stuff etc)
If I launch the app from Explorer, it works fine, since the logged on user has rights. It's ONLY when I launch it as a service that the external scripts are not running with a priveleged account, but all other functions ARE running with a priveleged account.
Greg
<font size=-1>[ This Message was edited by: agressiv on 2003-03-11 15:07 ]</font>
bug in script call
After investigation I can say that HostMonitor starts thread that correctly impersonates specified user. Problem is scripting engine starts another thread to process the script and this thread inherits application's permissions. We will try to find some workaround, but probably the only possible solution is to start service using another account (defined by standard Services utility).
Regards
Alex
Regards
Alex