Solved

Server 2003, unable to delete folder

Posted on 2011-03-17
8
341 Views
Last Modified: 2012-05-11
I have a folder that I'm not able to delete. The customer has a person who's responsible for the folders at this location, I'm pretty sure that he by mistake removed all groups from having access when removing inheritance.

When I attempt to open security settings for the folder I get the following error: "You do not have permission to view or edit the current permission settings for FOLDERNAME, but you can change the auditing settings." (Note: it does NOT say "take ownership or change auditing settings".)

If opening advanced options I do not see "Owner", it's not there, hence I can not take owership of the folder.

Attempting to access folder as a domain admin having "Full control" NTFS permission on the parent folder. (Checked effective permissions on parent folder, no issues.)

Attempted to reset ACL for the folder using cacls/icacls - access denied. Attempted to add myself as owner using mentioned comman line tools - access denied. Tested unlocker.exe as it's already installed on the server - access denied.

In case of relevance; the folder is located on a share belonging to a cluster resource that had been moved before I attempted to fix/delete the folder. Attempted to move resource before trying to delete folder - didn't change anything. Data physically stored on mirrored SAN disks.

As I have performed a restore of the data from the folder from before it were corrupted I have no need to "save" the folder, I just want to delete it.
0
Comment
Question by:Intrepidity
  • 5
  • 2
8 Comments
 
LVL 3

Expert Comment

by:CombatGold1
ID: 35156615
Ah, I've had this problem too. I used the "takeown" command to give myself ownership of the folder so I could then change permissions on it (as I didn't want to delete it, but you have the same cause).

Open the command prompt and use this command to set the ownership to the Administrators group:
takeown /F folder /A /R
The folder can be a \\network\shared\folder, or you can use /S computer if you want to connect to a remote computer and use the command locally on that.

If you don't use /A, the owner will be you rather than the Administrators group.

/U and /P can be used to specify a username and password if you need to.
0
 

Author Comment

by:Intrepidity
ID: 35157130
Sorry, it's just the same, "Access is denied".
0
 
LVL 47

Expert Comment

by:dbrunton
ID: 35158298
Boot from a Linux Live CD such as Knoppix http://www.knoppix.org/ or Ubuntu http://www.ubuntu.com/

Navigate to the offending folder and delete.
0
 

Author Comment

by:Intrepidity
ID: 35159268
Forgot to mention that due to the data being available through a cluster resource and stored on SAN using WinPE, safe mode, Linux live CD's or similar is not an option.

Also forgot to mention that I did use checkdisk without finding any issues on the relevant volume.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 3

Expert Comment

by:CombatGold1
ID: 35160213
Are you able to execute the "takeown" command as the built-in Administrator account rather than just your own user account that has administrator access? The built-in account is for the most part unrestricted.
0
 

Author Comment

by:Intrepidity
ID: 35198993
Issue isn't linked to lack of permissions, domain admin account should be sufficient. No change using local Administrator account.

Kind of annoying how something as simple as deleting a folder can get this tricky.
0
 

Accepted Solution

by:
Intrepidity earned 0 total points
ID: 35756285
Data has been migrated and server taken out of production due to lack of capacity. Issue does no longer exist.
0
 

Author Closing Comment

by:Intrepidity
ID: 35783779
As issue is no longer relevant question is closed.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now