> Is it something I am doing wrong? I think it is two things that you do wrong: 1. You are posting this question to python-dev. Please don't, use python-list@python.org instead. 2. You should build all extension modules for debug as well. In debug mode, importing winreg will look for winreg_d.pyd. HTH, Martin