Re: [python-win32] Access is denied

2019-04-27 Thread Victor Uriarte
Have you tried using PY2.7.5 with pywin32 223? On Wed, Apr 17, 2019 at 6:01 PM Tom Kacvinsky wrote: > I filed a github issue (#1331), but reading through the other issues, it > became apparent I should use this mailing list instead. Here is a synopsis > of the problem (cut and paste from the gi

[python-win32] Access is denied

2019-04-17 Thread Tom Kacvinsky
I filed a github issue (#1331), but reading through the other issues, it became apparent I should use this mailing list instead. Here is a synopsis of the problem (cut and paste from the github issue). - Expected behavior and actual behavior. using Python 2.7.5 for 32-bit Windows, using pywi

Re: [python-win32] Access is denied while retriving 64 bit registry from 32bit

2008-07-29 Thread Tim Roberts
siddhartha veedaluru wrote: i modified the script and once again i ran it import os, sys from _winreg import * KEY_WOW64_64KEY = 256 regHandle = OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Value Systems\ValApp\Instance001",0,KEY_WOW64_64KEY|KEY_READ|KEY_WRITE) print regHandle val = QueryValue(regHan

Re: [python-win32] Access is denied while retriving 64 bit registry from 32bit

2008-07-29 Thread siddhartha veedaluru
Thanks Tim. Sorry,i was wrong in using the operators i modified the script and once again i ran it import os, sys from _winreg import * KEY_WOW64_64KEY = 256 regHandle = OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Value Systems\ValApp\Instance001",0,KEY_WOW64_64KEY|KEY_READ|KEY_WRITE) print regHandle val

Re: [python-win32] Access is denied while retriving 64 bit registry from 32bit python script

2008-07-29 Thread Tim Golden
siddhartha veedaluru wrote: Hi, Hello, I have installed 32bit python on x64 bit machine. I also installed pywin32-211.win32-py2.5.exe As part of a script i required to access the registry and i used the following code snippet. import os, sys from _winreg import * KEY_WOW64_64KEY = 256 re

[python-win32] Access is denied while retriving 64 bit registry from 32bit python script

2008-07-29 Thread siddhartha veedaluru
Hi, Hello, I have installed 32bit python on x64 bit machine. I also installed pywin32-211.win32-py2.5.exe As part of a script i required to access the registry and i used the following code snippet. import os, sys from _winreg import * KEY_WOW64_64KEY = 256 regHandle = OpenKey(HKEY_LOCAL_MACHINE