Here is solution for the delay of XP while shutting down.
Visit *www.aumha.org/win5/a/shtdwnxp.htm
See section "SHUTDOWN WORKS, BUT IT'S REAL SLOW"
Isolate the problem by clean-booting the system.
How to perform a clean boot in Windows XP:
*support.microsoft.com/?kbid=310353
How to perform advanced clean-boot troubleshooting in Windows XP:
*support.microsoft.com/?kbid=316434
Slow shutdown:
*windowsxp.mvps.org/slowshutdown.htm