Silent install of SQL Server 2008r2 for ALL users?

We ship an installer that does a silent install of SQL Server 2008r2 with all the 'right' parameters pre-configured. We use this:
/QS /INSTANCENAME=MSSQLSERVER /ACTION=Install /FEATURES=SQL,BC,Conn,ADV_SSMS /SAPWD=MyPasswordGoesHere /SECURITYMODE=SQL /TCPENABLED=1 /ADDCURRENTUSERASSQLADMIN /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCACCOUNT="NT
AUTHORITY\SYSTEM" /IACCEPTSQLSERVERLICENSETERMS
However, the problem is that if a tech installs it for another user, that user does not have access, since ADDCURRENTUSERASSQLADMIN flag only adds the user who installed it -- rather than adding ALL users on the computer. (Or at least all admins.)
I tried replacing ADDCURRENTUSERASSQLADMIN with this:
/SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"
but that also failed to work. How can we install for all users, or at least all administrators?
NOTE: we do NOT know the name of the computer or the users. The installer has to work for any computer setup.
Similar question has already been asked, but wasn't helpful:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8354675f-be9b-4909-b776-942f03954807/how-to-do-a-silent-install-of-sql-2010-express-for-all-users-on-a-computer?forum=sqlexpress
The documentation does not make it clear what you can pass as allowed SQLSYSADMINACCOUNTS parameters. I also am not sure if I would need to change the AGTSVCACCOUNT or SQLSVCACCOUNT?

I tried one more thing:
/SQLSYSADMINACCOUNTS="BUILTIN\Administrators"
which does not halt installation with an error. 
However, doing:
osql -E
create database test
go
in a command prompt from a different admin user on the same machine results in a permissions error... but works if done from a command prompt on the user account from which MSSQLServer was installed.
So for some reason /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" does not work as expected.
Anyone have any idea why?
I checked the output log from the install, and found it had generated and used a configurationFIle to do the install. I looked in that file, and these were the settings, even though I did NOT pass /ADDCURRENTUSERASSQLADMIN as a command line option:
; Windows account(s) to provision as SQL Server system administrators. 
SQLSYSADMINACCOUNTS="BUILTIN\Administrators"
; The default is Windows Authentication. Use "SQL" for Mixed Mode Authentication. 
SECURITYMODE="SQL"
; Provision current user as a Database Engine system administrator for SQL Server 2008 R2 Express. 
ADDCURRENTUSERASSQLADMIN="True"

