If it hangs up with the message "saving your settings" and the Event Viewer reports that XP had trouble unloaded a user profile, you can try this download from Microsoft: User Hive Profile Cleanup Service
Responses to this message: