How Do I Overcome "Access Denied" Message

A

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

Shenan Stanley

Abradaxis said:
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/microsoft.public.windowsupdate/browse_thread/thread/446728a2763e4546/

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

Pegasus [MVP]

Abradaxis said:
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.
 
A

Abradaxis

Thank you. It worked like a charm.
Pegasus said:
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.
 

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

Ask a Question

Top