Jump to content

Deleting a folder when permissions have been accidentally disinherited


Recommended Posts

Posted

Deleting folders off a network share.. All of them have deleted, save one, which, for some reason unknown to me, has instead decided that Shift-Delete means "Disinherit permissions". So now it's sat there and I can't get rid of it because I don't have permission to access it, even if I log on with my domain admin account to the server which holds the share (locally)

 

..... words fail me.

Posted
Deleting folders off a network share.. All of them have deleted, save one, which, for some reason unknown to me, has instead decided that Shift-Delete means "Disinherit permissions". So now it's sat there and I can't get rid of it because I don't have permission to access it, even if I log on with my domain admin account to the server which holds the share (locally)

 

..... words fail me.

 

Heard this problem before, I think you have to delete it via command line

Posted
Deleting folders off a network share.. All of them have deleted, save one, which, for some reason unknown to me, has instead decided that Shift-Delete means "Disinherit permissions". So now it's sat there and I can't get rid of it because I don't have permission to access it, even if I log on with my domain admin account to the server which holds the share (locally)

 

..... words fail me.

 

Logged into the server as domain admin, go to the ownership settings of the folder and replace them with your domain admin account. Then go back in and change the rest of the security permissions.

 

That's always resolved that issue for me in the past.

Posted
Logged into the server as domain admin, go to the ownership settings of the folder and replace them with your domain admin account. Then go back in and change the rest of the security permissions.

 

That's always resolved that issue for me in the past.

 

Don't have permission to change ownership. It doesn't even display a current owner. The folder appears to have disinherited permissions, thus nobody has permission to change it's permissions.

Posted
Deleting folders off a network share.. All of them have deleted, save one, which, for some reason unknown to me, has instead decided that Shift-Delete means "Disinherit permissions". So now it's sat there and I can't get rid of it because I don't have permission to access it, even if I log on with my domain admin account to the server which holds the share (locally)

 

..... words fail me.

 

Can't you take ownership, (Replace owner) edit permissions, and then delete?

Posted (edited)
Have you tried logging on to the server as local admin? This has worked for me in the past.

 

Yep.

 

Folder Access Denied

You need permission to perform this action

 

You need permission from the computer's administrator to make changes to this folder

Try Again / Cancel

 

Security tab says

You must have Read permissions to view the Properties of this object.

 

Click Advanced to continue.

 

If I click Advanced I'm met with

You must have Read permissions to view the Properties of this object.

 

Click Continue to attempt the operation with administrative permissions.

 

If I click Continue..

You do not have permission to view or edit this object's permission settings.

 

This is all as the local admin account.

Edited by Garacesh
Posted (edited)
as local admin or as the user administrator they can be different (uac)

 

Both. There are only three local accounts on the machine (net user confirms this), the account I'm using, Guest (disabled, obviously) and the AntiVirus service account.

 

@Garacesh

Can you take ownership/change owner at the top of the advance window? Just under the folder name?

@BKGarry Nope.

Unable to display current owner Change

 

Clicking Change has the same effect as clicking Continue, I get the same message (and Continue etc vanishes), as does the Owner line and all related text, so it just says Name: C:\path\to\folder

Edited by Garacesh
Posted
I am going to ask a stupid question, (only just started on this now so may have missed it) have you run a CHKDSK C: /F /R and restarted to force a full check disk and see if it (by some miracle) fixes any dodgy NTFS records
Posted
I am going to ask a stupid question, (only just started on this now so may have missed it) have you run a CHKDSK C: /F /R and restarted to force a full check disk and see if it (by some miracle) fixes any dodgy NTFS records

 

No, because I really don't want to take this server offline. It hosts Spiceworks amongst other things.

Posted
I did some googling, have you done a quick reboot? will it be a problem to do so?

That's on my to-do list, but not until closer to 4 o clock once people have started going home.

 

Yeah @Garacesh , come on. rule #1, have you tried turning it off and on again? haha

Shh :p

Posted
Or try changing permissions on the folder above the problem folder in the hope it will inherit the permissions?

 

Done that. Didn't work. I ticked the Replace all child object permissions with inheritable permissions from this object box, and it went through all the folders, got to the problematic one and said nah, not allowed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...