There was some corrupt or missing hal.dll issue with XP desktop. I tried many things to solve this issue but nothing worked. So I had to load XP using its disk on a different drive F: and copied the missing files to C: drive. After that I ran the repair option from the same XP disk on the C: drive windows installation. The repair completed and Windows started with displaying the login page, but when I was trying to login then it told me that I need to activate the software. So I activated it over the phone and it seems like it had worked but when logging in using user account screen it says "loading personal settings" and screen flashes and then screen says "saving personal settings" and I am back to the XP login screen again. Even in safe mode I am getting the same problem. So does anyone know how to solve this problem? Thanks.