Here is the fix. Replace the if block begining on line 2449 in MQ2Commands.cpp if (!strlen(szArg4) && strlen(szArg3)) { //Deleting a key within a [section]. if (!WritePrivateProfileString(szArg2,szArg3,NULL,szArg1)) { sprintf(szOutput,"IniOutput ERROR -- during WritePrivateProfileString...