Ed Andersen

Software Developer and Architect in Japan

Windows 10 on Mac Bootcamp – fixes (Updated)

Ed Andersen Avatar

by

in , ,

Update 19th August 2015: Apple have released Bootcamp 6, which fixes all of the below when using Windows 10. If you already have Bootcamp 5 installed, run the Apple Software Update utility to get the latest set of drivers. The only oddity I’ve had with Bootcamp 6 is that is resets your DPI scaling to 200%.

Windows 10 on Bootcamp (Macbook Pro 13 inch, Bootcamp 5.1) has some teething issues as of build 10162.

SSD Powering down problems

You might notice Windows hanging for extended periods of time or blue screening – the SSD is literally powering down underneath Windows. The Bootcamp drivers don’t properly support Windows 10’s powering down of the SSD to save battery. Your Event log might have references to “”Event 129, storahci – Reset to device, \Device\RaidPort0, was issued.” To fix this, you need to disable AHCI Link Power Management and prevent storahci from going into low power mode.

1. Copy and paste the following into a new text file called “enable-hipm.reg” and save it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\0012ee47-9041-4b5d-9b77-535fba8b1442\0b2d69d7-a2a1-449c-9680-f91c70521c60]
"Attributes"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\0012ee47-9041-4b5d-9b77-535fba8b1442\dab60367-53fe-4fbc-825e-521d069d2456]
"Attributes"=dword:00000002

2. Double click the file to import the records into the registry.

3. Right click on the Battery icon in the Taskbar, select “Power Options”. Click “Change plan settings” under the “Balanced” option. Then click “Change advanced power settings”.

4. Expand the “Hard disk” node and you’ll see “ACHI Link Power Management – HIPM/DIPM”. You need to set the value to “Active” as seen below:

image

5. Create a another regedit file “storahci.reg” with the following content:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device]
"SingleIO"=hex(7):2a,00,00,00
"NoLPM"=hex(7):2a,00,00,00

6. Double click the file to import the registry entries. This stops storahci from going into Low Power Mode.

A restart should then solve the SSD freezing problems.

System Restore, Restore Points and Windows 7 style backups do not work

Again, if you are getting messages such as “check the event log for VSS errors” when trying to backup or create a restore point, and then finding event log messages like:

Volume Shadow Copy Service error: Unexpected error CreateFileW(\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy48\,0x80000000,0x00000003,…).  hr = 0x80070001, Incorrect function.
.

Operation:
Processing PreFinalCommitSnapshots

Context:
Execution Context: System Provider

Then you’ll find that this is another Bootcamp driver problem, specifically the applehfs.sys driver that allows read only access to HFS volumes. You need to disable this from starting up:

1. Download Sysinternals Autoruns and run it as an Administrator.

2. Search for “apple” and you’ll see “applehfs.sys”.

image

3. Disable it by unchecking AppleHFS and restart. You should now be able to create System Restore images and Windows 7 style backups.

Hopefully Apple updates Bootcamp for Windows 10. If I find any other issues I’ll update this post.

Ed Andersen Avatar

About me

Hi! 👋 I’m a Software Developer, Architect and Consultant living in Japan, building web and cloud apps. Here I write about software development and other things I find interesting. Read more about my background.

Ed’s “Newsletter”

Get the latest blog posts via email ✌️


Comments

