"Incorrect function" error when running Windows on a Mac
When using RAM Disk with Windows running on a Mac computer via Boot Camp, the "incorrect function" error is likely to be caused by a driver that Apple installs on Windows. This driver doesn't seem to work well with standalone volumes, i.e. disks without partitions. The same problem affects other applications that create similar standalone volumes, such as TrueCrypt and VeraCrypt.
This issue can be fixed by either:
- Removing or disabling AppleHFS.sys. This will also make it impossible to access HFS+ volumes from Windows; or
- Enabling Hard Disk Emulation in the RAM Disk. A complete hard drive will be emulated in this case. The downside of this option is that it is a little slower.
Related articles:Shadow Copy (VSS) based software fails on a RAM Disk
RAM disk is slow or shows "process cannot access the file" error
← Go back