Destination Folder Access Denied

Discussion in 'Windows Vista Performance' started by Llew Ralph, May 6, 2007.

  1. Llew Ralph

    Llew Ralph Guest

    Vista is reporting that the file stdole32.tlb is corrupt.

    I have attempted to copy a known good version to C:\WINDOWS\System32 but am
    obtaining a "Destination Folder Access Denied. You need permission to perform
    this action" error message, even with UAC switched off.

    I would appreciate advice how to obtain the permissions to effect this repair.

    TIA
     
    Llew Ralph, May 6, 2007
    #1
    1. Advertisements

  2. Llew Ralph

    dean-dean Guest

    This is a file that the system can repair. Try this:

    Right-click on Command Prompt, and choose Run as Administrator. In the
    Command Prompt window, type:

    sfc /scannow

    After the System File Checker scan, which may take awhile, you can confirm
    any repairs by looking at the cbs.log (towards the end of the log) in
    C:\Windows\Logs\CBS.
     
    dean-dean, May 6, 2007
    #2
    1. Advertisements

  3. Llew Ralph

    Llew Ralph Guest

    Thanks for the response.

    Unfortunately this reported " Windows Resource Protection did not find any
    integrity violations", but Windows still grumbles that the file is corrupt.

    What I was really asking is how can a file be copied to WINDOWS\System32
    without it being blocked.
     
    Llew Ralph, May 7, 2007
    #3
  4. Llew Ralph

    dean-dean Guest

    At an elevated command prompt, type the following command, and then
    press ENTER:

    takeown /f Path_And_File_Name

    For example, type
    takeown /f E:\windows\system32\jscript.dll.

    Type the following command, and then press ENTER to grant
    administrators full access to the file:

    icacls Path_And_File_Name /GRANT ADMINISTRATORS:F

    For example, type
    icacls E:\windows\system32\jscript.dll /grant administrators:F.

    Type the following command to replace the file with a known good copy
    of the file:

    Copy Path_And_File_Name_Of_Source_File
    Path_And_File_Name_Of_Destination

    For example,
    type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll.
     
    dean-dean, May 8, 2007
    #4
  5. Llew Ralph

    Llew Ralph Guest

    Thanks for your continued interest in this issue.

    However, the problem is not with file access permissions but with Vista
    blocking the file copy process.
     
    Llew Ralph, May 8, 2007
    #5
  6. Llew Ralph

    dean-dean Guest

    dean-dean, May 8, 2007
    #6
    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.