For anyone else who has this problem.
Solution was to change file permission on the file bitcoin.conf in the bitcoin data folder. For me: e:\bitcoin\bitcoin.conf
Sort of glad to see more people are coming forward with this issue. It's a really bizarre problem occurring for over a year. No idea on which program is changing permissions on the file.