0
So this is the deal. A couple of days ago I moved my profile folder C:\Documents and Settings\fmunoz
to a different drive D:\fmunoz
. Today, I created a directory in my desktop using the point-and-click method:
- Right-click on an empty space in the desktop
- Select
New
- Select
Folder
- Leave the default name
New Folder
and pressEnter
I tried to delete the folder using the point-and-click method:
- Right-click the
New Folder
directory - Select
Delete
After five seconds, I got the following message:
---------------------------
Error Deleting File or Folder
---------------------------
Cannot delete New Folder: Access is denied.
Make sure the disk is not full or write-protected
and that the file is not currently in use.
---------------------------
Initially I thought that there must be some sort of indexing services locking the directory so I got a list of open files using the TuneUp Process Manager tool but the New Folder
directory wasn't there.
I double-clicked My Computer, navigated to the desktop directory C:\Documents and Settings\fmunoz\Destkop
, tried to delete the New Folder
directory using the same point-and-click method described above and got exactly the same message at the same amount of time.
In the same window, I navigated to the actual location of the desktop directory D:\fmunoz\Desktop
, tried to delete the New Folder
directory and this time it worked.
I thought that this behavior was due to some special treatment that Windows gives to the desktop or the profile directories so I tried doing the same thing with a different set of directories:
- Created a folder
D:\dummy
- Created a junction
C:\dummy
pointing toD:\dummy
- Created a
New Folder
directory inC:\dummy
- Tried to delete
New Folder
fromC:\dummy
. Didn't work. - Tried to delete
New Folder
fromD:\dummy
. It worked.
I tried creating the folder in the actual directory rather than the junction directory:
- Created a
New Folder
directory inD:\dummy
- Tried to delete
New Folder
fromC:\dummy
. Didn't work. - Tried to delete
New Folder
fromD:\dummy
. It worked.
I also tried using the Delete
button instead of using the Delete
option of the context menu but it didn't work.
When using the Shift+Delete
sequence, it works. It also works by using the rd
command in the console, but in both cases the deleted directory doesn't goes to the Recycle Bin, which is my intention when using the Delete
context menu option or the Delete
button.
Try right clicking the file, select
properties
and then the security tab.Then selectedit
and make sure the account you're logged in with has "full" permissions. – Ben Plont – 2013-10-18T22:23:36.283Thanks @ben-plont, I tried checking the security settings as you suggested and they seemed to be OK. I also tried to give
Full Control
permissions to the groupEveryone
but it didn't work. – Fredy Muñoz – 2013-10-21T15:37:12.050