Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am partly managing a school which uses temporary local profiles. (NOT server-saved profiles). The computers are automatically getting restored regularly, but inbetween alot of temporary profiles gather on the computers, sometimes even completely filling up the hard drives, which turns to a real problem then.

How can I automatically delete the profile when a user logs out?

Edit:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DeleteRoamingCache does only remove those "server-saved" roaming profiles.
Also, deleting the profiles just on startup using delprof or such is a sub-optimal solution which I would rather not like to use. It should be removed just when logging out.

share|improve this question
add comment

1 Answer

You can make them Mandatory profiles. This should erase them after they log off.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.