In order for LoadUserProfile to work on Windows XP you need to add the following permissions to the ASPNET account:
Act as part of the operating system Backup files and directories Restore files and directories You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.