I am looking for a way to automate password rotation for the administrator account in ePO and for the sql sysadmin account. I believe I can use the API to change regular user passwords, but the admin password wouldn't work this way just like it's grayed out in the Users list in the ePO console.
I'm familiar with the Pre-Installation Auditor tool as well as the "Restore Administrator Access" options to rotate the admin password manually but am wondering if there's any way I could run these operations through the command line - ePIP unfortunately gets "found corrupted files" trying to run it from CMD (although it works if I double click the file).
I'm also familiar with the core/config-auth screen which would allow me to reset the SQL password, but again I'm looking for a way to do this from CMD/Powershell instead of having to do it manually.
This is a prototype/dev environment, so I have no qualms about doing unsupported operations and have already done unspeakable things to my server to implement other automations, including editing the ePO database and the java keystore directly. If there is a way to do these two password rotations, even if it is strongly recommended against, I'll happily do it. Any assistance would be greatly appreciated!
Re: Automating ePO Admin and SQL Password Rotation
Thanks for your response. I'm aware that I can use the restore-admin site to manually rotate the password, but I'm looking for a way I can automate this process in a script.
The EPIPA tool does open as a GUI, it's only if I try to run it from the command line that it gets that error. I was hoping that maybe it can be run like the ePO installer, for example C:\tools\EPIPA.exe username=epoadmin newPassword=mynewpassword123. As far as I can tell from the documentation, this functionality doesn't seem to exist.
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.