Destination Folder Access Denied

Posted: 05-06-2007, 02:06 PM
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
Reply With Quote

Responses to "Destination Folder Access Denied"

dean-dean
Guest
Posts: n/a
 
Re: Destination Folder Access Denied
Posted: 05-06-2007, 06:01 PM
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.


"Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
news:42A8E224-105C-4F4C-88B6-02EC99DE7BEC@microsoft.com...
> 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
Reply With Quote
Llew Ralph
Guest
Posts: n/a
 
Re: Destination Folder Access Denied
Posted: 05-07-2007, 09:30 AM
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.

"dean-dean" wrote:
> 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.
>
>
> "Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
> news:42A8E224-105C-4F4C-88B6-02EC99DE7BEC@microsoft.com...
> > 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
>
>
Reply With Quote
dean-dean
Guest
Posts: n/a
 
Re: Destination Folder Access Denied
Posted: 05-08-2007, 08:32 AM
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.



"Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
news:BA342988-4368-4D41-9A85-7077E55F56BF@microsoft.com...
> 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.
>
> "dean-dean" wrote:
>
>> 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.
>>
>>
>> "Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
>> news:42A8E224-105C-4F4C-88B6-02EC99DE7BEC@microsoft.com...
>> > 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
>>
>>
Reply With Quote
Llew Ralph
Guest
Posts: n/a
 
Re: Destination Folder Access Denied
Posted: 05-08-2007, 09:01 AM
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.

"dean-dean" wrote:
> 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.
>
>
>
> "Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
> news:BA342988-4368-4D41-9A85-7077E55F56BF@microsoft.com...
> > 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.
> >
> > "dean-dean" wrote:
> >
> >> 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.
> >>
> >>
> >> "Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
> >> news:42A8E224-105C-4F4C-88B6-02EC99DE7BEC@microsoft.com...
> >> > 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
> >>
> >>
>
>
Reply With Quote
dean-dean
Guest
Posts: n/a
 
Re: Destination Folder Access Denied
Posted: 05-08-2007, 09:11 AM
Vista is blocking the copy because it won't allow a file owned by
TrustedInstaller to be moved/replaced. See:

http://msdn2.microsoft.com/en-us/library/aa382503.aspx

"Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
news:0FA519B9-9AD6-41BC-BBFA-5BDCE507C526@microsoft.com...
> 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.
>
> "dean-dean" wrote:
>
>> 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.
>>
>>
>>
>> "Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
>> news:BA342988-4368-4D41-9A85-7077E55F56BF@microsoft.com...
>> > 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.
>> >
>> > "dean-dean" wrote:
>> >
>> >> 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.
>> >>
>> >>
>> >> "Llew Ralph" <LlewRalph@discussions.microsoft.com> wrote in message
>> >> news:42A8E224-105C-4F4C-88B6-02EC99DE7BEC@microsoft.com...
>> >> > 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
>> >>
>> >>
>>
>>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Destination folder access denied Frank Saunders, MS-MVP OE/WM Windows Vista Security 41 04-17-2008 06:58 PM
Destination Folder Access Denied mattaustin Windows Vista File Management 7 07-05-2007 02:22 AM
Access denied to my doccuments folder Ron Darby Windows Vista Performance & Maintenance 3 02-26-2007 04:50 PM
Access denied when moving a folder. typ0 Windows Vista Administration 0 02-13-2007 12:32 PM
denied folder access after XP reload Lance Hill Windows XP Performance & Maintenance 1 07-15-2003 05:26 AM