Can not copy files from remote machine on windows vista ultimate
Hi All, I want to copy some files on a remote machine. My application is running on Windows XP and targeted machine is Windows Vista (Ultimate). There are 3 default shared folders (C$, ADMIN$, IPC$). I have logged into the client machine (Windows Vista) remotely as an administrator and I am trying to copy the file on one of the shared folders, but it gives me an ACCESS_DENIED error. Here is some code. Step1: Connect to share folder using: WNetAddConnection2 () Step2: Copy files using: CopyFile () Returns an Error code 5 i.e.Access_Denied If I try to copy the same files in shared public folder (C:\Usera\Public), it succeeds. I want to know about the difference between security rights given to the public folder and other shared folders. Also, Can I modify the privileges of a shared folder on a remote system? If not, what do I need to successfully carry out the above described copy operation. P.S. Turn off the UAC manually will solve the problem but I want to log on the system remotely. Regards, Swapnil
March 11th, 2010 11:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics