Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - DLL Copy / Permission Issue

Reply
 
Old 07-15-2007   #1 (permalink)
Jason Teagle


 
 

DLL Copy / Permission Issue

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)


--
Jason Teagle
jason@teagster.co.uk



My System SpecsSystem Spec
Old 07-17-2007   #2 (permalink)
Jimmy Brush


 
 

Re: DLL Copy / Permission Issue

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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Solved Permission Issue System Security
Copy file to Document and Settings folder permission problem VB Script
You will need to provide DMINISTRATOR PERMISSION TO COPY TO THIS F Vista General
DLL Copy / Permission Error (Sorry if this comes out twice) Vista security
DLL Copy / Permission Issue Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46