locked
Customized Administrative user for SQL Server 2016 instead of sa RRS feed

  • Question

  • Hi All,

    I am trying to install SQL Server 2016 using a configuration ini file for silent installation. For testing, during manual installation, I am trying to create a custom Administrative user (Eg: MyAdmin_2016) instead of default "sa". But the wizard is showing to enter only the password for the SQL Server system administrator (sa) account like in the below mentioned image.

    The password for the administrative account can be specified in the configuration ini file with parameter /SAPWD. Is there a parameter available to specify the custom SA Username in the configuration ini file, so that once the SQL Server installation is completed, I can login with the custom Administrative user?

    Thanks in advance.

     


    • Edited by DeeJay007 Friday, August 14, 2020 8:42 AM typo changes
    Friday, August 14, 2020 8:41 AM

Answers

  • Is there a parameter available to specify the custom SA Username in the configuration ini file,

    No, during installation you can not add SQL login with specific permissions, you can only add Windows accounts to the SysAdmin role.

    After installation you can add SQL logins.


    Olaf Helper

    [ Blog] [ Xing] [ MVP]

    • Marked as answer by DeeJay007 Friday, August 14, 2020 9:03 AM
    Friday, August 14, 2020 8:53 AM

All replies

  • Is there a parameter available to specify the custom SA Username in the configuration ini file,

    No, during installation you can not add SQL login with specific permissions, you can only add Windows accounts to the SysAdmin role.

    After installation you can add SQL logins.


    Olaf Helper

    [ Blog] [ Xing] [ MVP]

    • Marked as answer by DeeJay007 Friday, August 14, 2020 9:03 AM
    Friday, August 14, 2020 8:53 AM
  • Hi DeeJay007,

    Install SQL Server using a configuration file or directly from the Installation Wizard (Setup), except for selecting the Mixed Authentication Mode to enable the SA account, you cannot create any other SQL login during the installation phase.

    Best regards,
    Cris


    ""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
    We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
    For more information, please refer to the sticky post.

    Monday, August 17, 2020 7:15 AM