Hello, I am sweeping some of our networks to find devices. When I find a device I try to connect to the registry using _winreg and then query a specific key that I am interested in. This works great for machines that are on our domain, but there are left over machines that are stand alone and the credentials fail. I understand you cannot pass in credentials with _winreg but is there a way to simulate a logon of another user (the machine's local admin) to query the registry?
Thanks for your help. Kevin -- http://mail.python.org/mailman/listinfo/python-list