The $ shares are only available to Windows local administrators. I HIGHLY recommend against running SQL Server or SSIS as an administrator.
You need to create an actual user share and grant the SSIS service/agent rights to the share.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi there,
I am trying to run this from this task with these two properties:
Executable: \servername\c$\Program Files (x86)\Common Files\xxx\Batch\Monthly_Total.cmd
Working directory:\servername\c$\Program Files (x86)\Common Files\xxx\Batch\
But it is failing and I getting this message:
'path.....
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory
The user has fully permissions on the remote virtual machine, it is Local Admin
Any thoughts? I remember have used this task in the past successfully against a remote server
Thanks in advance,
The $ shares are only available to Windows local administrators. I HIGHLY recommend against running SQL Server or SSIS as an administrator.
You need to create an actual user share and grant the SSIS service/agent rights to the share.
What is the batch command file doing? Is it something that could be done using a script task? If not - and the cmd file must be executed as is - you could use Process.Start in a script task to execute.
Hi,
Kindly check the explanation from below and they also shared the workaround of "pushd \myserver\myshare".
UNC Paths are supported in cmd.exe. You can copy files to and from them, and map drives to them. You just cannot cd to them and a UNC path cannot be the current directrory.
https://github.com/cmderdev/cmder/issues/1315
Hope this helps and please help to accept as Answer if the response is useful.
Thanks,
Jenny