Domain Admin can't delete or take ownership of file

Posted on 2006-06-06
Medium Priority
Last Modified: 2008-04-03

I was trying to delete some old home directories on the file server, but I have come across some folders with a single small hidden file (ntuser.pol) that won't go away.  

I can see it, but I cannot open it, much less delete it.  When I try to take ownership of the file, the procedure seems to work, but as soon as I try to apply permissions to the file so I can delete it, I am denied.

In the security tab, I can see that the SYSTEM account has full control, but when I log in as SYSTEM (ala psexec), I still can't delete the file (access denied).

how kill these files?

Question by:Marketing_Insists
LVL 48

Expert Comment

ID: 16847835
Hi Marketing_Insists,
don't delete that file

An archive file on client computers that is updated each time the Administrative Templates CSE sets a policy setting. As processing completes, an Ntuser.pol containing the history of applied registry based policies in the Group Policy managed policies tree is written to the root of the user’s profile containing user policy settings and to the “all users” profile containing computer policy settings.(%Allusersprofile%\ntuser.pol for computer policy and %userprofile%\ntuser.pol for user policy.)

Author Comment

ID: 16847888
Ah, but these are home directories of roaming users who have left the company.  the remaining .pol file is the only existing file after a otherwize effective rd /s /q jdoe.

It dosn't happend all the time, just one out of every 10 previous users have this lingering element.

LVL 48

Expert Comment

ID: 16847916

ah i see i see, you can try from safe mode

or try this app

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 51

Expert Comment

ID: 16848016
If Safe Mode doesn't work, then use the Recovery Console.


Accepted Solution

krais99 earned 1200 total points
ID: 16856415
When you say that you're taking ownership, are you simply adding your domain admin account to the security tab with full control, or are you going into Advanced->Owner and clicking on the admin account under Change owner to: ?

I've ran into this in the past and gotten around it by replacing owner on subcontainers and objects as well.


Author Comment

ID: 16862525
Bummer me, it was the sub-containers that were the issue

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

807 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