1. You may have noticed things look a little different around here - we've switched to a new platform (XenForo) and have some new forum styles and features. This how-to guide will help you find your way around. If you find anything that looks strange, post it in this thread.

win 7 boot manager error, msahci.sys was missing, now in system32 folder but now bsod

Discussion in 'Windows OS and Software' started by zakazak, Aug 13, 2013.

  1. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    Alright i tried to to find a fitting title but i guess i still failed.

    Anyway here is my problem (written from my phone).

    I am using win 7 prof x64 on sp1. My laptop was freezing so i did a hard-reset with the power button. When booting in automatically started the windows repair tool. After some time i figured out that:

    Bootrrc /scanos didnt find any installed OS.

    So i rebuilt the bcdfile and windows was dedected. However, when booting i got a windows boot manager error:

    C:/windows/system32/drivers/msahci.sys

    I booted the windows repair mode again, ran cmd and found out that msahci.sys didnt exist in my system32/drivers folder. So i copied it from my win7 prof x64 cd (not sp1) into my c:/windows/system32/drivers folder.

    I also fixrd my mbr with bootrec fixmbr and fixboot.

    I reboot and finally see the windows 7 logo animating...until it freezes and gives me this bsod:

    stop: 0x00000007B (0xffffff8800009a97e8, 0xfffffffc0000034

    So no booting either...i then decided to delete msahci.sys from my system32/drivers folder:

    Windows boot manager error
    File: /windows/system32/drivers/msahci.sys
    Status: 0xc000000f

    Windows failed to load because sys file is missing or corrupt.

    Ofcourse i tried the automatic startup repair. No help. Safe mode doesnt work either.

    Any ideas? I believe msahci.sys is ofcourse missing but why doesnt it work when i copy it to my windows?

    And dont ask me why its missing..i have no idea :S

    @edit: figured out that the msahci.sys on my htpc (sp1) is different (bigger filesize) than on my non-sp1 windows 7 cd. Maybe this causes the bsod since i need the sp2 msahci.sys...but how do i get it on my laptop when i cant boot? Bootable usb stick?
     
  2. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    On any W7 system you can create a System Repair disk. (from Backup and Restore feature)

    You can also use Rufus to make a bootable USB drive: Rufus - Create bootable USB drives the easy way


    --------------

    Addendum: There is no W7 SP2. Use the AHCI driver for the bit version of Windows you have installed.
     
  3. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    And it will work on my laptop (if i create it on my htpc)? And not delete any user data on my laptop?

    Thanks
     
  4. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    Ok, I don't know what HTPC is?

    Edit:

    Ok, Home theater. As long as you can execute a file. I don't know if it needs a mainstream OS or not to get loaded.
    It's very simple program with lots of ability.

    If not just borrow/rent a PC and create a W7 installer on the USB stick.
     
  5. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    Home theatre pc..basically another win7 prof x64 sp1 computer
     
  6. tijo

    tijo Sacred Blame Super Moderator

    Messages:
    9,260
    Likes Received:
    525
    Trophy Points:
    281
    You could make a bootable Linux distro using unetbootin (pretty easy actually). Personally, I would just recover the user files and reinstall Windows. It sounds like something got corrupted and it might not just be the file that is missing, but registry entries, etc. Better be safe than sorry and reinstall I say.
     
  7. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    Yeah figured that out - Bing'd it. It should work on the HTPC or find alternate.

    I'm looking through my system, I'll get back to you in just a minute.

    Tijo - I think Rufus does the same thing. Some seem to like it better.

    I agree with the sentiment to reinstall windows. This doesn't look good.
     
  8. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    did u mean to create a recovery disk (repair disk) or a system image ? The "windows repair tool" only offers the option to looks for a system image.. but i think thats not what i want from a different pc ?

    @tijo: I think a recent uninstall.bat deleted the system files.. if i get them restored i might be fine.

    @€dit: I just figured out that the repair disc is the same thing i meant with "Startup repair tool" which is in a 100mb partition of my hdd. so this wasnt much of a help :p I guess i try booting with a live-cd, then copy the missing system files via network from my htpc to my c: drive.

    @edit2: the repair disc from my htpc had the new msahci.sys (atleast i think so since the repair disc was built from my htpc). But still i get a bsod after copying the msahci.sys from the htpc-repair-disk...
     
  9. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    Oh just options I threw out there for you too choose from - seems you're pretty comfortable with doing this just don't have available PC.

    Advanced options may work if the System Reserved partition is there. (F8) repeatedly on bootup.
    Don't think you can create a System repair USB from Windows Backup/Restore so you'll need the alternatives handy.

    Since I used F6 method for IRST drivers I can't find any thing related to AHCI files, dunno. Something I don't really ever do.

    Ok, found the AHCI Drivers, stupid search rules.

    msahci.sys 30.3 kb (11/20/2010)

    Good luck with it. Let us know.
     
  10. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    so i tried booting with a live cd (Ultimate Boot CD Win) and also tried inserting the windows xp sp2 disk just 4 trying... both ended up with the same bsod error that I get with my windows 7 booting:

    stop: 0x00000007B (0xffffff8800009a97e8, 0xfffffffc0000034

    Maybe a hardware fault and thats why some files in my system32 are also missing?

    I just come back from my traveling to Miami (with notebook).. but i would be very disappointed by Clevo/Malibal if a backpack traveling (airport to hotel to airport) would damaged the laptop that easily.
     
  11. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    Use Linux distro as Tijo suggested. Play it safe, Boot from that and then get your files backed up. Move forward from there.
     
  12. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    Use the unetbootin since it'll go get the image you'll want/need: UNetbootin - Homepage and Downloads

    Rufus makes the Windows UEFI/GPT setup easier.

    Ha, Tijo's right again.
     
  13. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    Well, i am now online with ubuntu live cd. I did my backup and will now try to move all the missing files in my szstem32 and syswow64 folder from my htpc to my laptop.

    I also found the .bat file which might have caused me the troubles

    It was located in c\androidtoolkit\ ... but I right clicked it and ran it was Admin.. which might have started it in C\Windows\System32 ? Although the .bat file shouldnt delete any .sys files.
     
  14. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    nope... adding the missing driver files to my system32/drivers folder causes the same bsod. I guess I have to format.... :/
     
  15. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    rd = remove directory

    Redundant, as you probably already know this, but if it somehow ran in System32 - uh oh.

    A-Z List

    Did you have System Protection enabled by chance?
     
  16. zakazak

    zakazak www.whymacsucks.com

    Messages:
    1,220
    Likes Received:
    20
    Trophy Points:
    56
    Hmm I have no idea what it deleted or if it deleted smth.

    In any case, i formated and I am working fine on a fresh Windows 7 now.

    Thanks for the help though ! :)
     
  17. RCB

    RCB Notebook Deity

    Messages:
    996
    Likes Received:
    73
    Trophy Points:
    41
    I don't think I helped much.

    But it is good to hear you've been able to recover. :)
     
  18. TANWare

    TANWare Just This Side of Senile

    Messages:
    6,098
    Likes Received:
    121
    Trophy Points:
    231
    Go to bios and be sure the SSD is the primary boot device. I had similar issues with my Samsung where the SSD was not the primary boot device................
     
  19. churro89

    churro89 Newbie

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Same thing happened to me today. Thank you for your post. Now I know how it happened.
     

Share This Page