Hi,
With the command "net use" you can map a permanent drive or map with specific credentials:
net use Z: \\server\shared_folder /PERSISTENT:yes
net use Z: \\server\shared_folder /user:Luigi p4ssw0rd
To run something remotely and on the current logged in user you can try
owexec.exe and then set up an action like this:
{actionpath}owexec.exe -c {assetname} -k netuse_serverName.bat -copy