Requires Free Membership to View
I feel your pain. It's a hassle to keep up with the service accounts. Here's a short piece of Vbscript that will list the services on a machine and their service accounts. You can pick out the services that have service accounts other than 'LocalSystem' and change the passwords in those accounts.
BTW, there's a bug in ADSI that prevents resetting the passwords. You can use WMI on a Windows 2000 machine but since you have an NT server, you would have to install the WMI driver from the SP4 CD (It's not on any other service pack CD.) It would take less time to change the passwords manually.
When you run the script, replace the angle braces with the computer name and delete the quote at the beginning of the line. For example, computername = BlueServer1
'computername = [insert computer name here] set obj = getobject("WinNT://" & computername) obj.filter = array("service") for each item in obj wscript.echo item.name & ", " & item.serviceaccountname next
This was first published in February 2001
Enterprise Server Strategies for the CIO
Join the conversationComment
Share
Comments
Results
Contribute to the conversation