Temp files being written to C drive

Posted on 2008-10-21
Last Modified: 2011-10-19
We have a terminal server that keeps getting 1KB files written to the C drive.  The server is one of two that we have load balanced and it is not happening on the other server.  Attached is a jpeg of what the files look like in the directory.  Below is what one of the files actually looks like.  Any ideas on where to look to figure out what is happening?  The file owners are all different.  Again, it isn't happening on the other server.  

The program looks to be Sun Power Campus which is used for student registration.

<?xml version="1.0" encoding="UTF-8" standalone="no"?><request><register term="c_term" year="c_year" regtype="TRAD" session="c_session" __pbband="group" peoplecodeid="c_peoplecodeid" transactionid=""><schedule><current provided="Y"><course status="status" credits="coursecredits" enddate="~tstring( date( enddate ),  &quot;mm/dd/yyyy&quot; )" eventid="eventid" section="section" session="session" subtype="subtype" __pbband="detail" startdate="~tstring( date(   startdate ),  &quot;mm/dd/yyyy&quot; )" credittype="credittype" organization="organizationid"/></current><adds/><drops/></schedule><studentinfo provided="N"/><overrides/></register></request>

Question by:marrj
  • 3
  • 2
  • 2

Expert Comment

ID: 22769713
Not sure what is causing it but you could write a little batch file to remove the files and run it as a scheduled task although something like the file below would delete all files that begin with S in the root of the C:\ drive

create text doc

put below into text document

del c:\s*

rename text document "CleanC.bat"
set to run as scheduled task once every 20 min

*Verify that you have no files/folders you would like to keep that start with the letter S*

I would also check your "temp" path

Right click "My Computer"
Click "Advanced" tab
Click "Environment Variables" tab
at the top you will see
TEMP - see what path is
TMP - see what path is

Expert Comment

ID: 22769721
If the owners are different then perhaps you should use should use something like regmon to try and find the setting that is causing it.  

If you know the program well maybe compare the registry keys from your other load balanced server (for whatever program this is ) with the one thats having the problem, or even import over the keys after saving a backup.  

I'm assuming the settings is registry based since it effects multiple users.  

Author Comment

ID: 22769763
I would assume it is registry based.  I don't know much about the application other than on the term servers everyone runs a specific instance of it.

I'll see if I can compare the registry settings between the two servers.

Thanks for the info on removing the files via a batch file.  
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Expert Comment

ID: 22769824
Are these users using a mandatory profile on the Terminal Server?  If so, they could either "not have access" to write to the location in the profile, or the profile could be pointing to a location (such as a certain user account in which they do not have permissions)

Author Comment

ID: 22770299

The users have local profiles created when they login but data written in power campus gets written to an sql database.

Accepted Solution

Mikealcl earned 250 total points
ID: 22778053
Did you find anything?

Author Closing Comment

ID: 31508362
It looks as if the problems were with the program Power Campus and something called XML validation errors.  I had to users write permission to the C drive of the terminal server.  

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Event ID: 5719 / Source: NETLOGON 9 149
Windows 2003 domain controller crashed BDC is 2008 server 4 85
Determine if SQL is installed in Server 2008 R2 4 97
server crashed 2 48
Learn about cloud computing and its benefits for small business owners.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

820 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