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 performance & maintenance

RB

Vista - Destination Folder Access Denied

Reply
 
05-06-2007   #1
Llew Ralph


 

Destination Folder Access Denied

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

My System SpecsSystem Spec
05-06-2007   #2
dean-dean


 

Re: Destination Folder Access Denied

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


My System SpecsSystem Spec
05-07-2007   #3
Llew Ralph


 

Re: Destination Folder Access Denied

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

>
>

My System SpecsSystem Spec
05-08-2007   #4
dean-dean


 

Re: Destination Folder Access Denied

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

>>
>>


My System SpecsSystem Spec
05-08-2007   #5
Llew Ralph


 

Re: Destination Folder Access Denied

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
> >>
> >>

>
>

My System SpecsSystem Spec
05-08-2007   #6
dean-dean


 

Re: Destination Folder Access Denied

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
>> >>
>> >>

>>
>>


My System SpecsSystem Spec
Reply

RB


Thread Tools


Similar Threads for: Destination Folder Access Denied
Thread Forum
Destination folder access denied! Vista file management
Destination folder access denied Vista security
Destination folder access denied General Discussion
Destination Folder Access Denied General Discussion
Destination Folder Access Denied in SP1 Vista account administration


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