So i figured out what was happening. I had previously installed knime in C drive but i had uninstalled an reinstalled it in D but for some reason it was still picking up preferences in my C drive. After i copied the preferences folder to C drive from d it worked. Now i have to find out how to move the directory of knime to know my drive is D for preferences