Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

Temp files are lingering when MS office 2007 programs close.

We are running Windows server 2003 and XP on our workstations.

On our share drive we are having the an issue that when any MS office program is opened a temp file is created and normally it will go away when the program is closed but they are not. There are quite a few temp files building up in our share drive.

Im really not even sure where to begin with this

Thanks in advance for the help
0
Josef Al-Chacar
Asked:
Josef Al-Chacar
  • 6
  • 6
1 Solution
 
Bill BachPresidentCommented:
Normally, MS Office will delete these files.  My guess is that you have an anti-virus solution that is attempting to scan these files, and it has the files open when the DELETE operation is attempted, which then causes it to fail.

Try excluding the files from your AV solution & see if that helps.
0
 
Bill BachPresidentCommented:
If that doesn't help, then running Process Monitor on a workstation and monitoring the file system access to that folder may yield some clues, too.
0
 
Josef Al-ChacarAuthor Commented:
That could be it but there are hundreds of temp files.  I can't just exclude MS office files from our scans.  It's on a share drive for over five thousand users. This would be a huge vulnerability.

On one of the folders with the issue the owner was nothing but an SID which usually means that the user that created the folder is deleted. Could this be and issue. I changed the owner to administrator.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
Bill BachPresidentCommented:
Agreed.  However, you should be able to exclude JUST the temp files, based on the naming convention.

It could be that the users don't have rights to delete files, either, so be sure to check rights for each user that is able to access the folder.
0
 
Josef Al-ChacarAuthor Commented:
Okay yeah, I should be able to do that. That would make sense then if the file is being scanned then it won't delete because it is active. I've seen similar issues.

That's exactly what I was thinking with the ownership. That users couldn't delete the files. I picked a particular folder on the share drive and deleted all the .tmp files and changed the owner to administrator. I will run a search tomorrow and see the how many .tmp files are there... If any. If there are then i will exclude *.tmp files from the AV scans.
0
 
Josef Al-ChacarAuthor Commented:
Apparently this is a common issue with MS office 2007 and 2010. They are saying that is users that do not have modify permissions that get this issue. I looked at the ownership of the .tmp files and they are being created by such users. I'm not sure id there is a patch for this. I wonder if there is a way around it because i really only want to give certain users modify permissions.

This is where is found that.
http://answers.microsoft.com/en-us/office/forum/office_2007-excel/office-2007-creates-xxxxxxxxtmp-files-in-same/eb7ee34d-3a02-4fe7-a1f3-9a208439d84a
0
 
Bill BachPresidentCommented:
According to this Microsoft KB article, the simple answer is "No way, Jose"!
    http://support.microsoft.com/kb/211632
0
 
Josef Al-ChacarAuthor Commented:
I don't see where it says that this isn't possible. Maybe i am misreading it lol
0
 
Bill BachPresidentCommented:
When and where Word creates temporary files
The location where Word creates the temporary files is hardcoded information and cannot be edited. Therefore, it is important that NTFS permissions for the user are set accordingly. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
277867 Windows NTFS permissions are required when you run Word on any NTFS partition that has Windows 2000, Windows XP Professional, Windows Server 2003, or Windows Vista installed
In general, Word creates temporary files for the following types of data.
0
 
Josef Al-ChacarAuthor Commented:
Oh wow im dumb thanks i will let them know that.
0
 
Josef Al-ChacarAuthor Commented:
This may be a stupid question. Is there any way to give "ordinary" users permission to only delete .tmp files? I have never heard of this but it would be awesome if there was a way
0
 
Bill BachPresidentCommented:
Not that I've ever seen. This was one area which Netware was far superior -- you could easily grant files by file.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now