After deleting a user profile directory in windows 2008 terminal server you get this message:
You have been logged on with a temporary profile.
You cannot access your files and files created in this profile will be deleted when you log off.
To fix this, log off and try logging on later.
Please see the event log for details or contant your system administrator.
It is not enough to delete just the c:\users\%username% folder, you need to delete the profile directory from c:\users\%username% and afterwords delete the associated Registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\%User_SID%”
The relevant key can be identified by checking the “ProfileImagePath” sub key for the local user directory path.