Temp files created in every folder in Windows Server 2003

active-directorynetwork-sharewindows-server-2003

So we have some folders which are shared over the AD Domain (Windows Server 2003). It was just noticed that in 2 of those folders (which contain only Excel and Word files), whenever a file is opened and closed, the temp file which was opened corresponding to that file still remains. Apparently, this's been going on for the past couple of years (which has led to an insane amount of temp files in each folder/subfolder under those shared folders). These shared folders are under the D:drive and not C: drive.

There is only one group (containing 2 users) who access the said folders. I cannot understand if this has to do with the settings/permissions for the User/Group/Individual Client machine. For now, I have manually deleted all the temp files from each folder/subfolder. While this is not critical at the moment, I'd still like to clear this up. Also, it takes an additional fraction of a second to open folders that contains more than 10,000 temp files.

Thanks in advance.

Best Answer

It's almost certainly a permissions issue, do your users have "Modify" / "Delete" rights? Also, Process Monitor is great for issues like this as it should let you see what process is handling the file and with a bit of luck, why it can't remove it.

It could also be related to your Share Permissions, if applicable. Remember, these are different and mutually exclusive to your other permissions.

Your best way forward is to get yourself a test account, replicate the issue, and then try giving that account full control over the directory. If the issue persists, then you can probably rule out permissions and look elsewhere.