I was doing remote system file access (i.e., Writing a file in remote machine & reading the same file from that machine). For that I established a connection using
It works fine while I run it directly in my account.
But while launching from system account (i.e., Launching from service, using pstool (or) registered in services.msc) it is not working.
It returns with an error code of 1312 from GetLastError(), means
How should I proceed now?
Please help me..
Thanks & regards,
System account doesn't have access to network resources so you should use some account which have privileges top access network (like yours does).
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)