Solved

Server 2003, unable to delete folder

Posted on 2011-03-17
8
347 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 49

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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

691 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