Rebuild system databases - failure - need an assist

One of my customers inadvertently removed a drive from the server, where all of the system databases log files were sitting.  I am in the process of trying to rebuild the system databases first, so that I can restore them from backups.  My statement is below.  It fails every time with this error:

Exit message:    The Windows account [/SAPWD=XXXXX] does not exist and cannot be provisioned as a SQL Server system administrator.

This is my statement -- I am running cmd prompt as administrator -

BOL very clearly states this should be the password of the sa account -- which it is.  The customer is certain it is, anyway.  Are there any other ways around this? For example, can another admin account be used?  

Very critical.  Please advise.
LVL 18
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick BogersDatacenter platform engineer LindowsCommented:

Any (sql) sysadmin Will do the job, not just SA.
Is the sql server installed with mixed login methods?
It is good to trust the customer but checking them is better, can you logon to the sql server with SA/xxxx?
dbaSQLAuthor Commented:
Looking at the statement as I posted it, I believe I was incorrectly giving the sa password, when I was using my own login as the sqlsysadminaccounts.  I changed it to my own password, and it fails with this message:

 The Windows account [/SAPWD=mypassword] does not exist and cannot be provisioned as a SQL Server system administrator.

My password contains a cap, five lowercases lettrs, 2 numbers and 2 exclamation points.  Am I correct to use the password for my account, rather than sa, and does it need to be in quotes?


there is no login available yet, as the system databases will not recover -- because all of their log files are gone -- and the server won't start up.  I need assistance with this rebuild statement.
dbaSQLAuthor Commented:
Is the rebuild statement properly formatted?  Does the sqlsysadminaccounts or the password need to be enclosed in quotes?

Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

dbaSQLAuthor Commented:
I corrected my syntax.  It ran and completed successfully.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Patrick BogersDatacenter platform engineer LindowsCommented:
Good find.
dbaSQLAuthor Commented:
I corrected my own error.  Please close the ticket.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.