Maybe theres a hardware device turned on and its stopping XP from turning off? Like a printer with que'd documents or something? maybe its a RAM problem, and its just worn out and slows down on Shutdown, how much ram you got?/what type?, try unplugging some hardware..