Folder Access Denied when trying to delete folder
I am using Windows 2008 server. I have a folder that I had setup as a share but now I want to delete it. I am logged in with a domain account that is a member of the local Administrators group. When I try to delete the folder I get a "Folder
Access Denied" message followed by "You need permission to perform this action. You require permission from Administrators to make changes to this folder".
Then I am presented the options of Try Again or Cancel. I select Try Again but again get the "Folder Access Denied" message. How can a member of the local Administrators group be denied access to deleting a folder that is on that same server
that I am logged into?
November 12th, 2010 10:42am
Just an update to this. I logged in as the local Administrator account and tried to delete the folder and again I got the "Folder Access Denied" error message when trying to delete the folder. Why would I not be able to delete a folder when logged
in as the administrator?
Again this is on Windows Server 2008 in a domain environment.
Free Windows Admin Tool Kit Click here and download it now
November 12th, 2010 11:00am
Hi
loginto domain administrator account and delete the folder
if you still cannot delete the folder take a ownership of folder and then delete it
thanksNaeem Bhatti MCITP EA, MCITP, MCTS Exchange 2007 MCSE security,MCSE AD, MCSE in Messaging, MCDST SBS2003 and SBS2008 Specialist
November 12th, 2010 11:12am
Hi,
I would like to suggest you run the following commands with elevated privilege.
takeown /f {Folder Path}
cacls { Folder Path} /G administrators:F
Note: please replace {Folder Path} with the real folder path.
After that, please try to delete the folder again.
Does it work?
Regards,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2010 3:00am
This is windows 2008 R2 being weird. If you restart the server, it would fix this problem.
I am still investigating why it happens as you don't always have the administrator p/w which is kind of a bottleneck but server restart should flush everything and you'll be able to delete any folder.
Hope it helps.
Regards,
Taimuor
asos.com
February 10th, 2011 4:31am