Hi,
Anyone have a script that can be run on the server console that will report back which of the local services use the domain administrator account for 'log on as' ? ideally, the value one searches on would be a prompted input in the script ("please enter domain\username to match")
or even better, it would simply output the username used for all local services to a csv then I could check after the fact. (service name, starts-in-path, "log on as" user, startup-type.
would be useful in planning for high-level account password changes.
bonus: run on one server, and prompt the user for hostnames to query, or pull those hostnames from a text file (host1 <cr> host2 <cr>) assuming the user you ran the script on host0 had the rights to query the other hosts.
thanks,
Our community of experts have been thoroughly vetted for their expertise and industry experience.