Press the Windows logo key + R to open the Run dialog box ... Some users said that they were able to resolve the Invalid MS-DOS Function issue by editing the system policy in Registry Editor.