We help IT Professionals succeed at work.

Rebuild system databases - failure - need an assist

Last Modified: 2018-03-21
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.
Watch Question

Patrick BogersDatacenter platform engineer Lindows


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?


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.


Is the rebuild statement properly formatted?  Does the sqlsysadminaccounts or the password need to be enclosed in quotes?

This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
Patrick BogersDatacenter platform engineer Lindows

Good find.


I corrected my own error.  Please close the ticket.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions