I feel your pain. It's a hassle to keep up with the service accounts. Here's a short piece of Vbscript that will...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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
Dig Deeper on Windows Disaster Recovery and Business Continuity
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.