Users are experiencing an error when attempting to import data in SSMS

Users are experiencing an error when attempting to import data in SSMS

147
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:00 PM


Symptom


Customer connects to SQL server Management Studio via PSM. They encountered below exception  when they launched  SQL Server Import and Export Wizard .

This error  is reproducible  by running command line
runas /user:computername\shadowuser " C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn\DTSWizard.exe"


Environment


10.5;10.6;10.7;10.8;10.9;10.10 PSM 10.10 , Windows 2012 R2, SQL Server Management Studio 2016

Cause


DTZWizard.exe is blocked by Applocker.
DTZWizard.exe a separated application thus a separated AppLocker rule is required.


Resolution


1 Add  DTZWizard.exe into the PSMConfigureAppLocker.xml (default location C:\Program Files (x86)\CyberArk\PSM\Hardening"

For example 

<!-- SQL Server Management Studio 2016 processes -->
    <!-- If relevant, uncomment this part after installing SQL Server Management Studio 2016 processes -->
    <Application Name="SSMS2016" Type="Exe" Path="C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe" Method="Publisher" />     
    <Application Name="DTSW2016" Type="Exe" Path="C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn\DTSWizard.exe" Method="Publisher" /> 
    <!--End of SQL Server Management Studio 2016 processes comment -->

2 and run the PSMConfigureAppLocker.ps1 script again.
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001BvtCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail