How Do I Overcome "Access Denied" Message

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

Post Reply
abradaxis
Posts: 3
Joined: 29 Nov 2009, 00:00

How Do I Overcome "Access Denied" Message

Post by abradaxis »

During a recent troubleshooting session with Microsoft, they fixed a problem
regarding errors in the . NET Framework Programs. However, after the session
was over, I noticed that Microsoft had left a number of directories on my
hard drive with very long numbers, all related to reinstalling .NET or
removing .NET. I was able to change the names of these directories, and thus
determined that they were not used for anything, but were part of the
debugging session when Microsoft took over control of my PC. When I tried to
delete them, most of them were easily disposed of. However, in one of them,
each and every folder, containing an MS Word File and a "dll" file, produced
an "Access Denied" error when I tried to delete them. Withough getting
Microsoft involved again on the same trouble ticket, how can I send these
files to the Recycle Bin and get rid of them once and for all? Thanks in
advance.

shenan stanley
Posts: 38
Joined: 15 Mar 2009, 00:00

Re: How Do I Overcome "Access Denied" Message

Post by shenan stanley »

Abradaxis wrote:
> During a recent troubleshooting session with Microsoft, they fixed
> a problem regarding errors in the . NET Framework Programs.
> However, after the session was over, I noticed that Microsoft had
> left a number of directories on my hard drive with very long
> numbers, all related to reinstalling .NET or removing .NET. I was
> able to change the names of these directories, and thus determined
> that they were not used for anything, but were part of the
> debugging session when Microsoft took over control of my PC. When I
> tried to delete them, most of them were easily disposed of.
> However, in one of them, each and every folder, containing an MS
> Word File and a "dll" file, produced an "Access Denied" error when
> I tried to delete them. Withough getting Microsoft involved again
> on the same trouble ticket, how can I send these files to the
> Recycle Bin and get rid of them once and for all? Thanks in
> advance.

This is just a 'tidy' thing.

Those folders may/may not have had anything to do with the remote session.

http://groups.google.com/group/microsof ... 2763e4546/

That is a long discussion about them and how to get rid of them. Taking
Ownership and deleting works, Unlocker might work, etc.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html

pegasus [mvp]
Posts: 59
Joined: 22 Mar 2009, 00:00

Re: How Do I Overcome "Access Denied" Message

Post by pegasus [mvp] »

"Abradaxis" <jsindler@career-objectives.com> wrote in message
news:up0%23c5ScKHA.1648@TK2MSFTNGP05.phx.gbl...
> During a recent troubleshooting session with Microsoft, they fixed a
> problem regarding errors in the . NET Framework Programs. However, after
> the session was over, I noticed that Microsoft had left a number of
> directories on my hard drive with very long numbers, all related to
> reinstalling .NET or removing .NET. I was able to change the names of
> these directories, and thus determined that they were not used for
> anything, but were part of the debugging session when Microsoft took over
> control of my PC. When I tried to delete them, most of them were easily
> disposed of. However, in one of them, each and every folder, containing an
> MS Word File and a "dll" file, produced an "Access Denied" error when I
> tried to delete them. Withough getting Microsoft involved again on the
> same trouble ticket, how can I send these files to the Recycle Bin and get
> rid of them once and for all? Thanks in advance.
>

Yesterday I cleaned up several of these folders for a client. Here is my
method:
- Log on as Administrator.
- Click Start / Run
- Type the three letters cmd
- Click OK
- Type the following commands:
cd /d c:\{Enter}
cacls NameOfFolder /E /T /G everyone:F{Enter}
rd /s /q NameOfFolder{Enter}

Instead of typing out the full name of the folder, you can do this:
- Type cacls, then a space, then the first two characters of the folder.
- Press the Tab key on your keyboard. This will expand the folder name.
- If the name is correct, type the rest of the command (/E /T etc)
- If not, press the Tab key again.
Note also: The "rd" command will delete the folder permanently. You will NOT
be able to retrieve it from the Recycle Bin.

abradaxis
Posts: 3
Joined: 29 Nov 2009, 00:00

Re: How Do I Overcome "Access Denied" Message

