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 email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.