A mandatory profile does not save any changes that a user may make during their logon session. When the user logs off, the profile reverts to the configuration that the administrator configured when the profile was created.
create a batch file that deletes the local folder in documents and settings. make use of the %username% environmental variable. open gpedit.msc, open user config, open scripts, open logoff, add the batch file.