Post by abradaxis »

Thank you, but I'll try the next suggestion.
"Shenan Stanley" <newshelper@gmail.com> wrote in message
news:%23r75b%23ScKHA.1028@TK2MSFTNGP06.phx.gbl...
> Abradaxis wrote:
>> During a recent troubleshooting session with Microsoft, they fixed
>> a problem regarding errors in the . NET Framework Programs.
>> However, after the session was over, I noticed that Microsoft had
>> left a number of directories on my hard drive with very long
>> numbers, all related to reinstalling .NET or removing .NET. I was
>> able to change the names of these directories, and thus determined
>> that they were not used for anything, but were part of the
>> debugging session when Microsoft took over control of my PC. When I
>> tried to delete them, most of them were easily disposed of.
>> However, in one of them, each and every folder, containing an MS
>> Word File and a "dll" file, produced an "Access Denied" error when
>> I tried to delete them. Withough getting Microsoft involved again
>> on the same trouble ticket, how can I send these files to the
>> Recycle Bin and get rid of them once and for all? Thanks in
>> advance.
>
> This is just a 'tidy' thing.
>
> Those folders may/may not have had anything to do with the remote session.
>
> http://groups.google.com/group/microsof ... 2763e4546/
>
> That is a long discussion about them and how to get rid of them. Taking
> Ownership and deleting works, Unlocker might work, etc.
>
> --
> Shenan Stanley
> MS-MVP
> --
> How To Ask Questions The Smart Way
> http://www.catb.org/~esr/faqs/smart-questions.html
>

abradaxis
Posts: 3
Joined: 29 Nov 2009, 00:00

Re: How Do I Overcome "Access Denied" Message

Post by abradaxis »

Thank you. It worked like a charm.
"Pegasus [MVP]" <news@microsoft.com> wrote in message
news:ONYw7LTcKHA.6096@TK2MSFTNGP02.phx.gbl...
>
> "Abradaxis" <jsindler@career-objectives.com> wrote in message
> news:up0%23c5ScKHA.1648@TK2MSFTNGP05.phx.gbl...
>> During a recent troubleshooting session with Microsoft, they fixed a
>> problem regarding errors in the . NET Framework Programs. However, after
>> the session was over, I noticed that Microsoft had left a number of
>> directories on my hard drive with very long numbers, all related to
>> reinstalling .NET or removing .NET. I was able to change the names of
>> these directories, and thus determined that they were not used for
>> anything, but were part of the debugging session when Microsoft took over
>> control of my PC. When I tried to delete them, most of them were easily
>> disposed of. However, in one of them, each and every folder, containing
>> an MS Word File and a "dll" file, produced an "Access Denied" error when
>> I tried to delete them. Withough getting Microsoft involved again on the
>> same trouble ticket, how can I send these files to the Recycle Bin and
>> get rid of them once and for all? Thanks in advance.
>>
>
> Yesterday I cleaned up several of these folders for a client. Here is my
> method:
> - Log on as Administrator.
> - Click Start / Run
> - Type the three letters cmd
> - Click OK
> - Type the following commands:
> cd /d c:\{Enter}
> cacls NameOfFolder /E /T /G everyone:F{Enter}
> rd /s /q NameOfFolder{Enter}
>
> Instead of typing out the full name of the folder, you can do this:
> - Type cacls, then a space, then the first two characters of the folder.
> - Press the Tab key on your keyboard. This will expand the folder name.
> - If the name is correct, type the rest of the command (/E /T etc)
> - If not, press the Tab key again.
> Note also: The "rd" command will delete the folder permanently. You will
> NOT be able to retrieve it from the Recycle Bin.
>

pegasus [mvp]
Posts: 59
Joined: 22 Mar 2009, 00:00

Re: How Do I Overcome "Access Denied" Message

Post by pegasus [mvp] »

"Abradaxis" <jsindler@career-objectives.com> wrote in message
news:uVBiB$dcKHA.1028@TK2MSFTNGP06.phx.gbl...
> Thank you. It worked like a charm.

Thanks for the feedback.

Post Reply