Mark, It is working perfectly now. I have put the PythonService.exe AND the PyWinTypes21.dll in the same python directory, and changed the pathes in the registry accordingly. Thank you for your help. -Zihong