1) I cannot delete some folders which contain some files named NTUSER.DAT,NTUSER.INI which are derived from profiles files. I have deleted the relevant users but the above files insist not to be deleted with the following message: "Cannot delete ntuser.pol. Access is denied. The source file may be in use". How may I force this deletion?
2) I cannot delete some quota entries even if there are no files attached to this entry. How may I force this deletion?
Here is a script that may help.
Also, user quota entries cannot be deleted if a user still owns files or folders on the volume. Before the record can be deleted, all files owned by that user on the volume must either be deleted or moved to another volume, or ownership of the files and folders must be transferred to another user.
Additional Expert Help:
Be sure to check our Answer FAQ for more expert advice.
For faster answers, visit ITKnowledge Exchange.