代码之家  ›  专栏  ›  技术社区  ›  lampShadesDrifter

如何在Windows调度程序中使用密码运行SSIS包?

  •  0
  • lampShadesDrifter  · 技术社区  · 5 年前

    ProtectionLevel=EncryptSensitiveWithPassword .dtsx 来自Windows任务计划程序的文件(在MS Windows Server 2012上)。在任务计划程序中,尝试运行。。。

    "C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe"
    

    添加了参数

    /Decrypt <mypassword> C:/path/to/my/Visual Studio/package.dtsx
    

    enter image description here

    看着一些 community docs /Decrypt <mypassword> 但不太确定

    有更多Windows操作经验的人能知道我做错了什么吗?

    0 回复  |  直到 5 年前
        1
  •  1
  •   Hadi    5 年前

    首先,您需要在dtsx包文件路径之前添加/FILE或/F:

    dtexec /FILE "C:\path\to\my\Visual Studio\package.dtsx" /DECRYPT password
    

    工具书类

    推荐文章