Mapping dtsrun Options to dtexec Options

In SQL Server Integration Services, the dtsrun command prompt utility (dtsrun.exe) that was used in SQL Server 2000 Data Transformation Services (DTS) has been replaced by the dtexec command prompt utility (dtexec.exe).

If you have previously used the DTS dtsrun utility, this topic will help you understand how the dtsrun options map to the options for the Integration Services dtexec utility.

To convert your dtsrun command lines, you can map each command-line option to the corresponding dtexec option. However, not all command-line options are available in both utilities:

  • Some dtsrun command-line options have direct dtexec equivalents. For example, there are dtexec equivalents for the options that provide a server name or package name, and the options for setting the value of a variable.

  • Some dtsrun command-line options do not have direct dtexec equivalents. For example, the dtsrun command-line option to specify a trusted connection is now the implicit default, and the dtsrun command-line option to load from the Repository is no longer supported.

  • There are some new dtexec command-line options that support new features in Integration Services, such as the options to pass in connection strings and to manage checkpoints.

For more information about the dtexec command options and examples of dtexec syntax, see dtexec Utility (SSIS Tool).

If you want to create new command lines visually with the assistance of a user interface, use the Execute Package Utility (dtexecui.exe). This utility displays all the available options and ensures the use of the correct syntax.


In Integration Services, the Execute Package Utility (dtexecui.exe) replaces the DTS dtsrunui utility (dtsrunui.exe).

dtsrun Options That Have a dtexec Equivalent

Dtsrun Option

Dtexec Option



/? Or /H[ELP]

Display list of options.



Specify server name.



Specify user name.



Provide the user password.



/D[ts] – package store

Specify the package name in MSDB.



Provide the package GUID.




Specify the package version and build.



Specify the package password.


/F[ile] – file system

/D[ts] – package store

Specify the file name of the package.



Specify the value of a variable.


/L[ogger], /Cons[oleLog]

Log to log file or log provider.


/L[ogger] , /Cons[oleLog]

Log to Event Log.

dtsrun Options That Do Not Have a dtexec Equivalent

Dtsrun Option

Dtexec Option



(Omit user name and password)

Use a trusted connection.


(The Repository is not supported)

Specify Repository database name.


Pass in encrypted command line


Block execution when creating an encrypted command line.


(Use Dtutil.exe)

Delete package from MSDB database.


Display encrypted command line without executing it.


Copy command line to the clipboard.

New dtexec Options That Do Not Have a dtsrun Equivalent

Dtsrun Option

Dtexec option



Specify a checkpoint file.


Turn checkpointing on or off.


Specify a file that contains additional command-line options.


Specify a configuration file.


Provide a connection string for a connection manager in the package.


Set the maximum number of concurrent executables.


Enter a comment.


Set the reporting level.


Specify how to handle checkpoints.


Display rowcount.


Validate without executing.


Fail if not signed.


Treat a warning as an error and a validation failure.

Integration Services icon (small) Stay Up to Date with Integration Services

For the latest downloads, articles, samples, and videos from Microsoft, as well as selected solutions from the community, visit the Integration Services page on MSDN or TechNet:

For automatic notification of these updates, subscribe to the RSS feeds available on the page.