Similar Messages

  • While installing the SQL Server 2008R2 edition in Windows 7 professional servicepack1 is not installing?

    Hi frnz ,
    while am  installing the SQL Server 2008R2 edition in Windows 7 professional servicepack1 machine is not instlling properly.
    am follwing the installtion stups.
    instiall two stups is going fine next .after completion of the following setup install comp( see the screen shoot below)nothing is happens ,its not going foreword further stups.
    Can some one please help me out for this......
    I will found in the Task manager the set up file is Running....

    Hi Ychinnari,
    Based on your description, you fail to install SQL Server 2008 R2 on Windows 7 SP1.
    According to the screenshot, we need to verify that if SQL Server 2008 R2 setup disappears when installing setup support files. If so, please post the error message from  SQLSetup.log file of the temp folder for analysis. Click on start->run and
    type %temp %  and press enter, you will navigate to the temp folder. For more details, you can review this
    blog.  Also, please help to collect the summary and detail logs, by default, the logs can be found in: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log.
    In addition, there are some proposals for you troubleshooting this issue.
    1. Ensure that your system meets the
    hardware and software requirements for installing SQL Server 2008 R2.
    2. Make sure that you install SQL Server 2008 R2 with a admin account, and please choose “Run as administrator” to  complete installation.
    3. Make sure that previous installations of SQL Server has been uninstalled completely from your computer. For more details, please review the similar blog:
    SQL Server 2008 R2 Setup starts and then disappears.
    4. Stop any Anti-Virus software when installing SQL Server 2008 R2.
    Thanks,
    Lydia Zhang

  • How do I install a Thunderbird add-on for all users? Putting the XPI file into Extensions folder didn't work.

    I'm trying to install Enigmail 1.8.2 for all users. I thought I read somewhere that you don't need to unpack the XPI file.
    Whilst writing this, I did some experimenting and found a solution, but it's messy (see below). Is there an easier way?
    Fresh install of Thunderbird 31.6 on Windows 7 x64. Have observed the following:
    1. If I install the extension for one user via the Add-Ons GUI (from the marketplace, not from a local file), it does work. The Appdata\Roaming\Mozilla\Extensions folder is empty. Folder {847b3a00-7ab1-11d4-8f02-006008948af5} is created in Appdata\Roaming\Thunderbird\Profiles\xxxxxxxx.default\extensions\staged\ and moved from staged to extensions when TB is restarted.
    2. If I download the XPI file from Enigmail site and copy it to Program Files(x86)\Mozilla Thunderbird\Extensions folder, then Thunderbird's Extensions screen says "You don't have any add-ons of this type installed".
    3a. If I rename the xpi to zip (e.g. enigmail-1.8.2-tb+sm.xpi.zip) then I can open it and see that the contents are similar to what was created at point (1). If I unzip the contents, then Thunderbird doesn't recognise the add-on, unless I rename the folder to the GUID above (which could be found in install.rdf or chrome.manifest, once you know what you're looking for).
    Presumably I could also have done a per-user install, copied the folder from the profile, removed the extension, then pasted the copy into the program folder. That would save looking up the GUID but is only a little less fiddly.
    3b. After renaming the folder and restarting TB, it gives me a new tab "Install Add-on" which says "Another program on your computer would like to modify Thunderbird with the following add-on: ... Location: C:\Program Files (x86)". Once I allow the add-on, it is listed in Profiles\xxxxxxxx.default\extensions.ini.
    Aside: Disabling the add-on simply removes the line from extensions.ini, so how does TB distinguish between an unapproved add-on and a disabled one? It seems to be in extensions.json.

    Is Thunderbird already installed in the computers? If so, you could download the .xpi file and drag and drop it into the extensions window (after opening that) to install it in all the computers, following which you click the Install buttons when they become enabled, and you might have to restart Tbird afterwards.

  • Adding printers to Terminal Server 2008 for all users

    Hi!  I'm trying to add a printer to a terminal server for all users that log in.  I've been reading around and this seems like a working solution:
    Rundll32 printui.dll,PrintUIEntry /ga /c\\localcomputername /n\\servername\printername
    So I ran this with the proper parameters.  Nothing shows up in Devices and Printers with the name I specified.  I rebooted the server, still nothing.  I re-run the command above and it tells me there's already a printer defined with that name. 
    I look at Devices and Printers and the name I specified still isn't there.  Why doesn't the above command work like it's supposed to?
    Thanks!

    Thanks, yes, that was the first command I tried (without the /c).  All subsequent attempts tell me the printer already exists yet it definitely does not show up under Devices and Printers.  I ran the above logged in as Administrator with an elevated
    command prompt.  The printer can't be seen from this login or a 'normal' user login.

  • Setup closed with exit code: 0x84C40013 - Silent Install error - SQL Server 2012 express management studio SP1

    I am trying to create a silent installation package for SQL Server 2012 Express Management Studio SP1. (both x86 & x64)
    Prior to installation I have performed the following :
    1. Turned ON the Windows feature 'Microsoft .NET Framework 3.5.1' (I had read somewhere on the internet that this is required prior to installation)
    2. Installed Microsoft .NET Framework 4.0
    I am using the following command line to perform an unattended install :
    <EXENAME> /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=Tools 
    However, the installation fails abruptly.
    The application installs successfully with the following command line :
    <EXENAME> /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=Tools
    The error occurs only while attempting to install the application with the /Q switch appended.
    Please help.

    Hello Fanny,
    Thanks for providing the link to the SQL Server 2012 unattended install guide.
    However, I must highlight that I was running the setup.exe with "Run As a Administrator" option and still facing the issue.
    Anyways, I found out the root cause and I must say that it was a rather silly one.
    As I had stated previously, the following command line was causing the issue :
    <EXENAME>
    /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=Tools
    I simply changed it to the following and it worked....
    <EXENAME>
    /QUIET /IACCEPTSQLSERVERLICENSETERMS /ACTION=INSTALL /FEATURES=TOOLS
    It so seems that everything must be in CAPITALS for this to work.
    Regards,
    Soumen

  • Error in installing SQL SErver 2000 for SAp

    When i try to install Ms SQL server 2000 for SAP  it is giving me a message , "unable to validate product key"
    Pls let me know how to solve it

    Dear,
    When u install original sql server, might be it should not ask for product key. In sql source there is one vbs script, just click on that vbs script and ur installation of sql server is going to start. This is upto my knowledge.
    Thanking You.
    Charanjit

  • How to install an extension for "all users"

    I want to install a quantity of extensions for ALL users of FF on a PC running XP. There used to be a way of doing this but I have forgotten the method.
    I know to save the .xpi file for each extension, and that there is some folder in a common area where these files are placed so that each User gets them installed the next time they run FF

    See:
    *https://developer.mozilla.org/en/Installing_extensions
    *https://developer.mozilla.org/en/Adding_Extensions_using_the_Windows_Registry

  • Will Cumulative Update 12 for SQL Server 2008R2 SP2 fix: Warning: Unable to Verify TimeStamp for Path\ProgramName?

    Hello,
    I had a server crash recently and our outsource hosting tech support suggested applying Cumulative Upade 12 for SQL server 2008R2 SP2 to fix the issue.  The exception from our dump file "Warning: Unable to Verify TimeStamp for Path\ProgramName"
    is not in the list of hotfixes for this CU.  Do you know if this will fix this issue?  The CU warns not to apply the CU if your issue id not addressed by the CU.  Here is a portion of the dump file with the relevant error:
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (7e8.2ab4): Unknown exception - code 000042ac (first/second chance not available)
    ntdll!NtWaitForSingleObject+0xa:
    00000000`777412fa c3              ret
    0:240> .sympath srv*c:\Websymbols*http://msdl.microsoft.com/download/symbols;
    Symbol search path is: srv*c:\Websymbols*http://msdl.microsoft.com/download/symbols
    Expanded Symbol search path is: srv*c:\websymbols*http://msdl.microsoft.com/download/symbols
    0:240> .reload /f
    .Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlservr.exe, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for sqlservr.exe
    ..........Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlos.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for sqlos.dll
    ...............Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\opends60.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for opends60.dll
    .......Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\BatchParser.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for BatchParser.dll
    ....Unable to load image C:\Program Files\Microsoft SQL Server\100\Shared\instapi10.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for instapi10.dll
    *** ERROR: Module load completed but symbols could not be loaded for instapi10.dll
    ..Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\Resources\1033\sqlevn70.rll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for sqlevn70.rll
    *** ERROR: Module load completed but symbols could not be loaded for sqlevn70.rll
    Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
    Run !sym noisy before .reload to track down problems loading symbols.
    .................Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\ftimport.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for ftimport.dll
    .Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\msfte.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for msfte.dll
    *** ERROR: Module load completed but symbols could not be loaded for msfte.dll
    ...........Unable to load image C:\Windows\System32\sqlncli10.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for sqlncli10.dll
    ...Unable to load image C:\Windows\System32\1033\SQLNCLIR10.RLL, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for SQLNCLIR10.RLL
    *** ERROR: Module load completed but symbols could not be loaded for SQLNCLIR10.RLL
    ..Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\xpsqlbot.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for xpsqlbot.dll
    .Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\XPStar.DLL, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for XPStar.DLL
    .Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlscm.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for sqlscm.dll
    ...*** ERROR: Module load completed but symbols could not be loaded for odbcint.dll
    ...Unable to load image C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\Resources\1033\XPStar.RLL, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for XPStar.RLL
    Thank you,
    Steve -

    The error message appears to be related to a debug session and not come from the actual crash.
    So all I know is that you hade a server crash. I don't even know exactly what that means. Did Windows bite the dust? Or was it only SQL Server?
    Assuming the latter, I would expect the SQL Server errorlog to have some information (and that would be ERRORLOG.1 or earlier, since the server have been restarted), but if SQL Server died the output may be incomplete.
    There may be also dump files, but as I rarely look into these, I am not sure how to interpret them. But I am quite confident that "Unable to verify TimeStamp..." is not the reason SQL Server went down.
    I would suggest the following course:
    *  If the server is not critical, do nothing. As long as it has onlyl happened once, it has only happened once.
    *  If the server is critical, open a case with Microsoft if you are not able to figure out the reason yourself. The key here is "Unknown exception - code 000042ac".
    *  If it happens again, you should absolutely open a case. An important thing here is whether the stack dump is identical or something different. If the stack dumps are identical, you may have hit a bug in SQL Server or the OS, and applying CUs or OS
    fixes could help if it is a known issue. If the stack dump is something else, you have ghosts in the machine - that is, bad hardware.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Services configuration for sql server 2008r2 in a Windows Cluster

    Hello,
    We have a Windows Server 2008 Cluster with Sql Server 2008r2 installed on node 2; when node 2 fails (we don't still know why, it's a 'bluescreen' long history), the service goes from node2 to node1, but sometimes the services are not automatically activated.
    What is the theoretical startup settings for sql services (for the sql and the agent), manual, disabled, automatic... ?
    Also, sometimes, the service for the sql server in node2 stops, but we don't know why, and we are not able to see any significant information on the event viewer. How can we trace why Sql Server stopped ?
    Thanks !

    >What is the theoretical startup settings for sql services
    Manual.  The cluster will start them.
    >How can we trace why Sql Server stopped ?
    Look in the SQL Server Log.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • SQL Server 2008r2 issue for w8.1

    Hi,
    I am getting sql server 2008r2 compatibility issue for w8.1 whenever I try to installed it.Please check the attached screen shoot given bellow

    You must read
    Hardware and software requirements for SQl Server 2008 r2 before proceeding. You did not told edition of SQL server you are trying to install on windows 8.
    Enterprise edition is not supported on windows 8
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Which .exe file I should choose to apply SP2 for SQL Server 2008r2 Enterprise Edition 64Bit

    Hi All,
    Which .exe file I should choose to apply SP2 for SQL Server 2008r2 Enterprise Edition 64Bit.
    And what is the difference between below .exe files. 
    SQLServer2008R2SP2-KB2630458-x64-ENU.exe
    SQLServer2008R2SP2-KB2630458-IA64-ENU.exe
    Grateful to your time and support. Regards, Shiva

    Good day
    Shiva Shakthi,
    I have change the type of the thread to a question, as this is a question :-)
    please chose the right type next time. If you have a question then use a question thread (this is the default), and that will let you mark the answers that you get.
    Have a nice day :-)
    [Personal Site] [Blog] [Facebook]

  • Where to install SQL Server PowerPivot for SharePoint?

    The environment is SharePoint 2013 Enterprise Edition and SQL Server 2012 SP2 Enterprise Edition.  
    SQL Server 2012 SP2 Enterprise Edition is installed as default instance on a dedicated box.   All the features are selected in the Feature Selection windows during installation (see image).
    Now, I need to install SQL Server PowerPivot for SharePoint.   Should it be installed on the same dedicated box?  If I understand correctly, I need to select the SQL Server PowerPivot for SharepPoint option and uncheck
    the checkbox Add SQL Server Database Relational Engine Services to this installation.   Does this option also install SSAS?  Since there is already an existing SSAS, will that cause problem?

    Hi PcSQL66,
    To install SQL Server PowerPivot for SharePoint, you need to select SQL Server PowerPivot for SharePoint
    on the Setup Role page. Please refer to the screenshot below.
    And if you have a SSAS instance installed in your server, install SQL Server PowerPivot for SharePoint will install another SSAS instance.
    For the detail information, please refer to the link below.
    https://msdn.microsoft.com/en-us/library/jj219067(v=sql.110).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Sql Server Script for the List of all Country State and City

    I am searching for the Sql Server Script of all country State and City with the Following type
    For the Country only 2 Columns are there i.e. CountryId and CountryName(CountryId is primary Key)
    For the State 3 Columns are there i.e. CountryId, StateId and StateName(StateId is Primary Key and CountryId is Foreign Key)
    For the City 3 Columns are there i.e. StateId ,CityId and CityName(CityId is PrimaryKey and StateId is foreign Key).
    I need this type of Script with Column name. plzzz help me out i m stuck i didnt get the list as i want.
    Thanx and Regrads,

    Hi Vishnu,
    According to your description, you want to list all countries, states and cities, right?
    I have tested it on my local environment, here is a sample script for you reference.
    select
    [dbo].[Country].[CountryId]
    , [dbo].[Country].[CountryName]
    , [dbo].[State].[StateId]
    , [dbo].[State].[StateName]
    , [dbo].[City].[CityId]
    , [dbo].[City].[CityName]
    from
    [dbo].[Country]
    left join [dbo].[State] on [dbo].[Country].[CountryId]=[dbo].[State].[CountryId]
    left join [dbo].[City] on [dbo].[State].[StateId]=[dbo].[City].[StateId]
    Regards,
    Charlie Liao
    TechNet Community Support

  • SQL server requirement for sharepoint 2013

    Hello All,
    currently i have installed SharePoint2013 in server farm mode, and i have used SQL Server 2008 R2 for DB. Can i use SQL Server 2012 for SharePoint 2013?
    Thanks

    SharePoint 2013 is compatible with SQL 2008 R2 and SQL 2012 so yes.
    What you can do is "move" the SharePoint DBs from SQL 2008 R2 to SQL 2012 without restore or backup.
    Link to msdn: https://technet.microsoft.com/en-us/library/cc512725(v=office.15).aspx
    Here you have an example for SharePoint 2010 (is the same for SharePoint 2013): http://www.codeproject.com/Articles/664029/Migrate-SharePoint-s-SQL-Server-to-another-SQL-Ser
    Here an different example: http://surya20p.blogspot.com.es/2013/09/migrate-sql-2008r2-sp2-to-sql-2012-sp1.html
    Best regards.

  • SQL Server 2008R2 vs 2012 OLTP performance difference - log flushes size different

    Hi all,
    I'm doing some performance test against 2 identical virtual machine (each VM has the same virtual resources and use the same physical hardware).
    The 1° VM has Windows Server 2008R2 and SQL Server 2008R2 Standard Edition
    the 2° VM has Windows Server 2012R2 and SQL Server 2012 SP2 + CU1 Standard Edition
    I'm using hammerDB (http://hammerora.sourceforge.net/) has benchmark tool to simulate TPC-C test.
    I've noticed a significative performance difference between SQL2008R2 and SQL2012, 2008R2 does perform better. Let's explain what I've found:
    I use a third VM as client where HammerDB software is installed, I run the test against the two SQL Servers (one server at a time), in SQL2008R2 I reach an higher number of transaction per minutes.
    HammerDB creates a database on each database server (so the database are identical except for the compatibility level), and then HammerDB execute a sequence of query (insert-update) simulating the TPC-C standard, the sequence is identical on both servers.
    Using perfmon on the two servers I've found a very interesting thing:
    In the disk used by the hammerDB database's log (I use separate disk for data and log) I've monitored the Avg. Disk Bytes/Write and I've noticed tha the SQL2012 writes to the log with smaller packet (let's say an average of 3k against an average of 5k written
    by the SQL 2008R2).
    I've also checked the value of Log flushes / sec on both servers and noticed that SQL2012 do, on average, more log flushes per second, so more log flushes of less bytes...
    I've searched for any documented difference in the way log buffers are flushed to disk between 2008r2 and 2012 but found no difference.
    Anyone can piont me in the correct direction?

    Andrea,
    1) first of all fn_db_log exposes a lot of fields that do not exist in SQL2008R2
    This is correct, though I can't elaborate as I do not know how/why the changes were made.
    2) for the same DML or DDL the number of log record generated are different
    I thought as much (but didn't know the workload).
    I would like to read and to study what this changes are! Have you some usefu link to interals docs?
    Unfortunately I cannot offer anything as the function used is currently undocumented and there are no published papers or documentation by MS on reading log records/why/how. I would assume this to all be NDA information by Microsoft.
    Sorry I can't be of more help, but you at least know that the different versions do have behavior changes.
    Sean Gallardy | Blog | Microsoft Certified Master

Maybe you are looking for