How to overwrite a file in Vista Windows folder

Discussion in 'Windows Vista Security' started by Les, Oct 22, 2007.

  1. Les

    Les Guest

    Hi

    Trying to overwrite a .dll file in Windows folder with a newer version but
    fails silently - no error, no changes made. The same results if I try to
    rename the file.

    I can change accounts and use the 'real administrator' account to do it, but
    I would like to be able to do so from my 'normal administrator' account -
    how can I do this?
     
    Les, Oct 22, 2007
    #1
    1. Advertisements

  2. Les

    DevilsPGD Guest

    In message <> "Les"
    What tool are you using? Normally Explorer will pop up a dialog
    warning you, then toss it over to UAC to elevate and complete the task.

    If you're using your own file management tool, you either need to start
    it as an administrator, or it needs to learn to run as a limited user.

    Failing that, if you're fluent with the command line, run a command
    prompt by right clicking and choosing the "Run as administrator" and you
    should be able to do whatever you want from within that command prompt.
     
    DevilsPGD, Oct 22, 2007
    #2
    1. Advertisements

  3. Les

    Les Guest


    Just trying to use the standard Explorer delete/rename/copy/paste functions.
    But you mentioned UAC which I recently turned off - that must have been the
    culprit (or, to put it another way - I must be the culprit :)
     
    Les, Oct 22, 2007
    #3
  4. Why are you trying to replace part of the operating system? Which DLL is
    this, and what are you trying to replace it with?
     
    Steve Riley [MSFT], Oct 24, 2007
    #4
  5. Les

    Les Guest

     
    Les, Oct 24, 2007
    #5
  6. Steve Riley [MSFT], Oct 25, 2007
    #6
  7. Les

    DevilsPGD Guest

    In message <> "Steve Riley [MSFT]"
    Assuming it's installer was called setup.exe or install.exe or looked or
    smelled like an installer, it would have no trouble writing drivers
    anywhere it wanted.
     
    DevilsPGD, Oct 25, 2007
    #7
  8. True, but the UAC prompt still comes up. Need a little bit more info from
    Les to figure out what's really going on. Les, what is this USB device, and
    how is its driver software installed?

    --
    Steve Riley

    http://blogs.technet.com/steriley
    http://www.protectyourwindowsnetwork.com


     
    Steve Riley [MSFT], Oct 25, 2007
    #8
  9. Les

    Les Guest

    I probably used the 'super admin' account (what is the correct way to
    discuss the super/normal admin accounts?)

    The original driver came wrapped in 2 x .sys files and 1 x .inf file - none
    of which I can understand. It's just that there are other drivers for the
    device that I want to try out. I can do this via the 'super admin' account
    but not through my normal everyday admin account.

    Another example of what I am facing - there is a folder called Temp in my
    windows folder. In the 'super admin' account, I can open Temp quite
    normally, but in my daily use account, I get a dialog box with:

    'You don't currently have permission to access this folder.' click Continue
    to get access to this folder.

    but when I click continue - dialog closes, folder screen bar at top slides
    green and nothing else happens. I still don't get into the Temp folder. What
    happened to the offer of access?

     
    Les, Oct 25, 2007
    #9
  10. Les

    Les Guest


    Yes, the original was 'installed' in the normal way via the windows
    installer, but the files I am now trying out are just a single
    ..dll file(s) which are to replace the one installed originally.
     
    Les, Oct 25, 2007
    #10
  11. The "super admin" account you're referring to is probably the account named
    "Administrator," but since you don't remember, we can't know for sure.

    Don't know what to tell you about the Temp folder issues, sorry. I haven't
    seen that particular thing happen before.

    About the driver replacement... I'm guessing that either the Administrator
    account or the SYSTEM account have become the owners of the files that got
    added to %WINDIR%. That's why you need to use Administrator to replace the
    individual files.

    --
    Steve Riley

    http://blogs.technet.com/steriley
    http://www.protectyourwindowsnetwork.com


     
    Steve Riley [MSFT], Oct 30, 2007
    #11
  12. Les

    uvbogden Guest

    Even running as Administrator may leave you without permissions to modify
    some files or folders, even ones that you have downloaded and installed. To
    modify (copy, delete, rename) files or folders you can take Ownership of (in
    your Username) and grant yourself Full Control permissions of the files or
    folders in question described in the following tutorial. Another way to gain
    access to modify files and folders includes going to the Start button, typing
    in Windows Explorer, right-clicking on this and selecting Run As
    Administrator. You should then have "elevated privileges" to do whatever you
    wish to files in Windows Explorer. There is also a program called Unlocker
    that you can use to gain access to modify files and folders (see link below).

    http://www.vistax64.com/tutorials/67717-take-ownership-file.html

    http://ccollomb.free.fr/unlocker/


     
    uvbogden, Nov 6, 2007
    #12
  13. Les

    Les Guest

    Thank you uvbogden, this has made life a little easier for me :)

     
    Les, Nov 6, 2007
    #13
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.