DLL Copy / Permission Issue

J

Jason Teagle

Sorry to bring this back to the table, but I hope you would consider that it
is a fairly fundamental problem and I need to understand (a) what I'm doing
wrong, if anything, and (b) how it can be resolved.

The problem is basically that I am being denied permission to copy a DLL or
EXE from a network share to a local directory. Here's what is and what
isn't, and what works and what doesn't:

* The source directory is on a network share in the same workgroup (not
domain). I can copy a plain text file from this directory with no problems;
I just can't copy DLLs or EXEs from it.

* The credentials I log in to the local machine with are the same
credentials required for the network share.

* The local directory is a subdirectory below C:. It was automatically
created when I first attempted to copy a whole directory from the network
share (I see a potential for it to have been created only with the
prevailing permissions, which might not have been elevated at the time...
but read on...).

* I can copy a DLL from the local machine's Windows\System32 directory to
this local subdirectory with no problems - this implies that the target
directory isn't the problem per se. As mentioned above, I could also copy a
plain text file from the network share to the local subdirectory without
problems, which implies that access to the network share isn't a problem per
se either.

* I have tried both with UAC on and UAC off (using the standard MS way of
switching it 'off').

The biggest problem really is that the permission denied message that comes
up gives me no way to get that permission - no elevation prompt, and no link
to some information telling me how to go about getting the permission.

So my question is, can anyone help me figure out why I can't clear this last
hurdle? A machine isn't much use if you can't copy files to it when you need
to {:v)
 
J

Jimmy Brush

Hello,

Have you tried disabling any antivirus/security products on both the
client and the server?

I made a simple program that will attempt to copy the file using a few
different methods, including the way explorer does it, and spit out a
bunch of diagnostic information.

If you could run the program and post the results, it may help track
down this issue.

http://www.jimmah.com/vista/downloads/copytest.zip

- JB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top