KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

running script - rights

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
agressiv



Joined: 06 Oct 2002
Posts: 35

PostPosted: Fri Jul 11, 2003 6:59 pm    Post subject: Reply with quote

"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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Fri Jul 11, 2003 8:48 pm    Post subject: Reply with quote

>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
View user's profile Send private message Visit poster's website
agressiv



Joined: 06 Oct 2002
Posts: 35

PostPosted: Fri Jul 11, 2003 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Sat Jul 12, 2003 11:47 am    Post subject: Reply with quote

>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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index