28 responses to “Windows 10 on Mac Bootcamp – fixes (Updated)”

  1. Ed,
    fantastic, I’ve been very worried about not being able to do restore points or full backups.

    As an aside the “SingleIO” and “NoLPM” changes you note above I made early Feb 2015 based on Sebastian Foss’ blog, (http://www.nxhut.com/2015/01/storahci-id-129-reset-to-device.html?view=sidebar) the changes do halve the SSD sequential read performance. In AS SSD Bench I was getting 900+MB/s before the change, now 549MB/s. But it’s better than disk reset/system pauses several times a day and boot times were reduced significantly

    As you say let’s hope Apple do fix with improved bootcamp soon, maybe El Capitan …

    Thanks
    Gavan

  2. just wanted to say, thanks! I too was worried about not being able to have a full backup for a long time. this fixed the issue.

  3. Thank you!

  4. Boot camp 6 released today includes a SingleIO driver.

  5. Many thanks, my MacPro running Bootcamp Windows 10 would not backup to my Windows Server 2012 R2 Essentials Server. I was getting VSS errors, Turned off Apple HFS and voila it works!!!
    Thank you very much.

  6. Hi ! Did you try to install Bootcamp 6 ? It’s out since 2 days. It includes a SingleIO driver.

  7. Hari Prasad Singh Avatar
    Hari Prasad Singh

    Thanks you very much edandersen
    You solve my problem within minut. I was looking towards micro shoft community, but after unchecking AppleHFS and restarted it works. You solve my problem.
    Now you are my fevorit bloger and i taken you as bookmark.
    Thanks again.

  8. Thanks a million for the Apple HFS tip. I’d wasted a whole day trying different backup apps and fighting VSS before I found this post! Still no sign of Bootcamp 6 from the apple software updater on my 2012 MBP Retina, which is odd…

  9. […] specifically the applehfs.sys driver that allows read only access to HFS volumes. Following this tutorial, you will have the right solution. Download Sysinternals, search applehfs and unchecking. Now the […]

  10. Following bootcamp 6 install I reverted the SingleIO and NoLPM settings and rebooted, no evidence of the Disk resets and now performance is back to where it was earlier sequential read and write 50% improved and not surprisingly multi thread random read read 20x and multi thread write 5x faster

  11. Dirk (Germany) Avatar
    Dirk (Germany)

    Thanks a lot bro! I wasted 2 days in german forums to solve this problem… Damn HFS-Sh*t! You are my hero. If it is no problem for you i will translate that into german and post it in my favourite forum. Of course i will give u the reps and make a link to your original post her!

    Cheers

  12. Thanks a lot Ed also from my side for the HFS fix! In my case i couldn’t use Encryption tools TrueCrypt respectively VeraCrypt, always throwing an error. I’m running Windows 10 since 2 days with Bootcamp 6. Disabling the AppleHFS helped to make work using these encryption tools again. What’s not great is not being able to read the Mac OS partition anymore. So if ever this gets resolved, all is perfect again…

  13. Thank you so much for solving my backup problem! I have a late 2009 27″ iMac backing up to a NAS and got VSS errors too, but unticking HFS fixed it. Fantastic 🙂

  14. First, thank you so much Ed, the hfs problem was driving me crazy, i will put some more solutions so that anybody can make use of them.

    WINDOWS 10 IMAC, MACBOOK PRO 2011 INSTALLATION ISSUES
    DRIVE NOT SHOWING:
    Right click the start button and open an admin command prompt and paste this in, then reboot;
    reg.exe add “HKLM\System\CurrentControlSet\Services\atapi\Controller0” /f /v EnumDevice1 /t REG_DWORD /d 0x00000001
    BOOT – Tapping
    The most common method of reaching Safe Mode is by tapping F8. This brings up the Safe Mode selections during startup, allowing us to choose the operating mode. However, in order to speed the boot process, Windows 10 has F8 Safe Mode disabled. You can sacrifice a couple of seconds during startup by enabling the F8 menu using the Command Prompt.
    Begin by opening an elevated Command Prompt. Right-click the Start menu and select Command Prompt (Admin). Select Yes in the User Account Control dialogue, if it appears. Command Prompt should now be open.
    Type (or copy/paste) the following command:
    bcdedit /set {default} bootmenupolicy legacy

    And press Enter. Job done!

  15. Manuel Fernandez Avatar
    Manuel Fernandez

    unticking the HFS solved my problem as well. Error Description: Windows 10 on MacBook Air (no Mac OS on it, just single Windows Installation fresh from the CD and then Bootcamp 5 für the drivers. Trying Windows Backup did not work, always Error Code 0x81000019

    Then loading the sysinternals autoron as explained in your post and searching for “apple” then unticking (disabling) AppleHFS, saving and rebooting, fixed my Problem. Windows Backup is working again.

  16. Thanks Ed, your page saved me, I had this problem on my Macbook and PC (both SSD). I had many freeze and hangs, but it seems ok on my laptop. I’ll check it on my PC tonight

  17. I could resolve vss shadow coppy error(0x81000019, 0x80042306) to your support.
    Thank you so much!

  18. thank you so much for the Windows 10 backup fix with Sysinternals Autoruns. It worked just find un-checking the Apple HFS.

  19. I guess a Windows 10 “NTFS” error while attempting to back up a system image to Time Capsule can’t be fixed anyways?

  20. Thank you!!!!

  21. I have been trying to figure this out for ages. THANK YOU.

  22. Thank you so much! My MacBook Pro late 2013 rebooting at Windows 10 Login-Screen because my new Samsung EVO SSD doesn’t supporting the Windows Advanced Power Profile. I switched the Power Profile to “Highest” and my Problem is gone!

  23. Thanks, still works for imac 12,1 running win10 pro. Restore points fixed!

  24. Even in 2021 we got to give you the respect that you deserve :-). Apple HFS tip worked well for a Belgium based iMac mid 2011 running OS High Sierra with Windows 10 version 20H2.

  25. Also running a mid 2011 iMac, running Sierra with Windows 10 Build 1904 and Ubuntu 20.04 and COULD NOT FOR THE LIFE OF ME figure out what was wrong. I thought my partition was corrupted based on what some of the microsoft support forums told me. Thank you!!

Leave a Reply

Your email address will not be published. Required fields are marked *