I'm trying to upload a xp image to WDS, and its getting created properly, but after I install the image on the exact same hardware, i get "File corrupt or missing \system32\hal.dll". I've been reading with alot of people trying to do this same thing, and the solution solution has been to delete the hidden partition thats like 32 mb in size, then it boots fine.
My problem is, I'm unsure if I'm doing this on the WDS server, or the XP image itself, and I'd like to automate this when our help desk staff pullls down the image. I've researched and found that what you're supposed to do is call a Diskpart script that deletes the hidden partition. Do I use imagex to do this? is these files being created on the XP image or in the system32 directory of WDS?
This is a similar script I've seen referenced all over the web:
SELECT DISK 0
CREATE PARTITION PRIMARY
Any help would be very appreciated.