> remotekey = _winreg.OpenKey(rhostreg, key)
Try adding the sam=_winreg.KEY_SET_VALUE parameter.
Help on built-in function OpenKey in module _winreg:
OpenKey(...)
key = OpenKey(key, sub_key, res = 0, sam = KEY_READ) - Opens the
specified key.
key is an already open key, or an
> remotekey = _winreg.OpenKey(rhostreg, key)
Try adding the sam=_winreg.KEY_SET_VALUE parameter.
Help on built-in function OpenKey in module _winreg:
OpenKey(...)
key = OpenKey(key, sub_key, res = 0, sam = KEY_READ) - Opens the
specified key.
key is an already open key, or an
Reply with quote Edit/Delete this post Delete this post
Post _winreg.SaveKey question
Does anyone know where I might find some sample code of using the
saveKey function? I am getting an error 5 access denied and I think
that it is coming from the way I am specifying the filename as in