DTS password problem

  • Hi, everyone

    We have a problem with one of our DTS package.

    It was created some years ago, and it developer had left company even before I came.

    The package has password and nobody remembers it including that developer(we contacted him).

    if anybody has an idea how wee can open this package please help!

    Thanks

  • don't think it can be done (short of editing a backup of msdb with a hex editor). may try opening ticket with MS PSS team.

  • Thanks

  • Is anything still executing the DTS package, such as a SQL Server Agent job?

    K. Brian Kelley
    @kbriankelley

  • Hello, everyone

    Checking internet I combine everything and found my own solution

    It takes 5 minutes and do not need any script to compile

    1. transfer package ownership to my domain account

    2. transfer job to my account

    3. execute dtsrun DTSRun /~Z0x5...... with switches /!X /!C from my machine

    It gave you decrypted line with parameter /M "password"

    When I was trying to do this on server it did not give /M parameter, only from my machine

    Thanks to everybody for help

  • Hi,

    I am facing the same problem, can you explain me all the steps in sequence you have done to resolve the issue

  • Hi, you need to have admin account to do all of this

    I did following steps

    1. transfer package ownership to my domain account

    use this stored procedure

    sp_reassign_dtspackageowner

    [@name =] 'name',

    [@id =] 'id',

    [@newloginname =] 'newloginname'

    You can find package id from sysdtspackages table

    'newloginname' = your domain account

    2. transfer job owner for this dts package to my domain account

    3.

    execute dtsrun DTSRun /~Z0x5...... with switches /!X /!C

    from my machine

    Z0x5...... is encrypted line from job step

    for this purpose create batch file with lines

    DTSRun /~Z0x5B4B.......2D495E /!X /!C

    pause

    DTSRun /~Z0x5B4B.......2D495E is a full line from the job step

    I added pause at the end to read what it tells you

    You should see lines

    Dtsrun: LOading

    dtsrun: Executing

    After that you can paste to any notepad

    It looks like this

    DTSRun /S "ServerName" /N "DtsPackName" /M "password" /E /!X /!C

    It gave you decrypted line with parameter /M "password"

    Let me know when you done

  • Hi,

    Thanks a lot for the details explanation. I have tried your solution and it works. Once again thanks for you prompt reply and the good solution. 🙂

  • Thanks for great help....

  • I could't stop to say Thank you for gr8 tip.

  • assuming I am running the batch job from my (client) machine do I have to provide all the switches and the information like /S /U /P /N.

    I would appreciate if you can please post the exact syntax.

Viewing 11 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply