“Invalid MS-DOS function” error message when deleting a file
Emily Wong
I'm trying to delete files on Windows 8 and I get the following error message:
Which translates to "Invalid MS-DOS function". If I try to SHIFT+DEL a file to skip the Recycle Bin it looks like the file is deleted but after a few seconds it reappears.
Does anyone know how to solve this?
22 Answers
Try to see if you can delete them without errors by booting into safe mode.
One way to boot into safe mode is to
- Press Windows + R
- Type
msconfig - Go to the
boottab and selectsafe boot - Select any other options and press OK and restart the computer
If you can delete them there and restart back into normal mode, the problem may be fixed. If not, additional troubleshooting may be required.
Some possible causes of the issue may be that the hardware is failing or the OS cannot map properly to the hardware. If you have other drives, or perhaps a USB drive, check for the same error.
Unfortunately, I can't find any resources that may identify the root cause.
I wasn't able to remove the file using Windows, but I was able to connect the removable drive to a Linux VM and delete it from there.
I didn't try from a Cygwin or other window/bash prompt, but that might have worked too.
1