We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Windows Deployment Services - (File corrupt or missing \system32\hal.dll)

khptech
khptech asked
on
Medium Priority
1,510 Views
Last Modified: 2012-06-22
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:
DISKPART
SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY
EXIT
EXIT

Any help would be very appreciated.
Comment
Watch Question

CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Commented:
It could be that you're not setting your new partition "ACTIVE"
CERTIFIED EXPERT

Commented:
I re-read your post a little more carefully...  :)

Did you build your XP image from a fresh PC install?  If you formatted and used the entire disk in the process, you won't have a "hidden" partition.  
Are you using the WIM imaging format (IMAGEX) to capture the image?  If so, it is a file based imaging process and the diskpart script is run during the WINPE portion to clean, format the disk, set the C: drive as active before applying the WIM image.

Author

Commented:
I'm using the Windows Capture Utility, the GUI option. Maybe I need to re-capture it, tmassa99? If I use ImageX for capturing the WIM, you're saying it will do this already for when it captures it automatically, without me adding any scripts, etc?

Author

Commented:
The hidden partition is only visible to me when I used diskpart to view the partitions, and when I deleted it using diskpart, the imaged workstation that first showed the hal.dll error, booted into Windows XP fine, so it was apparent that I need to rid of the hidden partition?
CERTIFIED EXPERT

Commented:
I don't think you have to get rid of the hidden partition.  The disk clean part of the deployment because the capture utility does grab the WIM image of the reference computer.  
(When I tested WDS, I already had the captured WIM files)

This looks to be an excellent source to look at:
http://blog.augustoalvarez.com.ar/2010/04/21/deploying-windows-7-using-windows-deployment-services-wds-step-by-step-part-ii/
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.