How to Fix Invalid MS-DOS Function Error in Windows 10 / 11

When working on a computer , there are quite a few crucial functions that you need to perform on a daily basis and that includes, copying, renaming, moving or deleting files. However, while performing these functions, you may encounter an error, “Invalid MS-DOS Function“.

This is a file system error that is known to impact only the file functionality. However, it can be frustrating as it restricts your usage. Even when you are trying to move a file from a drive with NTFS format to a drive with FAT32 format, you can encounter the error. However, the good thing is, this can be fixed. Let’s see how.

 

Solution 1: Using Registry Editor

 



Step 1: Navigate to the start button on your PC and type Registry Editor in the search box. Left-click on the result to open the Registry Editor window.

 

Start Search Registry Editor Result

 

Step 2: Before you proceed to make any changes to the registry, it’s recommended to create a backup of your Registry Editor’s data. Once you have backed up the registry data successfully, in the Registry Editor window, copy and paste the below path in the Registry Editor’s address bar and hit Enter.

Now, on the right side of the window, right-click on an empty area and select New in the right-click menu. From the sub-menu, select DWORD (32-bit) Value.

 

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System

 

Registry Editor Address Bar Paste The Path Right Side Right Click New Dword (32 Bit) Value

 

Step 5: Now, to rename the newly created DWORD (32-bit) Value, copy the below text, right-click on the DWORD Value, select Rename from the context menu, and paste it in the field.

 

CopyFileBufferedSynchronousIo

 

Double Click On The New Dword (32 Bit) Value Rename Paste Copyfilebufferedsynchronousio

 

Step 6: Double-click on the new DWORD (32-bit) Value, and in the Edit Value dialogue box, go to the Value Data field. Now, change the value here from 0 to 1 and press OK to save the changes and exit.

 

Edit Dword (32 Bit) Value Value Data 1 Ok

 



That’s all. Now, simply restart your PC for the changes to be effective and you will no more encounter the error while copying, moving, deleting, or renaming files.

Solution 2 – Using CHDSK command

1 – Search cmd in Windows search command

2 -Right click on command prompt and click run as administrator

3 – Now, run the command given below

chkdsk X: /R