Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Temp folder is being deleted

Status
Not open for further replies.

lsysamc

MIS
Nov 19, 2003
12
US
The temp folder on all of my Citrix servers is being deleted and this prevents people from logging in. I tried to put a read only file in there to stop it but that doesnt fix. has anyone ever expierenced this before?

 
We have tried to set NTFS permissions on this folder. We have even put a dummy file with read only access so the folder couldnt be deleted but it still gets deleted. When this happens the IMA service fails and cannot be restarted.
 
Which "Exact" folder are you referring to?

C:\Temp
C:\Windows\Temp
C:\Documents and Settings\%username%\local settings\temp

What error is generated?

Each user has their own temp folder which is part of their user profile and is a user environment variable, i.e.
C:\Documents and Settings\%username%\local settings\temp

Each system has ONE temp path which is a system environment variable, i.e. C:\Windows\Temp

Patrick Rouse
Microsoft MVP - Terminal Server
 
Thanks for getting back with me.

we have remapped our drive letters to I: and J:. The folder that is deleted is the I:/winnt/temp. I will include the event logs that pertain to this below.

EVENT ID 3615:The Citrix MetaFrame XP Server failed to connect to the Data Store. Error - IMA_RESULT_FAILURE An unknown failure occurred while connecting to the database.

Event ID 3609:Failed to load plugin ImaPsSs.dll with error IMA_RESULT_FAILURE ; Failed to load plugin ImaRuntimeSS.dll with error IMA_RESULT_FAILURE

EVENT ID 3601: Failed to load initial plugins with error IMA_RESULT_FAILURE

Event ID 7024: The Independent Management Architecture service terminated with service-specific error 2147483649.

This is in reverse order in the event view. The last one is the newest event. This series of event repeats itself each time this occures.

Please advise...
Andrew


 
On a MetaFrame XP FR3 server I'm looking at, this folder is set as:

System & Administrators - Full
Users - Read & Execute

Patrick Rouse
Microsoft MVP - Terminal Server
 
WE have always had users group with full control for this folder. They seemed to need it for Citrix to function properly.
 
The problem is Full Control means users can delete this folder, all of its' contents and assign permissions to other users.

I'd suggest that you setup a test machine (from scratch) and try to recreate your problem, or set the permissions to what I previously stated, then run filemon & regmon to see if this is actually the problem.



Patrick Rouse
Microsoft MVP - Terminal Server
 
I am un-familiar with filemon and regmon. Will they tell me when and who deleted the temp directory?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top