Run Full Encryption SSIS package as Job

Posted on 2007-12-03
Last Modified: 2010-04-21
I have fully encrypted an SSIS package.  It runs just fine on my computer when I enter a password.  How do I run the package as a job?  I think that I'll need to send the password to the SSIS package before it can run automatically.  
Question by:jjrr007
  • 3
  • 3
LVL 30

Expert Comment

ID: 20400815
When you create a SSIS job, it forces you to enter the password.

You'll find that the job cmd line will use the /DE parameter with DTEXEC

You can also use DTEXECUI to specify all of you package parameters, including the password, and let it build the command line for you, if you just want to run it from a batch file.

Author Comment

ID: 20406303
Could you please post here an example of how to do this?  I'm not sure how to structure this exactly.  Thanks.
LVL 30

Expert Comment

ID: 20407339
If you have a package, saved to the file system:

Open Management studio, connect to the database engine
Open out SQL Server Agent, right click on Jobs and press New Job
Click on Steps, press New to add a new step
Pick a step of type 'SQL Server Integration Services Package'
Now you've got a whole load of options below to fill in, including the path to the file. You'll be asked to enter the package password also.

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.


Author Comment

ID: 20421380
Thanks. I wasn't very clear on my last post.

I was meaning to ask, how do I structure the command line to run the job with the password?  I'm not quite clear on how to put the password in the command line.  
LVL 30

Accepted Solution

nmcdermaid earned 500 total points
ID: 20424351
1. Go to a command line
2. Type DTExecUI
3. Fill in the blanks
4. Go to the Command Line section

There's your command line, including /DE. You just need to put DTEXEC in front of it


DTEXEC /FILE [YourPacakgePath] /DE[YourPassword]

Author Closing Comment

ID: 31412504
Thanks for your time.

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now