?
Solved

Temp files being written to C drive

Posted on 2008-10-21
7
Medium Priority
?
296 Views
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>

files.JPG
0
Comment
Question by:marrj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 6

Expert Comment

by:JimsZ
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
0
 
LVL 7

Expert Comment

by:Mikealcl
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.  
0
 
LVL 1

Author Comment

by:marrj
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.  
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 6

Expert Comment

by:JimsZ
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)
0
 
LVL 1

Author Comment

by:marrj
ID: 22770299
JimsZ,

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

Accepted Solution

by:
Mikealcl earned 1000 total points
ID: 22778053
Did you find anything?
0
 
LVL 1

Author Closing Comment

by:marrj
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.  
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Learn about cloud computing and its benefits for small business owners.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…
Suggested Courses

762 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