Questions

Cannot Delete a file

Tags:
+
0 Votes
Locked

Cannot Delete a file

CookieOrc
I am logged in as admin on my machine and I still do not have privilages to delete a file... Help?
  • +
    0 Votes
    csheppard

    go to security (make sure admin is set in here and has full control) also make sure that in the drive security of where the file is, the admin has full control of that too.


    on the file though, go to security and then click on advanced. make the administrator owner of that file and click ok.


    then delete the file

    +
    0 Votes
    CookieOrc

    I would love to do that... do not have permissions to even view that tab... I am loged in as admin...

    I tried actualy going in the upper level folder and change its permissions and have that trickle down to that file and the permissions wouldnt apply lol...

    +
    0 Votes
    ThumbsUp2

    You said "do not have permissions to even view that tab"..... so, how do you know the file that you want to delete is even in there if you can't view it?

    So, what's the file that you want to delete? Is it in use by the system? If so, it won't let you delete it.

    +
    0 Votes

    tab

    CookieOrc

    There is a security tab... But when i click on the tab it says i do not have permissions to view whats in the permissions tab...

    +
    0 Votes
    csheppard

    You have administrative rights but do not have permissions to delete a file...and you're saying you can't view the file either right?

    +
    0 Votes
    CookieOrc

    I am not allowed to open the file at all to view its contents. I also cannot view the security tab. This is on my w2k3 server too.

    +
    0 Votes
    CookieOrc

    I actually used a program unlocker to delete the file and it said that nothing was locking the, and then gave me the error that it could not delete it...

    Do you think it is safe to boot from a linux disk to delete it? It is on my server and i do not know if most distobutions have the right scsi drivers...

    +
    0 Votes
    csheppard

    u can definately use a bootable linux cd and delete the file.


    just make sure its not a system file.


    but before u do that, on the security tab, even though its telling you that you don't have permissions..


    try going to advanced, and add the administrator as the owner and hit okay.


    close out and reopen it. then in the security, add the administrator and give it full control.


    just try it.

    +
    0 Votes
    CookieOrc

    The advanced tab was still completely locked down... could not change a single thing. When I went to view the owner tab under the advanced option. Then under the Current Owner box it said: "Unable display current owner" and then it showed my admin account and group...

    +
    0 Votes
    csheppard

    part of a domain?


    are u a local admin, domain admin?


    tell me ur setup

    +
    0 Votes
    CookieOrc

    This is a small shop with 10 users so we have a single server...

    The local admin is also in the Domain admin group...

    One quick question... Under the "members of:" tab I am also set as a domain user... That is set as my primary group... Could that be causing problems? shouldnt it be domain or local admin as my primary group?

    +
    0 Votes
    csheppard

    a group policy is in effect that affecting your permissions.


    if you're logged on locally and using the admin account, log off and log on the domain with the admin account.


    then try it.

    +
    0 Votes
    CookieOrc

    Created brand new domain admin and still was not able to delete or view permissions...

    +
    0 Votes
    CookieOrc

    I will try using knoppix. I just hate to because it is a production line server... I am able to use linux I just do not know how there server is going to take it...

    The file is what I was trying to set up for some roaming profiles. I never connected an account to this file though.. That is what is confusing me. It should be empty.

    +
    0 Votes
    vrraghuram

    Can be suspected the below mentioned things.

    1. Please check the security tab in properties of the specified files and some times we need to take owner ship before deleting some files like this.

    2. Please check any others(users or system process) are using those files. If you find that please stop particular process.

    +
    0 Votes
    CookieOrc

    I cannot take permissions as local, domain or enterprise admin... Please read previous post.

    I have rebooted the server in safe mode without networking and am still getin an access denied...

    +
    0 Votes
    niraj.desani

    Are you create a domain and now create only two user one of power user and second User User and than after not login in server but login in domain means other system try out both user and
    check are change the security permission of that folder and now not Right's are inherited that why problem create but try out one time

    +
    0 Votes
    CookieOrc

    I have tried to change the permissions for the file it self and having the file inherit the permissions. The file is empty and if I cannot access it then it truly does not matter. So I will just let the little guy be free...

    +
    0 Votes
    niraj.desani

    " This problem was SBS 2003 R2 in this server administrator nothing administration "
    I was say that not change the permission of that folder but check who was owner, when you find owner. Login in network (Login in Domain Control)with this user other wise create a user or power user any templet user not administrator and access this folder Check it, One thing know that with out owner not to change the permissions of any folder or file and not inherit it only seem that but in description <not inherit> <folder, Sub folder,File > look like that,with out right's
    folder all file and folder are seem empty. if you don't mind you can send me a screen shot of your permission and owner in my mail id.

    +
    0 Votes
    CookieOrc

    In the last post I have stated that I cannot even view the permissions or the owner...
    I hope I am not sounding mean If you would like me to send screenshots I do not mind at all... I just need a way to contact you :)

    +
    0 Votes
    bart777

    Have you tried anything like ERD commander or other such tool that will boot in another OS?

    I realize that this might be difficult since you may not be able to do this during a normal day but it might be worth a try.

    +
    0 Votes
    CookieOrc

    I was thinking about Knoppix... Or something simple like System rescue. This is going to sound stupid, but I do not want to put the only production line server. The one and only one that the entire business depends on through something like that.

    That and the fact I do not know if any of the distrobutions have the right SCSI drives...

    +
    0 Votes
    bart777

    That being the case I'd just note it and move on. Leave it right where it is and worry about it when you can bring the server down to replace it.

    +
    0 Votes
    jforster

    If it is set to receive from parent, how far down the tree is it? You have the admins and users at the initial level of the server share then as you drill down the tree of folders does anybody outside of the initial users show up with admin rights? If so, delete that user and try to open again. I just finished chasing a quirk like this where someone had set an extra user as administrator three levels down as computername$ in addition to the username, so when the user saved/created a file it would be accessible until the server realized the registered owner did not exist in the inherited permissions.

  • +
    0 Votes
    csheppard

    go to security (make sure admin is set in here and has full control) also make sure that in the drive security of where the file is, the admin has full control of that too.


    on the file though, go to security and then click on advanced. make the administrator owner of that file and click ok.


    then delete the file

    +
    0 Votes
    CookieOrc

    I would love to do that... do not have permissions to even view that tab... I am loged in as admin...

    I tried actualy going in the upper level folder and change its permissions and have that trickle down to that file and the permissions wouldnt apply lol...

    +
    0 Votes
    ThumbsUp2

    You said "do not have permissions to even view that tab"..... so, how do you know the file that you want to delete is even in there if you can't view it?

    So, what's the file that you want to delete? Is it in use by the system? If so, it won't let you delete it.

    +
    0 Votes

    tab

    CookieOrc

    There is a security tab... But when i click on the tab it says i do not have permissions to view whats in the permissions tab...

    +
    0 Votes
    csheppard

    You have administrative rights but do not have permissions to delete a file...and you're saying you can't view the file either right?

    +
    0 Votes
    CookieOrc

    I am not allowed to open the file at all to view its contents. I also cannot view the security tab. This is on my w2k3 server too.

    +
    0 Votes
    CookieOrc

    I actually used a program unlocker to delete the file and it said that nothing was locking the, and then gave me the error that it could not delete it...

    Do you think it is safe to boot from a linux disk to delete it? It is on my server and i do not know if most distobutions have the right scsi drivers...

    +
    0 Votes
    csheppard

    u can definately use a bootable linux cd and delete the file.


    just make sure its not a system file.


    but before u do that, on the security tab, even though its telling you that you don't have permissions..


    try going to advanced, and add the administrator as the owner and hit okay.


    close out and reopen it. then in the security, add the administrator and give it full control.


    just try it.

    +
    0 Votes
    CookieOrc

    The advanced tab was still completely locked down... could not change a single thing. When I went to view the owner tab under the advanced option. Then under the Current Owner box it said: "Unable display current owner" and then it showed my admin account and group...

    +
    0 Votes
    csheppard

    part of a domain?


    are u a local admin, domain admin?


    tell me ur setup

    +
    0 Votes
    CookieOrc

    This is a small shop with 10 users so we have a single server...

    The local admin is also in the Domain admin group...

    One quick question... Under the "members of:" tab I am also set as a domain user... That is set as my primary group... Could that be causing problems? shouldnt it be domain or local admin as my primary group?

    +
    0 Votes
    csheppard

    a group policy is in effect that affecting your permissions.


    if you're logged on locally and using the admin account, log off and log on the domain with the admin account.


    then try it.

    +
    0 Votes
    CookieOrc

    Created brand new domain admin and still was not able to delete or view permissions...

    +
    0 Votes
    CookieOrc

    I will try using knoppix. I just hate to because it is a production line server... I am able to use linux I just do not know how there server is going to take it...

    The file is what I was trying to set up for some roaming profiles. I never connected an account to this file though.. That is what is confusing me. It should be empty.

    +
    0 Votes
    vrraghuram

    Can be suspected the below mentioned things.

    1. Please check the security tab in properties of the specified files and some times we need to take owner ship before deleting some files like this.

    2. Please check any others(users or system process) are using those files. If you find that please stop particular process.

    +
    0 Votes
    CookieOrc

    I cannot take permissions as local, domain or enterprise admin... Please read previous post.

    I have rebooted the server in safe mode without networking and am still getin an access denied...

    +
    0 Votes
    niraj.desani

    Are you create a domain and now create only two user one of power user and second User User and than after not login in server but login in domain means other system try out both user and
    check are change the security permission of that folder and now not Right's are inherited that why problem create but try out one time

    +
    0 Votes
    CookieOrc

    I have tried to change the permissions for the file it self and having the file inherit the permissions. The file is empty and if I cannot access it then it truly does not matter. So I will just let the little guy be free...

    +
    0 Votes
    niraj.desani

    " This problem was SBS 2003 R2 in this server administrator nothing administration "
    I was say that not change the permission of that folder but check who was owner, when you find owner. Login in network (Login in Domain Control)with this user other wise create a user or power user any templet user not administrator and access this folder Check it, One thing know that with out owner not to change the permissions of any folder or file and not inherit it only seem that but in description <not inherit> <folder, Sub folder,File > look like that,with out right's
    folder all file and folder are seem empty. if you don't mind you can send me a screen shot of your permission and owner in my mail id.

    +
    0 Votes
    CookieOrc

    In the last post I have stated that I cannot even view the permissions or the owner...
    I hope I am not sounding mean If you would like me to send screenshots I do not mind at all... I just need a way to contact you :)

    +
    0 Votes
    bart777

    Have you tried anything like ERD commander or other such tool that will boot in another OS?

    I realize that this might be difficult since you may not be able to do this during a normal day but it might be worth a try.

    +
    0 Votes
    CookieOrc

    I was thinking about Knoppix... Or something simple like System rescue. This is going to sound stupid, but I do not want to put the only production line server. The one and only one that the entire business depends on through something like that.

    That and the fact I do not know if any of the distrobutions have the right SCSI drives...

    +
    0 Votes
    bart777

    That being the case I'd just note it and move on. Leave it right where it is and worry about it when you can bring the server down to replace it.

    +
    0 Votes
    jforster

    If it is set to receive from parent, how far down the tree is it? You have the admins and users at the initial level of the server share then as you drill down the tree of folders does anybody outside of the initial users show up with admin rights? If so, delete that user and try to open again. I just finished chasing a quirk like this where someone had set an extra user as administrator three levels down as computername$ in addition to the username, so when the user saved/created a file it would be accessible until the server realized the registered owner did not exist in the inherited permissions.