Tried to expand hal.dll from system CD to recover system and get "unable to create file hal.dll"

Posted on 2005-04-16
Last Modified: 2008-01-09
Title says it all...

I am typing

expand i:\i386\hal.dl_ c:\windows\system32\hal.dll

I tried copying the file off the CD to the system32 directory and that worked.  I then tried expanding that copy to the system32 directory and I got a "the file could bot be expanded" error.

Any ideas?

Question by:sfc123
    LVL 1

    Expert Comment


    c:\>md temp_hal
    c:\>cd temp_hal
    c:\temp_hal\> expand i:\i386\hal.dl_ c:\temp\hal.dll
    c:\temp_hal\> cd \windows\system
    c:\windows\system\> copy hal.dll hal.bak
    c:\windows\system\> delete hal.dll
    c:\windows\system\> copy c:\temp_hal\hal.dll

    if you can't delete hal.dll, the file is probably in use. try to reboot into recovery mode and do it again.



    Author Comment

    I am getting "access denied" when trying to perform step 3

    Author Comment

    I figured out that I wasn't punching in the windows directory first so \windows\temp_hal\

    That got me past the access denied but I'm back to "unable to create file hal.dll"
    LVL 1

    Accepted Solution

    err that should be expand i:\i386\hal.dl_ c:\temp_hal\hal.dll

    did you do that?

    sorry bout the mixup :|

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    iTunes uses a third party component from  GEAR Software ( for accessing the CD/DVD drives in Windows computers.  This component is registered as a filter driver for all CD/DVD drives.  Sometimes the iTunes installation or…
    Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now