>         In our office we run some services on workstations 
> with domain administrator user account. whenever we change 
> administrator password we need to change password on all 
> workstations also. Is there anyway to automate this process 
> using Win32::Service module ?

The Win32_Service class has a change method to do this - and it will
work remotely:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/
wmi/win32_service.asp

No sample code handy, sorry, but the above website should get you
started. If you're really stuck, write back and we'll help you put
something together.

Paul

p.s. it's really not good running a service as domain admin like that -
if you can I recommend creating a separate user account and running your
services using those credentials instead!

*****************************************************************
Gloucester Research Limited believes the information 
provided herein is reliable. While every care has been 
taken to ensure accuracy, the information is furnished 
to the recipients with no warranty as to the completeness 
and accuracy of its contents and on condition that any 
errors or omissions shall not be made the basis for any 
claim, demand or cause for action.
*****************************************************************


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to