Guidelines for changing Master Admin Password
I feel your pain. It's a hassle to keep up with the service accounts. Here's a short piece of Vbscript that will...
Continue Reading This Article
Enjoy this article as well as all of our content, including E-Guides, news, tips and more.
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.
Meet all of our Windows Server experts
View all Windows Server questions and answers
Start the conversation
0 comments