Windows Vista Forums

DLL Copy / Permission Issue

  1. #1


    Jason Teagle Guest

    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

  2. #2


    Jimmy Brush Guest

    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

DLL Copy / Permission Issue

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy file to Document and Settings folder permission problem Philip Tattersall VB Script 4 26 Sep 2008
You will need to provide DMINISTRATOR PERMISSION TO COPY TO THIS F Koteswararao Vista General 1 09 Mar 2008
You need permission to perform this action!! to copy a file to a directory with Admin rights Athena Vista security 2 04 Nov 2007
DLL Copy / Permission Error (Sorry if this comes out twice) Jason Teagle Vista security 2 26 Jul 2007
DLL Copy / Permission Issue Jason Teagle Vista security 8 05 Jul 2007