read NT registry with python

Richard Brodie R.Brodie at rl.ac.uk
Wed Mar 15 13:26:33 CET 2000


<tiddlerdeja at my-deja.com> wrote in message news:8ansn6$ece$1 at nnrp1.deja.com...

> [HKEY_LOCAL_MACHINE\SOFTWARE\WOF]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\ABC\PlusSoftware]
> "AdminPassword"="Admin"

import win32api
from win32con import *

k=win32api.RegOpenKeyEx(HKEY_LOCAL_MACHINE,
'SOFTWARE\\ABC\\PlusSoftware',0,KEY_QUERY_VALUE)

win32api.RegQueryValueEx('AdminPassword')





More information about the Python-list mailing list