You're a little unclear, but if the error is what I think you're saying, you
need to log in as the administrator account with your windows xp disk, then
use the recovery console to expand the hal.dll file from the command line.
assuming d is your cd-rom drive
expand d:\i386\rundll32.ex_ C:\Windows\system32\rundll32.exe
that may work...
another possible solution for a similar message:
Insert and boot from your WindowsXP CD.
At the first R=Repair option, press the R key
Press the number that corresponds to the correct location for the
installation of Windows you want to repair.
Typically this will be #1
Type bootcfg /list to show the current entries in the BOOT.INI file
Type bootcfg /rebuild to repair it
Take out the CD ROM and type exit
if you were able to more clearly state the error message, it might be
possible to make other suggestions...