Yes, userenv. I spelt it wrong. Anyway it's moot now. The problem is completely solved and it's all thanks to both of you guys and your advice. Thank you. I easily found the dll files that were missing. I then had to search for rewire.dll. That was the one causing the main problem in the end even though it was present all along. I guess it became corrupt. I found a random link to it in a forum somewhere. Success! Thanks again. xoxoxoxox