C:\Windows\win.ini was a previous problem point, it had driver related settings, OS preferences and some non-MS applications added their own keys to the lot as well.
Of course the win.ini (and system.ini) became a mess. They should be in a folder, with each application having their own file with their own settings. And reading the file and then CLOSING IT so others could to stuff to it.