Mike writes.. >I know that Perl can programmatically manipulate Win32 service >(start,stop,resume,etc.) but is the a way to change the user/password >the service(s) run under? Thanks.
Those settings are just stored in the registry, I only know where the username is stored - I have no idea how the password stuff works. The username is in: HKLM\SYSTEM\CurrentControlSet\Services\<service_name>\ObjectName BUT, there's a utility from Microsoft called Service Controller Tool (sc.exe) which is shipped with the server resource kits for NT and 2k. This allows you do to something like this: sc config service_name obj= username password= password And it will reconfigure the settings in the registry for you. -- Jason King _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
