Microsoft KB Archive/158977

= INFO: New Parameter Options for Service Pack Setup =

Article ID: 158977

Article Last Modified on 2/22/2005

-

APPLIES TO


 * Microsoft SQL Server 6.5 Service Pack 2

-



This article was previously published under Q158977



SUMMARY
Two new command line options have been added to Setup.exe for SQL Server 6.5 Service Pack 2. The /t parameter for Setup.exe is used for the following options (examples are included in the More Information section below):

  /t Password =

/t ForceReboot = 



MORE INFORMATION
NOTE: All syntax examples below must be typed in exactly as shown, including spaces and case sensitivity. Setup.exe can be run with these options from a Windows NT command prompt, or from an application that can launch programs (such as File Manager or the Run command on the Start menu of Windows NT 4.0).

Password Option
setup.exe /t Password = Integrated

Setup will use a forced integrated connection and will not ask for a password. A forced integrated connection will only work properly if you are using the named pipes or multiprotocol network library. The keyword Integrated is specific to spelling and case.

setup.exe /t Password = Null

Setup will use "" for a password with Standard security, assuming the sytem administrator (SA) login. The keyword Null is specific to spelling and case.

setup.exe /t Password =

Setup will use as the password, assuming the SA login. If a of "Integrated" or "Null" is used, then the preceding rules above apply. If the password provided is not valid, Setup will also prompt for a password.

If a password option was specified and accepted as correct, Setup will terminate automatically when it is completed. The user will not be notified on the screen that it has been completed. If prompted for a password because of the above conditions, a completion dialog box that requires user input will be displayed.

ForceReboot Option
setup.exe /t ForceReboot = 

Setup will reboot the computer at completion of the service pack update, if the update was successful.

Examples
setup.exe /t ForceReboot = True

It is possible to use more than one parameter option when running Setup.exe, but each option must be preceded by "/t" (without the quotes), as shown in the following example:

setup.exe /t ForceReboot = True /t Password = Integrated

Additional query words: sp2 setup.inf

Keywords: kbinfo kbsetup kbusage KB158977

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.