• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 927
  • Last Modified:

Windows TEMP folder is deleted / recreated once per week

Once per week, ALMOST always on Sat mornings between 8 - 10a, the RWW site goes down - a page comes up which says to contact the system administrator.  I have determined through LOTS of troubleshooting that the C:\Windows\Temp folder is either being replaced or modified such that the only permissions on it are "Administrator" user with less than full control.  The workaround so far has been to reset the permissions (SYSTEM FULL CONTROL, Network Service - READ/WRITE, Administrator - FULL CONTROL) and then, under an elevated command prompt, run the iisreset /restart command.
0
mlmslex
Asked:
mlmslex
  • 3
  • 2
1 Solution
 
perfectpcCommented:
Do you have some sort scheduled task running at this time?
0
 
huacatCommented:
Why the C:\Windows\Temp folder delete/recreate every week?
Please find which program delete/recreate it and try to solve it.
or
Please set rights of C:\Windows\Temp folder as below:
 User: Everyone
 Rights: Only this folder, deny "Delete".

or
You can use scheduled task to run a batch file at sat morning, batch file like below:
; batch content
cacls C:\windows\Temp /E /G administrator:F
iisreset /restart
0
 
mlmslexAuthor Commented:
I do not have any tasks (that i can locate) running at this task.  I've been trying to "find" which application is doing it.  Research shows this could be something IIS is doing as a result of a service / process permission not being correct.

I want to fix the problem rather than creating an automated "block" or "band-aid" to correct the problem when it occurs.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
huacatCommented:
The RWW site page do some schedule jobs at Sat? e.g. Backup, Compress database and so on?
If no schedule task to effect the folder C:\windows\temp, I'm afraid the website maybe effect the folder.

And we can use Process Monitor to check which program change the C:\windows\temp folder:
http://technet.microsoft.com/en-us/sysinternals/bb896645
0
 
mlmslexAuthor Commented:
Thank you, huacat - i will install the Process Monitor before Saturday and see which program / process affects the C:\Windows\Temp folder.
0
 
mlmslexAuthor Commented:
Not so much a solution as a good way to help me determine what was happening.
0

Featured Post

Technology Partners: 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!

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