I have a weird problem that has had me pulling my hair out for a few weeks. At work I'm forced to support a program written in the old XP days that doesn't fit in well with the newer security paradigms of Windows. It is basically a front end for a SQL database that stores the db path in the registry. Windows 7 handles the registry a little differently, but I've had success most of the time recreating the key in the WOW6432Node folder. But every once in a while this has not been enough. In each case any Administrator can log in just fine. But all Users cannot reach the database. Experience tells me that this is most likely a failure to locate the registry key with the path.
I think I've ruled out a registry key permission problem as that seems to throw a very specific error. I'm convinced that the program is just using the wrong location since it is behaving just like a Windows XP installation missing the needed key. This problem has been popping up at about one in ten installations. But the one in tens have added up and I'm out of time for an answer that I can't seem to find.
Any help would be most appreciated!