Service Desk Practitioners Forum
cancel

local script with remote file

Highlighted
michael roitbur
Respected Contributor.

local script with remote file

Hi,
i write a script in windows , that take some parameters and write it in file at driver U:
, driver U: it's a mapping to remote driver at other machine
like net use u: \\10.0.0.10\c$
when i run this script at command line this work with problems
but when i run it from db rule didn't work, i see that SD run the script , but for some reason can not write at remote file , some ideia?
4 REPLIES
gusztav.ullrich
Trusted Contributor.

Re: local script with remote file

Hello,
The SD service runs as "local system" at the remote system you have to enable the nullsessionshare-s.
with regedt32.exe(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\nullsessionshares).
regards,
GUsztav
michael roitbur
Respected Contributor.

Re: local script with remote file

thanks for the fast anwser ,
at th=e registry i have this value:
COMCFG
DFS$


i need to change for what?
gusztav.ullrich
Trusted Contributor.

Re: local script with remote file

Hello,
you have to add the name of the share (in this case C$). The non-authenticated users like local system will access this share.
Yopu can find more information here:
http://support.microsoft.com/kb/124184/

regards,
Gusztav
michael roitbur
Respected Contributor.

Re: local script with remote file

not relevannt more