How to: Install SQL Server 2008 Express from the Command Prompt

  • How to: Install SQL Server 2008 Express from the Command Prompt?

    I've tried this command, but failed.

    Setup.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLExpress /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSVCPASSWORD="123456" /SQLSYSADMINACCOUNTS="ekoindri-pc\ekoindri" /AGTSVCACCOUNT="NT AUTHORITY\Network Service"

    King Regards,

    Eko Indriyawan

  • How did it fail? Any errors?

    Check the sqlstp.log file on your drive. Or something close to that. Sort by time and look for it.

  • I have been looking for that file, but I do not find it.

    FYI, I did not get the error message, but I saw the command prompt appears but instantly disappears

  • I've successfully run the command. I was wrong in determining the administrator

    Best Regards,

    Eko Indriyawan

  • If you are using /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" you do not need /SQLSVCPASSWORD

    Original author: https://github.com/SQL-FineBuild/Common/wiki/ 1-click install and best practice configuration of SQL Server 2019, 2017 2016, 2014, 2012, 2008 R2, 2008 and 2005.

    When I give food to the poor they call me a saint. When I ask why they are poor they call me a communist - Archbishop Hélder Câmara

  • you're right...

    thanks for your information

    Best Regards,

    Eko Indriyawan

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply